linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC DT style 1/4] ARM: sh-mobile: Add sh_flctl to sh7372-mackerel device tree
@ 2012-04-26 14:00 Bastian Hecht
  0 siblings, 0 replies; only message in thread
From: Bastian Hecht @ 2012-04-26 14:00 UTC (permalink / raw)
  To: linux-sh

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(-)

diff --git a/arch/arm/boot/dts/sh7372-mackerel.dts b/arch/arm/boot/dts/sh7372-mackerel.dts
index 1acbf28..eef01cf 100644
--- a/arch/arm/boot/dts/sh7372-mackerel.dts
+++ b/arch/arm/boot/dts/sh7372-mackerel.dts
@@ -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>;
-- 
1.7.5.4


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-04-26 14:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-26 14:00 [RFC DT style 1/4] ARM: sh-mobile: Add sh_flctl to sh7372-mackerel device tree Bastian Hecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).