From patchwork Tue Aug 2 23:08:29 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Abraham X-Patchwork-Id: 1030252 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p72NAHww015970 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 2 Aug 2011 23:10:37 GMT Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QoO69-0003ib-3H; Tue, 02 Aug 2011 23:10:05 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1QoO68-0002YT-21; Tue, 02 Aug 2011 23:10:04 +0000 Received: from mail-ww0-f41.google.com ([74.125.82.41]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QoO51-0002GJ-Fx for linux-arm-kernel@lists.infradead.org; Tue, 02 Aug 2011 23:08:56 +0000 Received: by wwi14 with SMTP id 14so2843788wwi.0 for ; Tue, 02 Aug 2011 16:08:53 -0700 (PDT) Received: by 10.216.229.165 with SMTP id h37mr32648weq.69.1312326533049; Tue, 02 Aug 2011 16:08:53 -0700 (PDT) Received: from localhost.localdomain ([109.234.204.184]) by mx.google.com with ESMTPS id b13sm192251wbh.24.2011.08.02.16.08.51 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 02 Aug 2011 16:08:52 -0700 (PDT) From: Thomas Abraham To: devicetree-discuss@lists.ozlabs.org Subject: [PATCH 4/4] arm: dts: Add device tree source file for Exynos4 platforms Date: Wed, 3 Aug 2011 00:08:29 +0100 Message-Id: <1312326509-2723-5-git-send-email-thomas.abraham@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1312326509-2723-1-git-send-email-thomas.abraham@linaro.org> References: <1312326509-2723-1-git-send-email-thomas.abraham@linaro.org> X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110802_190855_766961_0FDD1041 X-CRM114-Status: GOOD ( 15.42 ) X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [74.125.82.41 listed in list.dnswl.org] Cc: kgene.kim@samsung.com, patches@linaro.org, grant.likely@secretlab.ca, linux-samsung-soc@vger.kernel.org, linux-serial@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Tue, 02 Aug 2011 23:10:37 +0000 (UTC) Create a new device tree source file for Samsung's Exynos4 architecture and let Exynos4 based boards include it. We start with a uart device nodes in the device tree source file and incrementally add nodes as we improve the device tree coverage for Exynos4 architecture and related boards. Signed-off-by: Thomas Abraham --- arch/arm/boot/dts/exynos4-smdkv310.dts | 31 ++++++++++++++ arch/arm/boot/dts/exynos4.dtsi | 72 ++++++++++++++++++++++++++++++++ 2 files changed, 103 insertions(+), 0 deletions(-) create mode 100644 arch/arm/boot/dts/exynos4-smdkv310.dts create mode 100644 arch/arm/boot/dts/exynos4.dtsi diff --git a/arch/arm/boot/dts/exynos4-smdkv310.dts b/arch/arm/boot/dts/exynos4-smdkv310.dts new file mode 100644 index 0000000..34a00b5 --- /dev/null +++ b/arch/arm/boot/dts/exynos4-smdkv310.dts @@ -0,0 +1,31 @@ +/* + * 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 + * + * Device tree source file for Samsung's SMDKV310 board which is based on + * Samsung's Exynos4 architecture. + * + * 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/ "exynos4.dtsi" + +/ { + model = "Samsung Exynos4 smdkv310 eval board"; + compatible = "samsung,smdkv310", "samsung,exynos4"; + + memory { + reg = <0x40000000 0x80000000>; + }; + + chosen { + bootargs ="root=/dev/ram0 rw ramdisk=8192 console=ttySAC1,115200 init=/linuxrc"; + }; +}; diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi new file mode 100644 index 0000000..babb24d --- /dev/null +++ b/arch/arm/boot/dts/exynos4.dtsi @@ -0,0 +1,72 @@ +/* + * Samsung's Exynos4 Architecture 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 file acts as the core device tree for Samsung's Exynos4 based board + * device tree files. The Exynos4 architecture related device tree nodes + * will be listed in this file and Exynos4 based board device tree files + * should include this file. + * + * 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. +*/ + +/include/ "skeleton.dtsi" + +/ { + compatible = "samsung,exynos4"; + + soc { + #address-cells = <1>; + #size-cells = <1>; + compatible = "simple-bus"; + interrupt-parent = <&intc>; + ranges; + + intc:interrupt-controller@10490000 { + compatible = "samsung,exynos4-gic","arm,cortex-a9-gic"; + #interrupt-cells = <1>; + interrupt-controller; + reg = <0x10490000 0x1000>, <0x10480000 0x100>; + }; + + watchdog@10060000 { + compatible = "samsung,s3c2410-wdt"; + reg = <0x10060000 0x100>; + interrupts = <107>; + }; + + serial@13800000 { + compatible = "samsung,s5pv310-uart"; + reg = <0x13800000 0x100>; + interrupts = <16 18 17>; + samsung,uart-fifosize = <256>; + }; + + serial@13810000 { + compatible = "samsung,s5pv310-uart"; + reg = <0x13810000 0x100>; + interrupts = <20 22 21>; + samsung,uart-fifosize = <64>; + }; + + serial@13820000 { + compatible = "samsung,s5pv310-uart"; + reg = <0x13820000 0x100>; + interrupts = <24 26 25>; + samsung,uart-fifosize = <16>; + }; + + serial@13830000 { + compatible = "samsung,s5pv310-uart"; + reg = <0x13830000 0x100>; + interrupts = <28 30 29>; + samsung,uart-fifosize = <16>; + }; + }; +};