From patchwork Fri Jan 20 00:12:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joshua Clayton X-Patchwork-Id: 9527137 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 CDEB16020B for ; Fri, 20 Jan 2017 00:14:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BEE852867A for ; Fri, 20 Jan 2017 00:14:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B22522867C; Fri, 20 Jan 2017 00:14:45 +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.0 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RDNS_NONE, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from bombadil.infradead.org (unknown [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 59B552867A for ; Fri, 20 Jan 2017 00:14:45 +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 1cUMqm-0000hV-Ca; Fri, 20 Jan 2017 00:14:40 +0000 Received: from mail-pg0-f65.google.com ([74.125.83.65]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cUMqD-00083n-CC for linux-arm-kernel@lists.infradead.org; Fri, 20 Jan 2017 00:14:07 +0000 Received: by mail-pg0-f65.google.com with SMTP id 194so5333185pgd.0 for ; Thu, 19 Jan 2017 16:13:47 -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=rIVKbWeooGJDFyjc9xDwuMVxB4lAJiTahS3IrHz3eIr3MiR3LxuJUuAvWMwHeC6yHD A80KrXHeayXggRkllkcH5/SFcJ5O/FLr2ofxXRiEtuJee00Gv/TDhF9kqX/DZfFhSvs+ u7YqnnbQSsM0Hig8M4m/NcYCbdjcEnnR0BvEnAkzuly4nOIoECZ5wxNDi342ff6L9VP3 oFaCIx7Jq3jBDRNJsmwGMyl2aUsH+7pWu+h9Gmw+l0h6qH7c2+J5TyBBMbmCnWcgd0W9 YENI+WTUU9hEOhZsj9PORcfiBOe1oXVl5o27p31iJLrWdVn/QVX0wB2pKTMt0Zrdeaho u1kw== 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=S6u1w2WYzK1PybkGoq+9R8HO/K3LC83w2zUm66l84eOr0iVc9UbOmZmHlCiJUcdfbT QcuZPB/lQJR9nqKvpRylBB23G+ASMSDmJz2Yc6uLvfn9A5MgDFgZ32a8nbxQIyWW41sE evxVsvptFu7uZgKHFoqch24XzkxR5JrHCzyLWHxk7G7F4rT2YM1Lb7u5Cg5yHgiWtyNa Dg7lRlMVu+YNtQxmQzQA8gQW6RVborzYExY1TwtYI3GdH9HjVpfVw4wuOWWhEm2XQnL5 pS3lgpd2M3rqRAy/7Tu71h7Grb0md4Ej1PLbJXQ9zB7c6sQQtN3ezjAEDX9oSJVqEpBj FjNQ== X-Gm-Message-State: AIkVDXIF5wyqyQMq+mVeaCDiaFfr9ZBUzyTwHpVHSDWZrn/LiW1ZNKjwa+LLX4id+oZn6w== X-Received: by 10.99.116.22 with SMTP id p22mr13423659pgc.161.1484871166763; Thu, 19 Jan 2017 16:12:46 -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 i10sm11438465pgd.37.2017.01.19.16.12.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Jan 2017 16:12:45 -0800 (PST) From: Joshua Clayton To: Alan Tull , Moritz Fischer , Russell King , Shawn Guo , Sascha Hauer , Fabio Estevam Subject: [PATCH v7 3/3] ARM: dts: imx6q-evi: support cyclone-ps-spi Date: Thu, 19 Jan 2017 16:12:29 -0800 Message-Id: <65e7655577c560dd4fbcebfe4094fe0974712f6c.1484869881.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-20170119_161405_498582_8F072D24 X-CRM114-Status: UNSURE ( 9.55 ) 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