From patchwork Tue Jan 24 22:19:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joshua Clayton X-Patchwork-Id: 9536019 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 A7B9C6042D for ; Tue, 24 Jan 2017 22:22:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 93A192074F for ; Tue, 24 Jan 2017 22:22:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 852F426E96; Tue, 24 Jan 2017 22:22:41 +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 2E70B2074F for ; Tue, 24 Jan 2017 22:22:41 +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 1cW9U7-00026i-4H; Tue, 24 Jan 2017 22:22:39 +0000 Received: from mail-pg0-f67.google.com ([74.125.83.67]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cW9Sh-00017O-Rs for linux-arm-kernel@lists.infradead.org; Tue, 24 Jan 2017 22:21:13 +0000 Received: by mail-pg0-f67.google.com with SMTP id t6so17650370pgt.1 for ; Tue, 24 Jan 2017 14:20:54 -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=k8nKT+NqicvNOvXQx2LI6f9BiCVt6PiQdA+CTC/yzGk=; b=FPDO5D4+Xayz6qviVECBEVZ2MdYSGZmktK+IHGU2ayH4QdVvLb3dABx8CChZb4RIkR cNjmtD7dfQYH1nugPQfRKuH34k7JjnogLAKNBW/7sN8OcaEd0kpHLlpZ93moIYztT+45 084B9UCtB3pT888gGq5LosRj9e6MBRmHTspNhqNbIAa7bGi6icbBKhgDR4M8+sOla/0r f2XR2HXWy/8rhrgSWLqTXTuMUSI8P3rKt5q7TQGjvGmjAWpKsRGtVQwJi4cURPMSc5y0 80qmZCCk7qGfDui52LLh9wDJ+ZhewaBuwY0kSiCAl8vvlcrxU1PuU/tfNZdZXBBC49xU v1jw== 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=k8nKT+NqicvNOvXQx2LI6f9BiCVt6PiQdA+CTC/yzGk=; b=txR8G6q2Jw7As60p3+c+VTqJFaL/ZRlALdBUS4iMW02R/SbwdwG5z82ANy7ew0w2Vi 3zRyn6MaNf7b4iT7aAOK2dJ4ERhiaD7ThnWk0G+wlg/9oY3bQBNjL43R5fZvYw9Pft5u tMo64A4tyGQwVGgsAecdvpxzFTxThdGtWAc/TExR+Lk0H4zO5n/lhwm5ko5nw6Fsu2w3 NxP3xI3iBBHgRtnsi2RUuPyI41/JMSjNhTNY7tjAf+tLPchRZLovzHnmYfWn4NWgnc3Q FhMku3QIRkLWW5GlVDdl000Amr8yAO3ZyJX2pHxO67HlBBhVrmkq/jygl/eqIeaSgkZA fidw== X-Gm-Message-State: AIkVDXK4AGNe5z8KnmirNC5dZ3ls3M+PLorybRfyJHXanSJL8yjfWXGlHwgG3FpVb0vACQ== X-Received: by 10.99.223.5 with SMTP id u5mr43260476pgg.58.1485296394490; Tue, 24 Jan 2017 14:19:54 -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 g11sm27711627pfe.38.2017.01.24.14.19.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Jan 2017 14:19:53 -0800 (PST) From: Joshua Clayton To: Alan Tull , Moritz Fischer , Russell King , Shawn Guo , Sascha Hauer , Fabio Estevam Subject: [PATCH v9 3/3] ARM: dts: imx6q-evi: support cyclone-ps-spi Date: Tue, 24 Jan 2017 14:19:34 -0800 Message-Id: <8466629f15d8c34be20d574012b0e829680a6393.1485295905.git.stillcompiling@gmail.com> 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-20170124_142111_930361_770A0909 X-CRM114-Status: UNSURE ( 9.88 ) 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 79a0bd5..e531bf7 100644 --- a/arch/arm/boot/dts/imx6q-evi.dts +++ b/arch/arm/boot/dts/imx6q-evi.dts @@ -83,6 +83,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 { @@ -316,6 +325,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