Skip to contentSkip to conversation

arm64: dts: mt8192: add nor_flash device node

PATCH Applied Bayi Cheng 2 participants 2 messages Dec 23, 2020 – Jan 31, 2021

Subsystems (2)
lore
Share & tools
lore

Bayi Cheng

author
#0 lore raw

PATCH v2 1/1 arm64: dts: mt8192: add nor_flash device node

From: bayi cheng <[email protected]>

add nor_flash device node

Change-Id I79f0228529bd8a33e5f354b7a861a4ec8d92e9ba

---
Change in v2:
1: add dependent patch of arm soc
2: change compatible name

Depends on:
https://patchwork.kernel.org/patch/11713559/
[v4,1/3] arm64: dts: Add Mediatek SoC MT8192 and evaluation board dts and Makefile

---
 arch/arm64/boot/dts/mediatek/mt8192.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)
arch/arm64/boot/dts/mediatek/mt8192.dtsi +13 -0
index e12e024..751c877 100644
@@ -379,6 +379,19 @@
 			status = "disabled";
 		};
 
+		nor_flash: spi@11234000 {
+			compatible = "mediatek,mt8192-nor";
+			reg = <0 0x11234000 0 0xe0>;
+			interrupts = <GIC_SPI 431 IRQ_TYPE_LEVEL_HIGH 0>;
+			clocks = <&clk26m>,
+				 <&clk26m>,
+				 <&clk26m>;
+			clock-names = "spi", "sf", "axi";
+			#address-cells = <1>;
+			#size-cells = <0>;
+			status = "disable";
+		};
+
 		i2c3: i2c3@11cb0000 {
 			compatible = "mediatek,mt8192-i2c";
 			reg = <0 0x11cb0000 0 0x1000>,
Signature · 1 line
1.9.1
maintainer Applied
#1 lore raw
Quoted 5 lines · Bayi Cheng

From: bayi cheng <[email protected]>

add nor_flash device node

Change-Id: I79f0228529bd8a33e5f354b7a861a4ec8d92e9ba

Applied to v5.11-next/dts64
I dropped the Change-Id. In the future please make sure to not include this tag in upstream submissions.

Thanks!

Quoted 28 lines

---
Change in v2:
1: add dependent patch of arm soc
2: change compatible name

Depends on:
https://patchwork.kernel.org/patch/11713559/
[v4,1/3] arm64: dts: Add Mediatek SoC MT8192 and evaluation board dts and Makefile

---
 arch/arm64/boot/dts/mediatek/mt8192.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)
arch/arm64/boot/dts/mediatek/mt8192.dtsi +6 -0
index e12e024..751c877 100644
@@ -379,6 +379,19 @@
 			status = "disabled";
 		};
 
+		nor_flash: spi@11234000 {
+			compatible = "mediatek,mt8192-nor";
+			reg = <0 0x11234000 0 0xe0>;
+			interrupts = <GIC_SPI 431 IRQ_TYPE_LEVEL_HIGH 0>;
+			clocks = <&clk26m>,
+				 <&clk26m>,

arch/arm64/boot/dts/mediatek/mt8192.dtsi line 397

Quoted 10 lines
arch/arm64/boot/dts/mediatek/mt8192.dtsi +7 -0
+				 <&clk26m>;
+			clock-names = "spi", "sf", "axi";
+			#address-cells = <1>;
+			#size-cells = <0>;
+			status = "disable";
+		};
+
 		i2c3: i2c3@11cb0000 {
 			compatible = "mediatek,mt8192-i2c";
 			reg = <0 0x11cb0000 0 0x1000>,

_______________________________________________
Linux-mediatek mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-mediatek