[PATCH 1/7] Samsung: SMDKV210 Added Basic DTS file The DTS file which descibes the SMDKV210 board is introduced. Support for VIC, Tiner and Uart are enabled at present.

Shaju Abraham shaju.abraham at linaro.org
Mon Sep 20 20:19:10 EST 2010


Signed-off-by: Shaju Abraham <shaju.abraham at linaro.org>
---
 arch/arm/boot/dts/v210.dts |  147 ++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 147 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/boot/dts/v210.dts

diff --git a/arch/arm/boot/dts/v210.dts b/arch/arm/boot/dts/v210.dts
new file mode 100644
index 0000000..7cd219f
--- /dev/null
+++ b/arch/arm/boot/dts/v210.dts
@@ -0,0 +1,147 @@
+/dts-v1/;
+
+/ {
+	model = "smdkv210";
+	compatible = "samsung,smdkv210";
+	#address-cells = <1>;
+	#size-cells = <1>;
+	interrupt-parent = <&VIC0>;
+	
+	aliases{
+		vic0=&VIC0;
+	};
+
+
+	memory {
+		name = "memory";
+		device_type = "memory";
+		reg = <0x20000000 0x40000000>;
+	};
+
+	chosen {
+		bootargs = "root=/dev/nfs rw nfsroot=192.168.0.10:/opt/ubuntu-taiwan/ ip=192.168.0.1:192.168.0.10:192.168.0.10:255:255:255:0:eth0
+				console=ttySAC2,115200 init=/linuxrc";
+	};
+
+	soc {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		compatible = "simple-bus";
+		ranges = <0x00000000 0x00000000 0xFFFFFFFF>;
+		
+		watchdog at 0xE2700000{
+			compatible = "samsung,s3c2410-wdt";
+			reg = <0xE2700000 0x2000>;
+			interrupts = <27 >;
+			interrupt-parent = <&VIC0>;
+		};
+
+
+		VIC0:vic0 at f2000000 {
+			#interrupt-cells = <1>;
+			interrupt-controller;
+			reg = <0xf2000000 0x1000>;
+			virtual-reg = <0xf4000000>;
+			compatible = "arm,vic";
+			irq-src = <0xffffffff>;
+		};
+		VIC1:vic1 at f2100000 {
+			#interrupt-cells = <1>;
+			interrupt-controller;
+			reg = <0xf2100000 0x1000>;
+			virtual-reg = <0xf4010000>;
+			interrupt-parent = <&VIC0>;
+			irq-src = <0xffffffff>;
+			compatible = "arm,vic";
+		};
+		VIC2:vic2 at f2200000{
+			#interrupt-cells = <1>;
+			interrupt-controller;
+			reg = <0xf2200000 0x1000>;
+			virtual-reg = <0xf4020000>;
+			interrupt-parent = <&VIC1>;
+			irq-src = <0xffffffff>;
+			compatible = "arm,vic";
+		};
+		VIC3:vic3 at f2300000 {
+			#interrupt-cells = <1>;
+			interrupt-controller;
+			reg = <0xf2300000 0x1000>;
+			virtual-reg = <0xf4030000>;
+			interrupt-parent = <&VIC2>;
+			irq-src = <0xffffffff>;
+			compatible = "arm,vic";
+		};
+		uart at 0xe2900000 {
+			reg = <0xe2900000 0x1000>;
+			virtual-reg = <0xf5000000>;
+			interrupts = <10>;
+			interrupt-parent = <&VIC1>;
+			compatible = "samsung,s3c-uart","samsung,s5pv210-uart_sh";
+		};
+		uart at 0xe2900400 {
+			reg = <0xe2900400 0x1000>;
+			virtual-reg = <0xf5000400>;
+			interrupts = <11>;
+			interrupt-parent = <&VIC1>;
+			compatible = "samsung,s3c-uart","samsung,s5pv210-uart_sh";
+		};
+		uart at 0xe2900800 {
+			reg = <0xe2900800 0x1000>;
+			virtual-reg = <0xf5000800>;
+			interrupts = <12>;
+			interrupt-parent = <&VIC1>;
+			compatible = "samsung,s3c-uart","samsung,s5pv210-uart_sh";
+		};
+		uart at 0xe2900c00 {
+			reg = <0xe2900c00 0x1000>;
+			virtual-reg = <0xf5000c00>;
+			interrupts = <13>;
+			interrupt-parent = <&VIC1>;
+			compatible = "samsung,s3c-uart","samsung,s5pv210-uart_sh";
+		};
+
+		timer0 at e2500000 {
+			reg = <0xe2500000 0x1000>;
+			virtual-reg = <0xf0300000>;
+			interrupts = <21 11>;
+			compatible = "samsung,s3c-timer","samsung,s5p-timer";
+
+		};
+		timer1 at e2500000 {
+			reg = <0xe2500000 0x1000>;
+			virtual-reg = <0xf0300000>;
+			interrupts = <22 12>;
+			compatible = "samsung,s3c-timer","samsung,s5p-timer";
+
+		};
+		timer2 at e2500000 {
+			reg = <0xe2500000 0x1000>;
+			virtual-reg = <0xf0300000>;
+			interrupts = <23 13>;
+			compatible = "samsung,s3c-timer","samsung,s5p-timer";
+
+		};
+		timer3 at e2500000 {
+			reg = <0xe2500000 0x1000>;
+			virtual-reg = <0xf0300000>;
+			interrupts = <24 14>;
+			compatible = "samsung,s3c-timer","samsung,s5p-timer";
+
+		};
+
+		timer4 at e2600000 {
+			reg = <0xe2600000 0x1000>;
+			virtual-reg = <0xf5200000>;
+			interrupts = <25 15>;
+			compatible = "samsung,s3c-timer","samsung,s5p-timer";
+
+		};
+		SROM at e2600000 {
+			reg = <0xe8000000 0x1000>;
+			virtual-reg = <0xf5100000>;
+
+		};
+
+	};
+};
-- 
1.7.2



More information about the devicetree-discuss mailing list