From patchwork Mon Jan 23 22:51:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joshua Clayton X-Patchwork-Id: 9533693 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 B284A6042D for ; Mon, 23 Jan 2017 22:53:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A820927CAF for ; Mon, 23 Jan 2017 22:53:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9C575283FB; Mon, 23 Jan 2017 22:53:44 +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.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=no 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 64B6327CAF for ; Mon, 23 Jan 2017 22:53:43 +0000 (UTC) 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 1cVnUc-0003mW-29; Mon, 23 Jan 2017 22:53:42 +0000 Received: from mail-pf0-f196.google.com ([209.85.192.196]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cVnTY-00033j-8F for linux-arm-kernel@lists.infradead.org; Mon, 23 Jan 2017 22:52:37 +0000 Received: by mail-pf0-f196.google.com with SMTP id f144so10777762pfa.2 for ; Mon, 23 Jan 2017 14:52:17 -0800 (PST) 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=ZJu2QWy8mAxOyNhVZVY0XuWzwYwoNZDBeY/JZAjqS3o=; b=LuKwCYmQXENnhtsEM59oLo+tYNatjIzNAgDjOX/hzYYaQrK4YiffAyw4qDqj9JnJD6 mFtG9ntXhR5MSS4ZvpzDKljoPJpIZAxDVKmSXJyRS00OVLNypiQV6ttEGr6r2jiz1PwG 5/UfA6EG6wfhRvcOaVnkHCzM/1FrtRjluYcM8TrqI0mK0lx64vS6tTQiNm1VKuFoW9al Pfz4LzycPNPFWZUfA6CSjp0BB78HQwe37/oWTiZVfqadb+BQjZZu8hz3+fqTy+Tm6LDc k0oZ+nhEjEpPvh9PAc7BZKLVIBAdZ59mqrvrQoAVdzUWPti4l5iLzTUFghEH7C8j8wSr Mnmw== 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=ZJu2QWy8mAxOyNhVZVY0XuWzwYwoNZDBeY/JZAjqS3o=; b=AuwR5r/J14Kl0r7VvVKQq4oOahfXLQLg28YRgc2PHgMdTZ7WUqoqr79bFmMgYbuFXl MF/c/uK2IOauqde7qRK2dI3u9wEHEPoqDHhlhxzVDIDOz9dEmc4sOb1DKy6gkkAo6kIu Jk7Ijq+hP9Zjw/7WVEeiSJu/7sH23nre3H1e8G8oCeYZKTt6539XiVP08EW+aZsWmK9x 0+RXYe7Epb1ExBGGflYb2oC3vIneJPowC+P/+c57DMqxHa/dGBzUxNMfTf9bfCxihlJ8 cGgy3XBv7pzXgUc0mY5bFpravLe6L01s3m1NvQynv0TgrnmF4PB6Jgat4AGJQOeYFXCK SlIA== X-Gm-Message-State: AIkVDXJGLuDPr5W3hLewGqdLIAd27dh31biewnFvgpf9iRkgIrvb24MASuIbatrhatdEtA== X-Received: by 10.99.188.10 with SMTP id q10mr7051302pge.106.1485211877181; Mon, 23 Jan 2017 14:51:17 -0800 (PST) Received: from jclayton-pc.columbia.uniwest.com (68-185-59-186.static.knwc.wa.charter.com. [68.185.59.186]) by smtp.gmail.com with ESMTPSA id d69sm39353003pfd.11.2017.01.23.14.51.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Jan 2017 14:51:15 -0800 (PST) From: Joshua Clayton To: Alan Tull , Moritz Fischer , Russell King , Shawn Guo , Sascha Hauer , Fabio Estevam Subject: [PATCH v8 3/3] ARM: dts: imx6q-evi: support cyclone-ps-spi Date: Mon, 23 Jan 2017 14:51:06 -0800 Message-Id: X-Mailer: git-send-email 2.9.3 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170123_145236_320619_245A1F59 X-CRM114-Status: UNSURE ( 9.49 ) X-CRM114-Notice: Please train this message. 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, Joshua Clayton , linux-fpga@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , Anatolij Gustschin , 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 cyclone V FPGA connected to an spi port to the evi devicetree file Signed-off-by: Joshua Clayton --- 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 24fe093..a0cbb2d 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_spi: cyclonespi@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