[Letux-kernel] [PATCH 13/20] MIPS: DTS: ingenic/jz4730: Add EMC node

Lubomir Rintel lkundrak at v3.sk
Tue Nov 17 21:58:06 CET 2020


Add a node for the EMC node, with a subnode for the NAND function.

Signed-off-by: Lubomir Rintel <lkundrak at v3.sk>
---
 arch/mips/boot/dts/ingenic/jz4730.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/mips/boot/dts/ingenic/jz4730.dtsi b/arch/mips/boot/dts/ingenic/jz4730.dtsi
index 834709fc43e6a..1b15bc9680dfa 100644
--- a/arch/mips/boot/dts/ingenic/jz4730.dtsi
+++ b/arch/mips/boot/dts/ingenic/jz4730.dtsi
@@ -290,6 +290,19 @@ dma: dma at 10020000 {
 		dma-channels = <6>;
 	};
 
+	emc: memory-controller at 13010000 {
+		#address-cells = <0>;
+		#size-cells = <0>;
+		compatible = "ingenic,jz4730-emc", "simple-mfd";
+		reg = <0x13010000 0xf000>;
+
+		nand: nand-controller {
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "ingenic,jz4730-nand";
+		};
+	};
+
 	uhc: uhc at 13030000 {
 		compatible = "ingenic,jz4740-ohci", "generic-ohci";
 		reg = <0x13030000 0x1000>;
-- 
2.28.0



More information about the Letux-kernel mailing list