1 Lattice MachXO2 Slave SPI FPGA Manager 1 Lattice MachXO2 Slave SPI FPGA Manager 2 2 3 Lattice MachXO2 FPGAs support a method of load 3 Lattice MachXO2 FPGAs support a method of loading the bitstream over 4 'slave SPI' interface. 4 'slave SPI' interface. 5 5 6 See 'MachXO2ProgrammingandConfigurationUsageGu 6 See 'MachXO2ProgrammingandConfigurationUsageGuide.pdf' on www.latticesemi.com 7 7 8 Required properties: 8 Required properties: 9 - compatible: should contain "lattice,machxo2- 9 - compatible: should contain "lattice,machxo2-slave-spi" 10 - reg: spi chip select of the FPGA 10 - reg: spi chip select of the FPGA 11 11 12 Example for full FPGA configuration: 12 Example for full FPGA configuration: 13 13 14 fpga-region0 { 14 fpga-region0 { 15 compatible = "fpga-region"; 15 compatible = "fpga-region"; 16 fpga-mgr = <&fpga_mgr_spi>; 16 fpga-mgr = <&fpga_mgr_spi>; 17 #address-cells = <0x1>; 17 #address-cells = <0x1>; 18 #size-cells = <0x1>; 18 #size-cells = <0x1>; 19 }; 19 }; 20 20 21 spi1: spi@2000 { 21 spi1: spi@2000 { 22 ... 22 ... 23 23 24 fpga_mgr_spi: fpga-mgr@0 { 24 fpga_mgr_spi: fpga-mgr@0 { 25 compatible = "lattice, 25 compatible = "lattice,machxo2-slave-spi"; 26 spi-max-frequency = <8 26 spi-max-frequency = <8000000>; 27 reg = <0>; 27 reg = <0>; 28 }; 28 }; 29 }; 29 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.