From patchwork Mon Jun 20 11:02:31 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: thomas.abraham@linaro.org X-Patchwork-Id: 2078 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id E878723F4F for ; Mon, 20 Jun 2011 10:53:17 +0000 (UTC) Received: from mail-vx0-f180.google.com (mail-vx0-f180.google.com [209.85.220.180]) by fiordland.canonical.com (Postfix) with ESMTP id 99C7FA18477 for ; Mon, 20 Jun 2011 10:53:17 +0000 (UTC) Received: by vxd7 with SMTP id 7so2238948vxd.11 for ; Mon, 20 Jun 2011 03:53:17 -0700 (PDT) Received: by 10.52.98.97 with SMTP id eh1mr7132085vdb.7.1308567195935; Mon, 20 Jun 2011 03:53:15 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.52.183.130 with SMTP id em2cs24138vdc; Mon, 20 Jun 2011 03:53:15 -0700 (PDT) Received: by 10.231.60.73 with SMTP id o9mr5104008ibh.33.1308567195348; Mon, 20 Jun 2011 03:53:15 -0700 (PDT) Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) by mx.google.com with ESMTP id x3si13769933ibh.7.2011.06.20.03.53.14; Mon, 20 Jun 2011 03:53:15 -0700 (PDT) Received-SPF: neutral (google.com: 203.254.224.33 is neither permitted nor denied by best guess record for domain of thomas.abraham@linaro.org) client-ip=203.254.224.33; Authentication-Results: mx.google.com; spf=neutral (google.com: 203.254.224.33 is neither permitted nor denied by best guess record for domain of thomas.abraham@linaro.org) smtp.mail=thomas.abraham@linaro.org Received: from epcpsbgm2.samsung.com (mailout3.samsung.com [203.254.224.33]) by mailout3.samsung.com (Oracle Communications Messaging Exchange Server 7u4-19.01 64bit (built Sep 7 2010)) with ESMTP id <0LN300JC04WB33H0@mailout3.samsung.com> for patches@linaro.org; Mon, 20 Jun 2011 19:53:14 +0900 (KST) X-AuditID: cbfee61b-b7c62ae0000056ed-fd-4dff2699e621 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (MMPCPMTA) with SMTP id 83.DC.22253.9962FFD4; Mon, 20 Jun 2011 19:53:14 +0900 (KST) Received: from localhost.localdomain ([107.108.73.37]) by mmp2.samsung.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTPA id <0LN300JSM4W4PB@mmp2.samsung.com> for patches@linaro.org; Mon, 20 Jun 2011 19:53:14 +0900 (KST) Date: Mon, 20 Jun 2011 16:32:31 +0530 From: Thomas Abraham Subject: [PATCH 5/6] arm: dts: Add nodes in smdkv310 device tree source file In-reply-to: <1308567752-13451-1-git-send-email-thomas.abraham@linaro.org> To: devicetree-discuss@lists.ozlabs.org Cc: linaro-dev@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, kgene.kim@samsung.com, ben-linux@fluff.org, patches@linaro.org Message-id: <1308567752-13451-6-git-send-email-thomas.abraham@linaro.org> X-Mailer: git-send-email 1.6.6.rc2 Content-transfer-encoding: 7BIT References: <1308567752-13451-1-git-send-email-thomas.abraham@linaro.org> X-Brightmail-Tracker: AAAAAA== Include device tree nodes for watchdog timer, sdhci instance 0 and 1, and uart instances 0 to 3. Signed-off-by: Thomas Abraham --- 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@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>; + }; + }; }; };