From patchwork Fri Jun 2 20:30:50 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joshua Clayton X-Patchwork-Id: 9763399 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 A0E8C602BF for ; Fri, 2 Jun 2017 20:31:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 92E44205A4 for ; Fri, 2 Jun 2017 20:31:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 863B926247; Fri, 2 Jun 2017 20:31:53 +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=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F1C0D205A4 for ; Fri, 2 Jun 2017 20:31:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=p3xL5c1aaLCiInpNmxg4vaewZ6HSozGH3SwxHhsOuMM=; b=U/y/zx8ds2PVDX+v5fTlF/1jd3 bM+qems3Ube/6RWLIx8Nvs1kh7qkNgh81ZGTm+x8O3Z/ZR7Y8Ie0J/4bqEhgOedsXRoatbo57RMvj u32okNb2FhPsy573AACl1Vz2v55/xJx9Es1wXo4euG0tDG0FkwiZlxWpT1Cp4G9Z9A3sWAogl8dFy 1Hhs3yP4OCRHXhyJjlp0iWmN/RDL0FCyYTvrLnCOEZvvkRnjNcB0LwP9ApYuaVTonl+WpBe5NwzjD i0J9/NT4tlQIKf9Kw0I3fvRsGGXgdGYCXOTZnu84ij24e0RzsHTq2O50kR/MBgMYwp1LbUp8DM4mS axRpMzZg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dGtEd-00087T-IJ; Fri, 02 Jun 2017 20:31:51 +0000 Received: from mail-pg0-x243.google.com ([2607:f8b0:400e:c05::243]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dGtER-0007bc-NG for linux-arm-kernel@lists.infradead.org; Fri, 02 Jun 2017 20:31:43 +0000 Received: by mail-pg0-x243.google.com with SMTP id s62so2835295pgc.0 for ; Fri, 02 Jun 2017 13:31:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=0otU2M4qonPI3l0TKEszVBcktbnr+6fBsyC7FGHrNGI=; b=dlXn3rj4sDmsPxp3wTNxiBZ0OGIwfn/HsJ2YxWpiO05DKIu+QhW4vUem2sMVSM3VQp OWTNSRG4VGm6ysz+4J4KGV/BAiHEtgqUzx55LVaTu4w5WYCRfLglyA+n4+aRsK9Q+JUo vqqOggN9Ut/RiTbu9dn16NJzo2AHEHnWCP39AQ1CfzA3r3QDv+vIiOSx6XaTWGHoxnJn nO8q1ULQZbJaApvjf8cnttTS9xhxE07eIXJSAHecLCS30+15DYwFc6uVsF/YnIicxovc k68kUIgSZbH7KkZhTseuQx1G6UIys1pekgDJESr2F7pF6nATeblIj1SkP/vhGVq7Pq0v 0Q+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=0otU2M4qonPI3l0TKEszVBcktbnr+6fBsyC7FGHrNGI=; b=Ld6mXPjHGf5fpu+QfBhRwhEdi+Meuvqou5gKQwJRZg4lmVav15CPGoR1B3LXVPEOZ2 H1NbOnnWvv4R1cvTEEpO779zIywqhWXuNb3kCpWtspIAmWD6YsZBb27VDRcUtAPRjZqm lCy4SmtCC0tqzc8kGUBzVqOiwDl8CUBF+/sB5wCufDujacVjeGls+pLkevBUnVnyKGQ9 Dhvo8S1V+lVAw5v/Tcb0Dt2mpG8y1IFE0PBphhm2DodsBqZGyxw4tIgEEMK4ofBZ31k0 DtM/cZYtF+Pg3FfdESbzU47W4zj6jmTag8tzXvLbkel90G/W35wgpFkJvUSmBNoKGlNH cs2w== X-Gm-Message-State: AODbwcDnxIOIuwXiPk2hMK/F/0xfsBRwrZpaeinO/y0AQE1AI/AyFc4A ceuh2sIgl5L47Q== X-Received: by 10.98.68.156 with SMTP id m28mr3499754pfi.48.1496435478608; Fri, 02 Jun 2017 13:31:18 -0700 (PDT) Received: from localhost.localdomain (68-185-59-186.static.knwc.wa.charter.com. [68.185.59.186]) by smtp.gmail.com with ESMTPSA id c4sm6967218pfg.31.2017.06.02.13.31.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Jun 2017 13:31:17 -0700 (PDT) From: Joshua Clayton To: Alan Tull , Moritz Fischer , Anatolij Gustschin , Bastian Stender , Shawn Guo , Joshua Clayton Subject: [PATCH v12 4/6] ARM: dts: imx6q-evi: support altera-ps-spi Date: Fri, 2 Jun 2017 13:30:50 -0700 Message-Id: <8253d3ad7de8ba991de9f23fd68b8f9502c1ffe0.1496434383.git.stillcompiling@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <684ea151ba9aa2c6555a299daf56552ddc11f596.1496434383.git.stillcompiling@gmail.com> References: <684ea151ba9aa2c6555a299daf56552ddc11f596.1496434383.git.stillcompiling@gmail.com> In-Reply-To: <20170525172911.11467-1-stillcompiling@gmail.com> References: <20170525172911.11467-1-stillcompiling@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170602_133140_485649_C3289745 X-CRM114-Status: GOOD ( 10.24 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, linux-fpga@vger.kernel.org, Russell King , linux-kernel@vger.kernel.org, Rob Herring , Sascha Hauer , Fabio Estevam , 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 Add support for Altera FPGA connected to an spi port to the evi devicetree file Signed-off-by: Joshua Clayton Signed-off-by: Alan Tull --- arch/arm/boot/dts/imx6q-evi.dts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/imx6q-evi.dts b/arch/arm/boot/dts/imx6q-evi.dts index 24fe093a66db..59aebbc95671 100644 --- a/arch/arm/boot/dts/imx6q-evi.dts +++ b/arch/arm/boot/dts/imx6q-evi.dts @@ -82,6 +82,15 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_ecspi1 &pinctrl_ecspi1cs>; status = "okay"; + + fpga: fpga@0 { + compatible = "altr,fpga-passive-serial"; + spi-max-frequency = <20000000>; + reg = <0>; + pinctrl-0 = <&pinctrl_fpgaspi>; + nconfig-gpios = <&gpio4 9 GPIO_ACTIVE_LOW>; + nstat-gpios = <&gpio4 11 GPIO_ACTIVE_LOW>; + }; }; &ecspi3 { @@ -313,6 +322,13 @@ >; }; + pinctrl_fpgaspi: fpgaspigrp { + fsl,pins = < + MX6QDL_PAD_KEY_ROW1__GPIO4_IO09 0x1b0b0 + MX6QDL_PAD_KEY_ROW2__GPIO4_IO11 0x1b0b0 + >; + }; + pinctrl_gpminand: gpminandgrp { fsl,pins = < MX6QDL_PAD_NANDF_CLE__NAND_CLE 0xb0b1