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: 9478669 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 E4C52607EE for ; Fri, 16 Dec 2016 23:21:02 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D6303285DC for ; Fri, 16 Dec 2016 23:21:02 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CAD7528658; Fri, 16 Dec 2016 23:21:02 +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=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 902FD285DC for ; Fri, 16 Dec 2016 23:21:02 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cI1mC-0005kL-Hj; Fri, 16 Dec 2016 23:18:56 +0000 Received: from mail-pg0-x244.google.com ([2607:f8b0:400e:c05::244]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cI1ll-00058u-V4 for linux-arm-kernel@lists.infradead.org; Fri, 16 Dec 2016 23:18:31 +0000 Received: by mail-pg0-x244.google.com with SMTP id b1so1007383pgc.1 for ; Fri, 16 Dec 2016 15:18:13 -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=QQRbPoVSonSrWCZz5UMWb0DmdPi3O9OFCCCvkVHaeO1gcceqOeetWJKsRc7B6TQv0o jkuXt67q+AsBk2sPZ6V58ZwAoI70E+deLm49jL2liobItCwjg104sXPorPTY7VpJ/yuw o8acNhyDBmlWvrsqq/tjuNBGCgi+4I8UrXpsVJP/TulRKnIj+MinsiO87VQTvtG+SC6A QMcDrjfJvVSDBflPJ4fAXUFaeKQ1xicNdKbt3yw602TmUNcfWhCR+OgJQT1qSGEYc2Wr 4tNInEBq/wQq5HFYp7Ph4l9JKp12wnzqAvw7iWkTYXVqBdlGTfSnFsjiG0eI8KMtzRsF R4Ow== X-Gm-Message-State: AKaTC00gpJtPEY61sieZkt5UVX2ZFVDHRZOpraVdAGRTcJ+7dLlNP7NSpOP8IDnR5lcfqg== 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 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: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161216_151830_241880_C364EAA8 X-CRM114-Status: UNSURE ( 9.70 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 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 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