blob: bf110cefb800ae6118f2f21b7db7c4b572b43e96 [file] [log] [blame]
/*
* Copyright (c) 2020, Linaro Ltd.
*
* SPDX-License-Identifier: Apache-2.0
*
* Application overlay for spi devices
*/
test_spi_fpga_ice40_gpio: ice40@0 {
status = "okay";
compatible = "lattice,ice40-fpga-bitbang";
reg = <0>;
spi-max-frequency = <1000000>;
cdone-gpios = <&test_gpio 0 0>;
creset-gpios = <&test_gpio 0 0>;
clk-gpios = <&test_gpio 0 0>;
pico-gpios = <&test_gpio 0 0>;
gpios-set-reg = <0>;
gpios-clear-reg = <0>;
config-delay-us = <3900>;
};
test_spi_fpga_ice40_spi: ice40@1 {
status = "okay";
compatible = "lattice,ice40-fpga";
reg = <1>;
spi-max-frequency = <1000000>;
cdone-gpios = <&test_gpio 0 0>;
creset-gpios = <&test_gpio 0 0>;
config-delay-us = <3900>;
};