Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1643577

[PATCH v10 3/3] ARM: dts: imx6q-evi: support cyclone-ps-spi

From Anatolij Gustschin <agust@denx.de>
Newsgroups linux.kernel
Subject [PATCH v10 3/3] ARM: dts: imx6q-evi: support cyclone-ps-spi
Date 2017-05-17 20:30 +0200
Message-ID <tIbRU-6Bk-15@gated-at.bofh.it> (permalink)
References <tIbRU-6Bk-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Joshua Clayton <stillcompiling@gmail.com>

Add support for Altera cyclone V FPGA connected to an spi port
to the evi devicetree file

Signed-off-by: Joshua Clayton <stillcompiling@gmail.com>
---
Changes in v10:
 - none

 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 fd2220a..746ab07 100644
--- a/arch/arm/boot/dts/imx6q-evi.dts
+++ b/arch/arm/boot/dts/imx6q-evi.dts
@@ -94,6 +94,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 {
@@ -319,6 +328,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
-- 
2.7.4

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v10 1/3] doc: dt: add altera-ps-spi binding document Anatolij Gustschin <agust@denx.de> - 2017-05-17 20:30 +0200
  [PATCH v10 3/3] ARM: dts: imx6q-evi: support cyclone-ps-spi Anatolij Gustschin <agust@denx.de> - 2017-05-17 20:30 +0200
  [PATCH v10 2/3] fpga manager: Add altera-ps-spi driver for Altera FPGAs Anatolij Gustschin <agust@denx.de> - 2017-05-17 20:30 +0200
    Re: [PATCH v10 2/3] fpga manager: Add altera-ps-spi driver for  Altera FPGAs Anatolij Gustschin <agust@denx.de> - 2017-05-18 13:50 +0200
    Re: [PATCH v10 2/3] fpga manager: Add altera-ps-spi driver for  Altera FPGAs Anatolij Gustschin <agust@denx.de> - 2017-05-18 23:00 +0200

csiph-web