Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt: bindings: fpga: add lattice machxo2 slave spi binding description

Add dt binding documentation details for Lattice MachXO2 FPGA configuration
over Slave SPI interface.

Signed-off-by: Paolo Pisati <p.pisati@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Acked-by: Alan Tull <atull@kernel.org>
Signed-off-by: Moritz Fischer <mdf@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Paolo Pisati and committed by
Greg Kroah-Hartman
d549ac08 84d84c5b

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