@@ -1,11 +1,142 @@
+/*
+ * Samsung's Exynos4 based smdkv310 board device tree source.
+ *
+ * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
+ * http://www.samsung.com
+ * Copyright (c) 2010-2011 Linaro Ltd.
+ * www.linaro.org
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
/dts-v1/;
/include/ "skeleton.dtsi"
/ {
model = "Samsung Exynos4 SMDKV310 eval board";
- compatible = "samsung,smdkv310", "samsung,s5pv310";
+ compatible = "samsung,smdkv310", "samsung,s5pv310", "samsung,exynos4210";
memory {
- reg = <0x40000000 0x08000000>;
+ reg = <0x40000000 0x80000000>;
+ };
+
+ chosen {
+ bootargs = "root=/dev/mmcblk0p1 rootfstype=ext3 rootwait console=ttySAC1,115200";
+ };
+
+ soc {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ interrupt-parent = <&intc>;
+ compatible = "simple-bus";
+ ranges;
+
+ intc:interrupt-controller@0x10501000 {
+ compatible = "samsung,exynos4-gic","arm,cortex-a9-gic";
+ #interrupt-cells = <1>;
+ interrupt-controller;
+ reg = <0x10501000 0x1000>, <0x10500100 0x100>;
+ irq-start = <61>;
+ };
+
+ watchdog@0x10060000 {
+ compatible = "samsung,s3c2410-wdt";
+ reg = <0x10060000 0x400>;
+ interrupts = <552>;
+ };
+
+ sdhci@0x12530000 {
+ compatible = "samsung,s3c-sdhci";
+ reg = <0x12530000 0x1000>;
+ interrupts = <362>;
+ };
+
+ sdhci@0x12510000 {
+ compatible = "samsung,s3c-sdhci";
+ reg = <0x12510000 0x1000>;
+ interrupts = <360>;
+ };
+
+ serial@0x13800000 {
+ compatible = "samsung,s5pv210-uart";
+ reg = <0x13800000 0x100>;
+ interrupts = <16 18 17>;
+ fifosize = <256>;
+ hwport = <0>;
+ flags = <0>;
+ uart_flags = <0>;
+ has_fracval = <1>;
+ ucon_default = <0x3c5>;
+ ulcon_default = <0x3>;
+ ufcon_default = <0x111>;
+ uart_clksrc0 {
+ clk_name = "uclk1";
+ divisor = <1>;
+ min_baud = <0>;
+ max_baud = <0>;
+ };
+ };
+
+ serial@0x13810000 {
+ compatible = "samsung,s5pv210-uart";
+ reg = <0x13810000 0x100>;
+ interrupts = <20 22 21>;
+ fifosize = <64>;
+ hwport = <1>;
+ flags = <0>;
+ uart_flags = <0>;
+ has_fracval = <1>;
+ ucon_default = <0x3c5>;
+ ulcon_default = <0x3>;
+ ufcon_default = <0x111>;
+ uart_clksrc0 {
+ clk_name = "uclk1";
+ divisor = <1>;
+ min_baud = <0>;
+ max_baud = <0>;
+ };
+ };
+
+ serial@0x13820000 {
+ compatible = "samsung,s5pv210-uart";
+ reg = <0x13820000 0x100>;
+ interrupts = <24 26 25>;
+ fifosize = <16>;
+ hwport = <1>;
+ flags = <0>;
+ uart_flags = <0>;
+ has_fracval = <1>;
+ ucon_default = <0x3c5>;
+ ulcon_default = <0x3>;
+ ufcon_default = <0x111>;
+ uart_clksrc0 {
+ clk_name = "uclk1";
+ divisor = <1>;
+ min_baud = <0>;
+ max_baud = <0>;
+ };
+ };
+
+ serial@0x13830000 {
+ compatible = "samsung,s5pv210-uart";
+ reg = <0x13830000 0x100>;
+ interrupts = <28 30 29>;
+ fifosize = <16>;
+ hwport = <1>;
+ flags = <0>;
+ uart_flags = <0>;
+ has_fracval = <1>;
+ ucon_default = <0x3c5>;
+ ulcon_default = <0x3>;
+ ufcon_default = <0x111>;
+ uart_clksrc0 {
+ clk_name = "uclk1";
+ divisor = <1>;
+ min_baud = <0>;
+ max_baud = <0>;
+ };
+ };
};
};
Include device tree nodes for watchdog timer, sdhci instance 0 and 1, and uart instances 0 to 3. Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org> --- arch/arm/boot/dts/exynos4-smdkv310.dts | 135 +++++++++++++++++++++++++++++++- 1 files changed, 133 insertions(+), 2 deletions(-)