From patchwork Wed Nov 16 16:26:40 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Harvey X-Patchwork-Id: 9432111 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7543960471 for ; Wed, 16 Nov 2016 16:27:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6467228F6D for ; Wed, 16 Nov 2016 16:27:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 55B0B28EA0; Wed, 16 Nov 2016 16:27:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id EC3BB28EA0 for ; Wed, 16 Nov 2016 16:27:25 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1c7322-0005Vq-DY; Wed, 16 Nov 2016 16:25:54 +0000 Received: from mail-pf0-x22f.google.com ([2607:f8b0:400e:c00::22f]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c731x-0005OK-D4 for linux-arm-kernel@lists.infradead.org; Wed, 16 Nov 2016 16:25:50 +0000 Received: by mail-pf0-x22f.google.com with SMTP id c4so31650506pfb.1 for ; Wed, 16 Nov 2016 08:25:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gateworks-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=Y6KTsovswc7mTdBEdPNQxBeF6EyA9kc4rs3lkUWm27U=; b=0pUeuLT0MXF69+C1OppDqwHmpMsljwV7wvwkZrjZVgtT16b5U5EFd1hgdIBObw0V18 HsGw+bJdl6Htffk2IcdCObNtqEClPGWI2bR9lfMhNPLTZoxFXQxvxwmt0/0qUaJ8Um7u LjRFqDCJI9VjO1oTj7JOqE445cxjnqmXo6kZCSWqAjUIe1CIkyLyO2txapuq5M7Hew61 zAAyRCT+fQtPxL+VHpAaM1zdJcM4Fb9vdAquOrVdHy82ZI5pnXGVm1h1MCAfSTYw70kJ 8ZbxhwTSYyoWevc121uxa6tM+3OehewflS1A+gvOmAHRWs9aTS+KY2AT7HxC/CgYWmAf QQzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Y6KTsovswc7mTdBEdPNQxBeF6EyA9kc4rs3lkUWm27U=; b=SHf6RzQ/J1GpakG3gTuyM6y15OPbpAKUe/AUvanzHWGAcqDk5b+O5pgwtGVKdV5HXa EL9jSyJ4HoocNlZ494pf9pRx3bQYZe4SdTmBSlCrtuEMlyDtZMjWOHv5SQWI+FjutCGF xA1KrvtjsXPyfHiVoHw9JF8vBzlYfA4iUbZ3OIgutPe2Pu51od+um2ucii+egbJ9L1nd 5uA3AC4BiOzDIbNStq33wDufXv2DirBuST1wy9YIuEh4RHaXX2GdSLKN36xExALO2eng t09vYcSmbHA98gVtlbcMIYJiXZocOntHM0sttNniIq17f9uiolh1yhGDTJV67/vJLxVB 0pKA== X-Gm-Message-State: ABUngvcXIkfwtUJX773rBPHb2jAfG6rFbCuP+OaKJx4DnMb7Gz/VmNAj6ELykpWr4YGX+g== X-Received: by 10.98.198.207 with SMTP id x76mr5704049pfk.33.1479313528364; Wed, 16 Nov 2016 08:25:28 -0800 (PST) Received: from tharvey.pdc.gateworks.com (68-189-91-139.static.snlo.ca.charter.com. [68.189.91.139]) by smtp.gmail.com with ESMTPSA id a7sm55360887pfl.87.2016.11.16.08.25.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 16 Nov 2016 08:25:27 -0800 (PST) From: Tim Harvey To: shawnguo@kernel.org Subject: [PATCH] ARM: dts: imx: add SPI to GW54xx Date: Wed, 16 Nov 2016 08:26:40 -0800 Message-Id: <1479313600-20588-1-git-send-email-tharvey@gateworks.com> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161116_082549_529255_5885F413 X-CRM114-Status: UNSURE ( 8.47 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The GW54xx revision E adds SPI via an off-board connector. Signed-off-by: Tim Harvey --- arch/arm/boot/dts/imx6qdl-gw54xx.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi b/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi index b6982959..6eb4fc9 100644 --- a/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi +++ b/arch/arm/boot/dts/imx6qdl-gw54xx.dtsi @@ -149,6 +149,14 @@ <&clks IMX6QDL_CLK_PLL3_USB_OTG>; }; +&ecspi2 { + fsl,spi-num-chipselects = <1>; + cs-gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_ecspi2>; + status = "okay"; +}; + &fec { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_enet>; @@ -511,6 +519,15 @@ >; }; + pinctrl_ecspi2: escpi2grp { + fsl,pins = < + MX6QDL_PAD_EIM_CS0__ECSPI2_SCLK 0x100b1 + MX6QDL_PAD_EIM_CS1__ECSPI2_MOSI 0x100b1 + MX6QDL_PAD_EIM_OE__ECSPI2_MISO 0x100b1 + MX6QDL_PAD_EIM_RW__GPIO2_IO26 0x100b1 + >; + }; + pinctrl_flexcan1: flexcan1grp { fsl,pins = < MX6QDL_PAD_KEY_ROW2__FLEXCAN1_RX 0x1b0b1