hc
2024-10-12 a5969cabbb4660eab42b6ef0412cbbd1200cf14d
kernel/Documentation/devicetree/bindings/fpga/xilinx-slave-serial.txt
....@@ -1,17 +1,24 @@
11 Xilinx Slave Serial SPI FPGA Manager
22
3
-Xilinx Spartan-6 FPGAs support a method of loading the bitstream over
4
-what is referred to as "slave serial" interface.
3
+Xilinx Spartan-6 and 7 Series FPGAs support a method of loading the
4
+bitstream over what is referred to as "slave serial" interface.
55 The slave serial link is not technically SPI, and might require extra
66 circuits in order to play nicely with other SPI slaves on the same bus.
77
8
-See https://www.xilinx.com/support/documentation/user_guides/ug380.pdf
8
+See:
9
+- https://www.xilinx.com/support/documentation/user_guides/ug380.pdf
10
+- https://www.xilinx.com/support/documentation/user_guides/ug470_7Series_Config.pdf
11
+- https://www.xilinx.com/support/documentation/application_notes/xapp583-fpga-configuration.pdf
912
1013 Required properties:
1114 - compatible: should contain "xlnx,fpga-slave-serial"
1215 - reg: spi chip select of the FPGA
1316 - prog_b-gpios: config pin (referred to as PROGRAM_B in the manual)
1417 - done-gpios: config status pin (referred to as DONE in the manual)
18
+
19
+Optional properties:
20
+- init-b-gpios: initialization status and configuration error pin
21
+ (referred to as INIT_B in the manual)
1522
1623 Example for full FPGA configuration:
1724
....@@ -37,7 +44,8 @@
3744 spi-max-frequency = <60000000>;
3845 spi-cpha;
3946 reg = <0>;
40
- done-gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
4147 prog_b-gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
48
+ init-b-gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
49
+ done-gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
4250 };
4351 };