1/*
2 * Copyright (c) 2020, Linaro Ltd.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 *
6 * Application overlay for spi devices
7 */
8
9test_spi_fpga_ice40_gpio: ice40@0 {
10	status = "okay";
11	compatible = "lattice,ice40-fpga-bitbang";
12
13	reg = <0>;
14	spi-max-frequency = <1000000>;
15
16	cdone-gpios = <&test_gpio 0 0>;
17	creset-gpios = <&test_gpio 0 0>;
18	clk-gpios = <&test_gpio 0 0>;
19	pico-gpios = <&test_gpio 0 0>;
20	gpios-set-reg = <0>;
21	gpios-clear-reg = <0>;
22	config-delay-us = <3900>;
23};
24
25test_spi_fpga_ice40_spi: ice40@1 {
26	status = "okay";
27	compatible = "lattice,ice40-fpga";
28
29	reg = <1>;
30	spi-max-frequency = <1000000>;
31
32	cdone-gpios = <&test_gpio 0 0>;
33	creset-gpios = <&test_gpio 0 0>;
34	config-delay-us = <3900>;
35};
36