From patchwork Fri Jan 25 09:44:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 14283 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 9F10F23EAD for ; Fri, 25 Jan 2013 09:53:12 +0000 (UTC) Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) by fiordland.canonical.com (Postfix) with ESMTP id 41EE4A1800A for ; Fri, 25 Jan 2013 09:53:12 +0000 (UTC) Received: by mail-vc0-f170.google.com with SMTP id p16so122078vcq.29 for ; Fri, 25 Jan 2013 01:53:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=tTu6tMxHe2MNlpcrFxs4oyWjaCIRlMnFUtrH39hJGws=; b=avU85AnfFXG5NDyrxUhxV3/Ek6rLoIphWaLtiVUIO9CJci8bDG9ySVqmz330heZxia n+6Wqk7orngtAq+ZKXPBteoAJLf64/l/Gvl5ubBJPki0VKLboG9TGMOszuHJWEoOAZtp 7ALkDGrWZ/xWLAaZHAKNUr4kPIg6zVIApjqR7mPdIuwigFTyQ6VR4Ihy9ZuLwhe0oAyQ Ero4l1hsN4W7G8SdSpX7Igi67F2f6JBxrh/FmdE7X9hbymzsh9V68wn4r3cKsoaE/HMf 5Y+nIy/Mbf/5kxv9M8dvmgzPYiN8pO5xVF05ClXYo0QyVq3b6Aniq7vxnSC10+MaZg5V d60A== X-Received: by 10.221.0.79 with SMTP id nl15mr5309776vcb.41.1359107591732; Fri, 25 Jan 2013 01:53:11 -0800 (PST) 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.58.145.101 with SMTP id st5csp107857veb; Fri, 25 Jan 2013 01:53:10 -0800 (PST) X-Received: by 10.66.82.198 with SMTP id k6mr12085225pay.53.1359107590432; Fri, 25 Jan 2013 01:53:10 -0800 (PST) Received: from mail-da0-f54.google.com (mail-da0-f54.google.com [209.85.210.54]) by mx.google.com with ESMTPS id f4si629613pav.294.2013.01.25.01.53.09 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 25 Jan 2013 01:53:10 -0800 (PST) Received-SPF: neutral (google.com: 209.85.210.54 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) client-ip=209.85.210.54; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.210.54 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) smtp.mail=tushar.behera@linaro.org Received: by mail-da0-f54.google.com with SMTP id n2so97937dad.13 for ; Fri, 25 Jan 2013 01:53:09 -0800 (PST) X-Received: by 10.66.81.166 with SMTP id b6mr12218901pay.7.1359107589798; Fri, 25 Jan 2013 01:53:09 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id qf7sm388079pbb.49.2013.01.25.01.53.05 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 25 Jan 2013 01:53:08 -0800 (PST) From: Tushar Behera To: linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: kgene.kim@samsung.com, linux@arm.linux.org.uk, patches@linaro.org, Girish K S Subject: [PATCH V3] ARM: DTS: exynos5250-arndale: Add initial board support file Date: Fri, 25 Jan 2013 15:14:14 +0530 Message-Id: <1359107054-7177-1-git-send-email-tushar.behera@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQlTdKXBCyV+yVUieJOTEmkSYzyB1zQvEcuTvig4/PPtX/O1Bb6cH/WWxrpN/K0OdeAooiWw From: Girish K S Arndale is a low cost board based on the Samsung Exynos5250 SoC. This patch adds initial device tree support for this board. Reviewed-by: Alim Akhtar Signed-off-by: Girish K S Signed-off-by: Tushar Behera --- Changes for V3: * Removed unused GPIO lines for dwmmc2. Changes for V2: * Addressed review comments from Sachin. * Fixed GPIO numbers for dwmmc0 and dwmmc2. arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/exynos5250-arndale.dts | 122 ++++++++++++++++++++++++++++++ 2 files changed, 123 insertions(+), 0 deletions(-) create mode 100644 arch/arm/boot/dts/exynos5250-arndale.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 5ebb44f..e21f27c 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -43,6 +43,7 @@ dtb-$(CONFIG_ARCH_EXYNOS) += exynos4210-origen.dtb \ exynos4210-smdkv310.dtb \ exynos4210-trats.dtb \ exynos4412-smdk4412.dtb \ + exynos5250-arndale.dtb \ exynos5250-smdk5250.dtb \ exynos5250-snow.dtb \ exynos5440-ssdk5440.dtb diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts new file mode 100644 index 0000000..63572f9 --- /dev/null +++ b/arch/arm/boot/dts/exynos5250-arndale.dts @@ -0,0 +1,122 @@ +/* + * Samsung's Exynos5250 based Arndale board device tree source + * + * Copyright (c) 2013 Samsung Electronics Co., Ltd. + * http://www.samsung.com + * + * 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/ "exynos5250.dtsi" + +/ { + model = "Insignal Arndale evaluation board based on EXYNOS5250"; + compatible = "insignal,arndale", "samsung,exynos5250"; + + memory { + reg = <0x40000000 0x80000000>; + }; + + chosen { + bootargs = "console=ttySAC2,115200"; + }; + + i2c@12C60000 { + status = "disabled"; + }; + + i2c@12C70000 { + status = "disabled"; + }; + + i2c@12C80000 { + status = "disabled"; + }; + + i2c@12C90000 { + status = "disabled"; + }; + + i2c@12CA0000 { + status = "disabled"; + }; + + i2c@12CB0000 { + status = "disabled"; + }; + + i2c@12CC0000 { + status = "disabled"; + }; + + i2c@12CD0000 { + status = "disabled"; + }; + + i2c@121D0000 { + status = "disabled"; + }; + + dwmmc_0: dwmmc0@12200000 { + num-slots = <1>; + supports-highspeed; + broken-cd; + fifo-depth = <0x80>; + card-detect-delay = <200>; + samsung,dw-mshc-ciu-div = <3>; + samsung,dw-mshc-sdr-timing = <2 3>; + samsung,dw-mshc-ddr-timing = <1 2>; + + slot@0 { + reg = <0>; + bus-width = <8>; + gpios = <&gpc0 0 2 0 3>, <&gpc0 1 2 0 3>, + <&gpc0 3 2 3 3>, <&gpc0 4 2 3 3>, + <&gpc0 5 2 3 3>, <&gpc0 6 2 3 3>, + <&gpc1 0 2 3 3>, <&gpc1 1 2 3 3>, + <&gpc1 2 2 3 3>, <&gpc1 3 2 3 3>; + }; + }; + + dwmmc_1: dwmmc1@12210000 { + status = "disabled"; + }; + + dwmmc_2: dwmmc2@12220000 { + num-slots = <1>; + supports-highspeed; + fifo-depth = <0x80>; + card-detect-delay = <200>; + samsung,dw-mshc-ciu-div = <3>; + samsung,dw-mshc-sdr-timing = <2 3>; + samsung,dw-mshc-ddr-timing = <1 2>; + + slot@0 { + reg = <0>; + bus-width = <4>; + samsung,cd-pinmux-gpio = <&gpc3 2 2 3 3>; + gpios = <&gpc3 0 2 0 3>, <&gpc3 1 2 0 3>, + <&gpc3 3 2 3 3>, <&gpc3 4 2 3 3>, + <&gpc3 5 2 3 3>, <&gpc3 6 2 3 3>; + }; + }; + + dwmmc_3: dwmmc3@12230000 { + status = "disabled"; + }; + + spi_0: spi@12d20000 { + status = "disabled"; + }; + + spi_1: spi@12d30000 { + status = "disabled"; + }; + + spi_2: spi@12d40000 { + status = "disabled"; + }; +};