lattice-ice40-fpga-mgr.txt 729 B

123456789101112131415161718192021
  1. Lattice iCE40 FPGA Manager
  2. Required properties:
  3. - compatible: Should contain "lattice,ice40-fpga-mgr"
  4. - reg: SPI chip select
  5. - spi-max-frequency: Maximum SPI frequency (>=1000000, <=25000000)
  6. - cdone-gpios: GPIO input connected to CDONE pin
  7. - reset-gpios: Active-low GPIO output connected to CRESET_B pin. Note
  8. that unless the GPIO is held low during startup, the
  9. FPGA will enter Master SPI mode and drive SCK with a
  10. clock signal potentially jamming other devices on the
  11. bus until the firmware is loaded.
  12. Example:
  13. fpga: fpga@0 {
  14. compatible = "lattice,ice40-fpga-mgr";
  15. reg = <0>;
  16. spi-max-frequency = <1000000>;
  17. cdone-gpios = <&gpio 24 GPIO_ACTIVE_HIGH>;
  18. reset-gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
  19. };