lattice-machxo2-spi.txt 656 B

1234567891011121314151617181920212223242526272829
  1. Lattice MachXO2 Slave SPI FPGA Manager
  2. Lattice MachXO2 FPGAs support a method of loading the bitstream over
  3. 'slave SPI' interface.
  4. See 'MachXO2ProgrammingandConfigurationUsageGuide.pdf' on www.latticesemi.com
  5. Required properties:
  6. - compatible: should contain "lattice,machxo2-slave-spi"
  7. - reg: spi chip select of the FPGA
  8. Example for full FPGA configuration:
  9. fpga-region0 {
  10. compatible = "fpga-region";
  11. fpga-mgr = <&fpga_mgr_spi>;
  12. #address-cells = <0x1>;
  13. #size-cells = <0x1>;
  14. };
  15. spi1: spi@2000 {
  16. ...
  17. fpga_mgr_spi: fpga-mgr@0 {
  18. compatible = "lattice,machxo2-slave-spi";
  19. spi-max-frequency = <8000000>;
  20. reg = <0>;
  21. };
  22. };