From patchwork Fri Oct 18 06:04:20 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Ungerer X-Patchwork-Id: 3064981 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 0E2CB9F243 for ; Fri, 18 Oct 2013 06:08:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E243920421 for ; Fri, 18 Oct 2013 06:08:20 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D9EAD20415 for ; Fri, 18 Oct 2013 06:08:19 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VX3D3-0000wv-9G; Fri, 18 Oct 2013 06:06:53 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VX3Cf-0001X0-KS; Fri, 18 Oct 2013 06:06:29 +0000 Received: from nschwmtas03p.mx.bigpond.com ([61.9.189.143]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VX3By-0001Re-Uj for linux-arm-kernel@lists.infradead.org; Fri, 18 Oct 2013 06:05:52 +0000 Received: from nschwcmgw05p ([61.9.190.165]) by nschwmtas03p.mx.bigpond.com with ESMTP id <20131018060523.IYZE2008.nschwmtas03p.mx.bigpond.com@nschwcmgw05p>; Fri, 18 Oct 2013 06:05:23 +0000 Received: from goober.accelecon.com ([149.135.16.88]) by nschwcmgw05p with BigPond Outbound id eW4m1m00R1u0AeD01W5P5e; Fri, 18 Oct 2013 06:05:23 +0000 X-Authority-Analysis: v=2.0 cv=etRdP/VX c=1 sm=1 a=tpHzvNDyw14p4wpd1xf5Bw==:17 a=PRK9BkYy9h8A:10 a=aFTPlZ8mLXYA:10 a=abLpnCq0AAAA:8 a=kCvHlRQMeqsA:10 a=93Ubh6UdAAAA:8 a=mDV3o1hIAAAA:8 a=R--I4w6-jEJm-f8n4xcA:9 a=mzwkXjRx4sEA:10 a=zcvfvmk1Zg4A:10 a=8itaGvuMXGQA:10 a=p12Gc7T3K18tFL2T:21 a=PkfReqsFBYI60zeD:21 a=tpHzvNDyw14p4wpd1xf5Bw==:117 From: gerg@uclinux.org To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 8/8] ARM: dts: imx: add device tree support for Freescale imx50evk board Date: Fri, 18 Oct 2013 16:04:20 +1000 Message-Id: <1382076260-6422-9-git-send-email-gerg@uclinux.org> X-Mailer: git-send-email 1.8.1.4 In-Reply-To: <1382076260-6422-1-git-send-email-gerg@uclinux.org> References: <1382076260-6422-1-git-send-email-gerg@uclinux.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131018_020547_270221_FE97DD42 X-CRM114-Status: UNSURE ( 9.82 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) Cc: Greg Ungerer 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 X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Greg Ungerer Add device tree support for the Freescale IMX50EVk board based around the IMX50 SoC. Supports UART, SPI flash, FEC ethernet and USB on this board. Signed-off-by: Greg Ungerer --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx50-evk.dts | 89 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+) create mode 100644 arch/arm/boot/dts/imx50-evk.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index e95af3f..4dd442c 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -122,6 +122,7 @@ dtb-$(CONFIG_ARCH_MXC) += \ imx27-phytec-phycard-s-som.dtb \ imx27-phytec-phycard-s-rdk.dtb \ imx31-bug.dtb \ + imx50-evk.dtb \ imx51-apf51.dtb \ imx51-apf51dev.dtb \ imx51-babbage.dtb \ diff --git a/arch/arm/boot/dts/imx50-evk.dts b/arch/arm/boot/dts/imx50-evk.dts new file mode 100644 index 0000000..74b260d --- /dev/null +++ b/arch/arm/boot/dts/imx50-evk.dts @@ -0,0 +1,89 @@ +/* + * Copyright 2013 Greg Ungerer + * Copyright 2011 Freescale Semiconductor, Inc. + * Copyright 2011 Linaro Ltd. + * + * The code contained herein is licensed under the GNU General Public + * License. You may obtain a copy of the GNU General Public License + * Version 2 or later at the following locations: + * + * http://www.opensource.org/licenses/gpl-license.html + * http://www.gnu.org/copyleft/gpl.html + */ + +/dts-v1/; +#include "imx50.dtsi" + +/ { + model = "Freescale i.MX50 Evaluation Kit"; + compatible = "fsl,imx50-evk", "fsl,imx50"; + + memory { + reg = <0x70000000 0x80000000>; + }; +}; + +&iomuxc { + pinctrl-names = "default"; +}; + +&uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart1_1>; + status = "okay"; +}; + +&cspi { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_cspi_1>; + fsl,spi-num-chipselects = <2>; + cs-gpios = <&gpio4 11 0>, <&gpio4 13 0>; + status = "okay"; + + flash: m25p32@1 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "m25p32", "m25p80"; + spi-max-frequency = <25000000>; + reg = <1>; + + partition@0 { + label = "bootloader"; + reg = <0x0 0x100000>; + read-only; + }; + + partition@100000 { + label = "kernel"; + reg = <0x100000 0x300000>; + }; + }; +}; + +&usbotg { + pinctrl-names = "default"; + status = "okay"; +}; + +&usbh1 { + pinctrl-names = "default"; + status = "okay"; +}; + +&usbh2 { + pinctrl-names = "default"; + status = "okay"; +}; + +&usbh3 { + pinctrl-names = "default"; + status = "okay"; +}; + +&fec { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_fec_1>; + phy-mode = "rmii"; + phy-reset-gpios = <&gpio4 12 0>; + status = "okay"; +};