.. | .. |
---|
1 | 1 | Xilinx Slave Serial SPI FPGA Manager |
---|
2 | 2 | |
---|
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. |
---|
5 | 5 | The slave serial link is not technically SPI, and might require extra |
---|
6 | 6 | circuits in order to play nicely with other SPI slaves on the same bus. |
---|
7 | 7 | |
---|
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 |
---|
9 | 12 | |
---|
10 | 13 | Required properties: |
---|
11 | 14 | - compatible: should contain "xlnx,fpga-slave-serial" |
---|
12 | 15 | - reg: spi chip select of the FPGA |
---|
13 | 16 | - prog_b-gpios: config pin (referred to as PROGRAM_B in the manual) |
---|
14 | 17 | - 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) |
---|
15 | 22 | |
---|
16 | 23 | Example for full FPGA configuration: |
---|
17 | 24 | |
---|
.. | .. |
---|
37 | 44 | spi-max-frequency = <60000000>; |
---|
38 | 45 | spi-cpha; |
---|
39 | 46 | reg = <0>; |
---|
40 | | - done-gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>; |
---|
41 | 47 | 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>; |
---|
42 | 50 | }; |
---|
43 | 51 | }; |
---|