[PATCH v2 1/2] arm: dts: Add nodes in smdkv310 device tree source file
Thomas Abraham
thomas.abraham at linaro.org
Sun Jul 17 14:58:19 EST 2011
Include device tree nodes for watchdog timer and sdhci instance 0 and 1.
Signed-off-by: Thomas Abraham <thomas.abraham at linaro.org>
---
arch/arm/boot/dts/exynos4-smdkv310.dts | 61 ++++++++++++++++++++++++++++++-
1 files changed, 59 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/exynos4-smdkv310.dts b/arch/arm/boot/dts/exynos4-smdkv310.dts
index dd6c80a..155f836 100644
--- a/arch/arm/boot/dts/exynos4-smdkv310.dts
+++ b/arch/arm/boot/dts/exynos4-smdkv310.dts
@@ -1,11 +1,68 @@
+/*
+ * 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,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 at 10501000 {
+ compatible = "samsung,exynos4-gic","arm,cortex-a9-gic";
+ #interrupt-cells = <1>;
+ interrupt-controller;
+ reg = <0x10501000 0x1000>, <0x10500100 0x100>;
+ irq-start = <61>;
+ };
+
+ watchdog at 10060000 {
+ compatible = "samsung,s3c2410-wdt";
+ reg = <0x10060000 0x400>;
+ interrupts = <552>;
+ };
+
+ sdhci at 12530000 {
+ compatible = "samsung,s3c6410-sdhci";
+ reg = <0x12530000 0x1000>;
+ interrupts = <362>;
+ samsung,sdhci-bus-width = <4>;
+ samsung,sdhci-cd-type = <0>;
+ samsung,sdhci-clkdiv-external;
+ };
+
+ sdhci at 12510000 {
+ compatible = "samsung,s3c6410-sdhci";
+ reg = <0x12510000 0x1000>;
+ interrupts = <360>;
+ samsung,sdhci-bus-width = <4>;
+ samsung,sdhci-cd-type = <0>;
+ samsung,sdhci-clkdiv-external;
+ };
};
};
--
1.7.1
More information about the devicetree-discuss
mailing list