Skip to contentSkip to conversation

ARM: sh-mobile: Add sh_flctl to sh7372-mackerel device tree

RFC New Bastian Hecht 1 participant 1 message Apr 26, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

RFC 1/4 ARM: sh-mobile: Add sh_flctl to sh7372-mackerel device tree

Add the flash controller flctl to the device tree of the mackerel board.

---
 arch/arm/boot/dts/sh7372-mackerel.dts |   36 +++++++++++++++++++++++++++++++++
 1 files changed, 36 insertions(+), 0 deletions(-)
arch/arm/boot/dts/sh7372-mackerel.dts +37 -0
index 1acbf28..eef01cf 100644
@@ -28,6 +28,43 @@
 		smsc,irq-push-pull;
 	};
 
+	flctl@e6a30000 {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "renesas,shmobile-flctl";
+		interrupt-parent = <&intca>;
+		reg = <0xe6a30000 0x100>;
+		interrupts = <0x0d80>;
+
+		ext-bus-con;
+		use-holden;
+		clk-scheme = <0x20200>;
+
+		nand@0 {
+			#address-cells = <1>;
+			#size-cells = <1>;
+
+			nand-ecc-mode = "hw";
+			nand-bus-width = <16>;
+			flctl-snand;
+
+			system@0 {
+				label = "system";
+				reg = <0x0 0x8000000>;
+			};
+
+			userdata@8000000 {
+				label = "userdata";
+				reg = <0x8000000 0x10000000>;
+			};
+
+			cache@18000000 {
+				label = "cache";
+				reg = <0x18000000 0x8000000>;
+			};
+		};
+	};
+
 	i2c0: i2c@fff20000 {
 		#address-cells = <1>;
 		#size-cells = <0>;
Signature · 1 line
1.7.5.4