From patchwork Wed Aug 8 05:36:38 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dongjin Kim X-Patchwork-Id: 1292511 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 29A69DF223 for ; Wed, 8 Aug 2012 05:39:36 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Syywz-0004Vo-FN; Wed, 08 Aug 2012 05:36:57 +0000 Received: from mail-pb0-f49.google.com ([209.85.160.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Syyww-0004VS-S7 for linux-arm-kernel@lists.infradead.org; Wed, 08 Aug 2012 05:36:55 +0000 Received: by pbbrq13 with SMTP id rq13so949434pbb.36 for ; Tue, 07 Aug 2012 22:36:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=zZoXWBagdGmNKl0NcluHEffym4PjBwNHO+I9o5JFf48=; b=qvrxLtwlUZIM2X/bFdJY2ubF+mxu3PrC8gzO4CW7ERClWw0vA0TbhwmWlwzjhFSc1y 6CkvhK4gPW3zN0pIqaq1YFAdQspseIqnDSLKfntUtieGX7EM11cs1ECNK+RJZQtEnUIj WzM3nnwQp758tAkqo8IAXg+81v7SFasYIICRZpUu7hDI4Fe1GF7xHApTl62ii+WX6+N+ k9iJDdHIHtdu2Oo4aJp9Aub1iqUV/TSU5V3Ig1I3n7RrCf9FUQbsBlMMmLmyKfpC2gE8 JlnyN65WdqIOF2tJM+ZwEpjXslP4DJi4I0YLF3gRrBevhjK8p0YdotSkqRPHZYm5Yi+r e3IQ== Received: by 10.68.217.202 with SMTP id pa10mr33781740pbc.15.1344404213663; Tue, 07 Aug 2012 22:36:53 -0700 (PDT) Received: from localhost.localdomain ([210.113.108.23]) by mx.google.com with ESMTPS id oa5sm12660393pbb.14.2012.08.07.22.36.51 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 07 Aug 2012 22:36:52 -0700 (PDT) From: tobetter@gmail.com To: Subject: [PATCH v2] arm/dts: exynos4: Add DTS file for ODROID-X Date: Wed, 8 Aug 2012 14:36:38 +0900 Message-Id: <1344404201-8641-1-git-send-email-dongjin.kim@agreeyamobility.net> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <[PATCH 3/4] arm/dts: exynos4: Add DTS file for ODROID-X> References: <[PATCH 3/4] arm/dts: exynos4: Add DTS file for ODROID-X> X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.160.49 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (tobetter[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Russell King , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Dongjin Kim X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 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 From: Dongjin Kim This patch create a DTS file for ODROID-X, it desribes PMIC max77686 and LED gpios base. Changes in V2: -. Banner changed Signed-off-by: Dongjin Kim --- arch/arm/boot/dts/exynos4412-odroidx.dts | 148 ++++++++++++++++++++++++++++++ 1 file changed, 148 insertions(+) create mode 100644 arch/arm/boot/dts/exynos4412-odroidx.dts diff --git a/arch/arm/boot/dts/exynos4412-odroidx.dts b/arch/arm/boot/dts/exynos4412-odroidx.dts new file mode 100644 index 0000000..1b8a7f8 --- /dev/null +++ b/arch/arm/boot/dts/exynos4412-odroidx.dts @@ -0,0 +1,148 @@ +/* + * Samsung's Exynos4210 based ODROID-X board device tree source + * + * Copyright (c) 2012 AgreeYa Mobility Co., Ltd. + * http://www.agreeyamobility.net + * Copyright (c) 2012 Hardkernel Co., Ltd. + * http://www.hardkernel.com + * + * Device tree source file for Hardkernel's ODROID-X board which is based on + * Samsung's Exynos4412 SoC. + * + * 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/ "exynos4412.dtsi" +/include/ "max77686.dtsi" + +/ { + model = "Hardkernel ODROID-X evaluation board based on Exynos4412"; + compatible = "hardkernel,odroidx", "samsung,exynos4412"; + + memory { + reg = <0x40000000 0x40000000>; + }; + + chosen { + bootargs = "root=/dev/mmcblk0p1 init=/sbin/init console=ttySAC1,115200 console=tty1 rootdalay=2"; + }; + + /* sdhci0 */ + sdhci@12510000 { + status = "disabled"; + }; + + /* sdhci1 */ + sdhci@12520000 { + status = "disabled"; + }; + + /* sdhci2 */ + sdhci@12530000 { + samsung,sdhci-bus-width = <4>; + linux,mmc_cap_4_bit_data; + samsung,sdhci-cd-internal; + gpio-cd = <&gpk2 2 2 3 3>; + gpios = <&gpk2 0 2 0 3>, + <&gpk2 1 2 0 3>, + <&gpk2 3 2 3 3>, + <&gpk2 4 2 3 3>, + <&gpk2 5 2 3 3>, + <&gpk2 6 2 3 3>; + }; + + /* sdhci3 */ + sdhci@12540000 { + samsung,sdhci-bus-width = <4>; + linux,mmc_cap_4_bit_data; + samsung,sdhci-cd-internal; + gpio-cd = <&gpk3 2 2 3 3>; + gpios = <&gpk3 0 2 0 3>, + <&gpk3 1 2 0 3>, + <&gpk3 3 2 3 3>, + <&gpk3 4 2 3 3>, + <&gpk3 5 2 3 3>, + <&gpk3 6 2 3 3>; + }; + + leds { + compatible = "gpio-leds"; + + led1 { + label = "led1"; + gpios = <&gpc1 0 1 0x10000 0>; + linux,default-trigger = "oneshot"; + default-state = "off"; + }; + + led2 { + label = "led2"; + gpios = <&gpc1 2 1 0x10000 0>; + linux,default-trigger = "heartbeat"; + }; + }; + + i2c@13860000 { /* i2c0 */ + #address-cells = <1>; + #size-cells = <0>; + gpios = <&gpd1 0 2 0 0>, + <&gpd1 1 2 0 0>; + pmic@9 { + compatible = "maxim,max77686"; + reg = <9>; + }; + }; + + i2c@13870000 { /* i2c1 */ + status = "disabled"; + gpios = <&gpd1 2 2 0 0>, + <&gpd1 3 2 0 0>; + }; + + i2c@13880000 { /* i2c2 */ + status = "disabled"; + gpios = <&gpa0 6 2 0 0>, + <&gpa0 7 2 0 0>; + }; + + i2c@13890000 { /* i2c3 */ + status = "disabled"; + gpios = <&gpa1 2 2 0 0>, + <&gpa1 3 2 0 0>; + }; + + i2c@138A0000 { /* i2c4 */ + status = "disabled"; + }; + + i2c@138B0000 { /* i2c5 */ + status = "disabled"; + }; + + i2c@138C0000 { /* i2c6 */ + status = "disabled"; + }; + + i2c@138D0000 { /* i2c7 */ + status = "disabled"; + }; + + keypad@100A0000 { + status = "disabled"; + }; + + spi_0: spi@13920000 { + status = "disabled"; + }; + + spi_1: spi@13930000 { + status = "disabled"; + }; + + spi_2: spi@13940000 { + status = "disabled"; + }; +};