From: thomas.abraham@linaro.org (Thomas Abraham)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 5/6] arm: dts: Add nodes in smdkv310 device tree source file
Date: Mon, 20 Jun 2011 16:32:31 +0530 [thread overview]
Message-ID: <1308567752-13451-6-git-send-email-thomas.abraham@linaro.org> (raw)
In-Reply-To: <1308567752-13451-1-git-send-email-thomas.abraham@linaro.org>
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(-)
diff --git a/arch/arm/boot/dts/exynos4-smdkv310.dts b/arch/arm/boot/dts/exynos4-smdkv310.dts
index dd6c80a..721563f 100644
--- a/arch/arm/boot/dts/exynos4-smdkv310.dts
+++ b/arch/arm/boot/dts/exynos4-smdkv310.dts
@@ -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 at 0x10501000 {
+ compatible = "samsung,exynos4-gic","arm,cortex-a9-gic";
+ #interrupt-cells = <1>;
+ interrupt-controller;
+ reg = <0x10501000 0x1000>, <0x10500100 0x100>;
+ irq-start = <61>;
+ };
+
+ watchdog at 0x10060000 {
+ compatible = "samsung,s3c2410-wdt";
+ reg = <0x10060000 0x400>;
+ interrupts = <552>;
+ };
+
+ sdhci at 0x12530000 {
+ compatible = "samsung,s3c-sdhci";
+ reg = <0x12530000 0x1000>;
+ interrupts = <362>;
+ };
+
+ sdhci at 0x12510000 {
+ compatible = "samsung,s3c-sdhci";
+ reg = <0x12510000 0x1000>;
+ interrupts = <360>;
+ };
+
+ serial at 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 at 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 at 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 at 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>;
+ };
+ };
};
};
--
1.6.6.rc2
next prev parent reply other threads:[~2011-06-20 11:02 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-20 11:02 [PATCH 0/6] Add basic device tree support for Samsung's Exynos4 platform Thomas Abraham
2011-06-20 11:02 ` [PATCH 1/6] serial: samsung: Keep a copy of platform data in driver's private data Thomas Abraham
2011-06-20 15:54 ` Grant Likely
2011-06-21 11:07 ` Thomas Abraham
2011-06-20 11:02 ` [PATCH 2/6] serial: samsung: Add device tree support for s5pv210 uart driver Thomas Abraham
2011-06-20 16:43 ` Grant Likely
2011-06-21 11:26 ` Thomas Abraham
2011-06-21 11:27 ` Mark Brown
2011-06-22 16:22 ` Thomas Abraham
2011-06-23 20:08 ` Grant Likely
2011-06-24 12:27 ` Thomas Abraham
2011-06-26 23:27 ` Grant Likely
2011-06-20 11:02 ` [PATCH 3/6] watchdog: s3c2410: Add support for device tree based probe Thomas Abraham
2011-06-20 16:50 ` Grant Likely
2011-06-22 9:05 ` Wim Van Sebroeck
2011-06-20 11:02 ` [PATCH 4/6] mmc: sdhci-s3c: " Thomas Abraham
2011-06-20 16:51 ` Grant Likely
2011-06-20 11:02 ` Thomas Abraham [this message]
2011-06-20 11:02 ` [PATCH 6/6] arm: exynos4: Add a new Exynos4 device tree enabled machine Thomas Abraham
2011-06-20 16:55 ` Grant Likely
2011-06-21 11:30 ` Thomas Abraham
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1308567752-13451-6-git-send-email-thomas.abraham@linaro.org \
--to=thomas.abraham@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).