From patchwork Wed Apr 3 04:47:42 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 2384521 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 EBF69DFB79 for ; Wed, 3 Apr 2013 04:51:00 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1UNFc8-000693-46; Wed, 03 Apr 2013 04:48:00 +0000 Received: from mail-yh0-x22d.google.com ([2607:f8b0:4002:c01::22d]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1UNFc4-00068j-35 for linux-arm-kernel@lists.infradead.org; Wed, 03 Apr 2013 04:47:57 +0000 Received: by mail-yh0-f45.google.com with SMTP id i21so182794yha.4 for ; Tue, 02 Apr 2013 21:47:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer; bh=Tj8/XSyaY3F+7JW69SQBXbT4gcxK+MTOY6cj0QbeAtk=; b=tnXHckctBVkHVVbiV91ZfCpWJppSp2OJ0eASgEYPyFuUREsTk7/0mnjTnsj+fLJx5H fVLIZx+8iHnuuKlWKLQuqdK/+Wy4L16XXfO9u7Eg3MBZtPTs+n3WuL69PpeVEPYYd4do m0RsQ4O4ki8nb9Bw/VgEYZaS+1XXciA1UmxW/ZuTQVCU2Nvs4s+9OT0QyMN8FyijUVs4 zyBILTgKeoHOFNdJV982pqAFEZowLMK9B9JmXFWS1SK5QH9zY5kFP5b0+tunzMZO7k4X zhs1xjZ5XfcGI9RkkcDeFAqOEUFRvVKZgf1b8WDdBy0igybE4ghu6LwLTBiKvwO0LyjX 3L+Q== X-Received: by 10.236.134.38 with SMTP id r26mr124150yhi.9.1364964474358; Tue, 02 Apr 2013 21:47:54 -0700 (PDT) Received: from localhost.localdomain ([187.64.220.204]) by mx.google.com with ESMTPS id a26sm7929184yhe.9.2013.04.02.21.47.52 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 02 Apr 2013 21:47:53 -0700 (PDT) From: Fabio Estevam To: shawn.guo@linaro.org Subject: [PATCH] ARM: dts: Add initial support for Wandboard Dual-Lite Date: Wed, 3 Apr 2013 01:47:42 -0300 Message-Id: <1364964462-19143-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.7.9.5 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130403_004756_265280_3ABCC20C X-CRM114-Status: GOOD ( 12.88 ) X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (festevam[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: Fabio Estevam , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Fabio Estevam Wandboard is a development board that has two variants: one version based on mx6 dual lite and another one based on mx6 solo. For more details about Wandboard, please refer to: http://www.wandboard.org/ Signed-off-by: Fabio Estevam --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx6dl-wandboard.dtsp | 40 +++++++++++++++++++++++++++++++ arch/arm/boot/dts/imx6dl.dtsip | 11 +++++++++ 3 files changed, 52 insertions(+) create mode 100644 arch/arm/boot/dts/imx6dl-wandboard.dtsp diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 5345ac1..a566619 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -100,6 +100,7 @@ dtb-$(CONFIG_ARCH_MXC) += \ imx53-smd.dtb \ imx6dl-sabreauto.dtb \ imx6dl-sabresd.dtb \ + imx6dl-wandboard.dtb \ imx6q-arm2.dtb \ imx6q-sabreauto.dtb \ imx6q-sabrelite.dtb \ diff --git a/arch/arm/boot/dts/imx6dl-wandboard.dtsp b/arch/arm/boot/dts/imx6dl-wandboard.dtsp new file mode 100644 index 0000000..e95d2b0 --- /dev/null +++ b/arch/arm/boot/dts/imx6dl-wandboard.dtsp @@ -0,0 +1,40 @@ +/* + * Copyright 2013 Freescale Semiconductor, Inc. + * + * Author: Fabio Estevam + * + * 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 "imx6dl.dtsip" + +/ { + model = "Wandboard i.MX6 Dual Lite Board"; + compatible = "wand,imx6dl-wandboard", "fsl,imx6q"; + + memory { + reg = <0x10000000 0x40000000>; + }; +}; + +&fec { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_enet_1>; + phy-mode = "rgmii"; + status = "okay"; +}; + +&uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart1_1>; + status = "okay"; +}; + +&usdhc3 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usdhc3_4pin>; + status = "okay"; +}; diff --git a/arch/arm/boot/dts/imx6dl.dtsip b/arch/arm/boot/dts/imx6dl.dtsip index 951ba53..2e6cff0 100644 --- a/arch/arm/boot/dts/imx6dl.dtsip +++ b/arch/arm/boot/dts/imx6dl.dtsip @@ -136,6 +136,17 @@ MX6DL_PAD_SD3_DAT7__SD3_DATA7 0x17059 >; }; + + pinctrl_usdhc3_4pin: usdhc3grp-4pin { + fsl,pins = < + MX6DL_PAD_SD3_CMD__SD3_CMD 0x17059 + MX6DL_PAD_SD3_CLK__SD3_CLK 0x10059 + MX6DL_PAD_SD3_DAT0__SD3_DATA0 0x17059 + MX6DL_PAD_SD3_DAT1__SD3_DATA1 0x17059 + MX6DL_PAD_SD3_DAT2__SD3_DATA2 0x17059 + MX6DL_PAD_SD3_DAT3__SD3_DATA3 0x17059 + >; + }; };