drivers: fpga: separate drivers of iCE40 for SPI and GPIO bitbang
Separate the current driver for the FPGA iCE40 into two different ones. One implements only the SPI load mode, the other one only the GPIO bitbang mode. Signed-off-by: Benedikt Schmidt <benedikt.schmidt@embedded-solutions.at>
This commit is contained in:
parent
a7a978a946
commit
760210f39d
12 changed files with 810 additions and 720 deletions
|
@ -8,12 +8,11 @@
|
|||
|
||||
test_spi_fpga_ice40_gpio: ice40@0 {
|
||||
status = "okay";
|
||||
compatible = "lattice,ice40-fpga";
|
||||
compatible = "lattice,ice40-fpga-bitbang";
|
||||
|
||||
reg = <0>;
|
||||
spi-max-frequency = <1000000>;
|
||||
|
||||
load-mode-bitbang;
|
||||
cdone-gpios = <&test_gpio 0 0>;
|
||||
creset-gpios = <&test_gpio 0 0>;
|
||||
clk-gpios = <&test_gpio 0 0>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue