Thread (6 messages) 6 messages, 2 authors, 2017-01-24

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

From: Fabio Estevam <hidden>
Date: 2017-01-24 00:00:18
Also in: linux-arm-kernel, lkml

On Mon, Jan 23, 2017 at 8:51 PM, Joshua Clayton
[off-list ref] wrote:
quoted hunk ↗ jump to hunk
Add support for Altera cyclone V FPGA connected to an spi port
to the evi devicetree file

Signed-off-by: Joshua Clayton <redacted>
---
 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>;
Your binding doc says that 'confd-gpios ' is a required property, but
you did not put it here.

Either it is missing here or you should mention that it is optional in
the binding doc.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help