From patchwork Fri Dec 16 23:17:54 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joshua Clayton X-Patchwork-Id: 9478655 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 94EB8607EE for ; Fri, 16 Dec 2016 23:19:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 84DB3285DC for ; Fri, 16 Dec 2016 23:19:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 76259286AA; Fri, 16 Dec 2016 23:19:01 +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=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EE73D285DC for ; Fri, 16 Dec 2016 23:19:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762451AbcLPXSb (ORCPT ); Fri, 16 Dec 2016 18:18:31 -0500 Received: from mail-pg0-f68.google.com ([74.125.83.68]:34446 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762230AbcLPXSO (ORCPT ); Fri, 16 Dec 2016 18:18:14 -0500 Received: by mail-pg0-f68.google.com with SMTP id b1so1007380pgc.1; Fri, 16 Dec 2016 15:18:14 -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=FcAccZUpYsDyJLFcUPWLaov0wa/1sumDq86z+yGc1hc=; b=QjqJ8s4uPFDsUE/EpsR2WmSP6BV6ZhcOPIAHHHLjc7bov7HcJxfnRThyt2riTqXAg4 8FuZW3KygHOQcyZdkH65UHy2LyRyQyuCodhsnnB5inhxr+gUPIle2qAMzR+oQFhyOuXN /5Yrt7U9aMfvPpe5zK5fJ8Mrv0VLVmheQPm9VkUdX0GTLrUda4Y2nyKOk3tzHwYGD8pw 72oWQ2AVsziJlAX7xjShRJDr4rR2yDFbJ6lOtXsKV1AL8/TwDWseHlCXYTDokD6DTuol gDMs3hjlLfGNH2lzMTK6RuAGd2V3zg1TF2Hw6RPCoCwuO2Ercemnk3IFrfQ74r4TJcw4 I84Q== 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=FcAccZUpYsDyJLFcUPWLaov0wa/1sumDq86z+yGc1hc=; b=sNFWM4a3enMNZ6lwHdaJfK4mFpxitlPMGn8NhTTnq/IGyWSslGbii2c+IE2sUYcSMn 5abwODfQYA5TpkPe88Ja9f6/ecdzpRFRFognzZvajWHHh5awFtjcF23o5FcvCAB/ey3U F2HaAfRjXNcMO+tRsXeNdAwxHfEOJ3TS+jU+MQLEEqxxMb6i18MEIrBBnkCCTm0ntWSW SEJ3gwMDnaw/o9Nwr9RkUB3Pwbd8k88w6OUtgvSsfSQeDWZRNXyXPbQ7iL1XlTZt30t8 VIA1+Cm2FE2inUZORhTY21yrChz+dcNNNisJ2Gle+6z/S3ooOkqBcG8AKBvEqv17Pv6Y D9JQ== X-Gm-Message-State: AKaTC03WgRnfgVDqfwJMhcTc7JS2hs1RBGokBXfLlKYtdT4X3TSYOqL1xnhnbR9SG7hgaQ== X-Received: by 10.84.140.3 with SMTP id 3mr11859369pls.61.1481930293532; Fri, 16 Dec 2016 15:18:13 -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 e11sm14280165pgp.10.2016.12.16.15.18.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Dec 2016 15:18:12 -0800 (PST) From: Joshua Clayton To: Alan Tull , Moritz Fischer , Russell King , Catalin Marinas , Will Deacon , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Mark Rutland , Rob Herring , Anatolij Gustschin , Joshua Clayton , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-fpga@vger.kernel.org Subject: [PATCH v6 5/5] ARM: dts: imx6q-evi: support cyclone-ps-spi Date: Fri, 16 Dec 2016 15:17:54 -0800 Message-Id: <26327c58cbf5acd8078c50e87d23293c80ee89a2.1481918884.git.stillcompiling@gmail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: References: In-Reply-To: References: Sender: linux-fpga-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fpga@vger.kernel.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 Acked-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 7c7c1a8..ec4d365 100644 --- a/arch/arm/boot/dts/imx6q-evi.dts +++ b/arch/arm/boot/dts/imx6q-evi.dts @@ -95,6 +95,15 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_ecspi1 &pinctrl_ecspi1cs>; status = "okay"; + + fpga_spi: cyclonespi@0 { + compatible = "altr,cyclone-ps-spi-fpga-mgr"; + spi-max-frequency = <20000000>; + reg = <0>; + pinctrl-0 = <&pinctrl_fpgaspi>; + config-gpios = <&gpio4 9 GPIO_ACTIVE_LOW>; + status-gpios = <&gpio4 11 GPIO_ACTIVE_LOW>; + }; }; &ecspi3 { @@ -322,6 +331,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