1/*
2 * Copyright (c) 2021 Hubert Miś <hubert.mis@gmail.com>
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7&arduino_spi {
8	status = "okay";
9
10	/* D10 */
11	cs-gpios = <&arduino_header 16
12		    (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
13
14	ft800_ftdi_vm800c: ft800@0 {
15		compatible = "ftdi,ft800";
16		reg = <0x0>;
17		spi-max-frequency = <8000000>;
18		/*  D2 */
19		irq-gpios = <&arduino_header 8 GPIO_ACTIVE_LOW>;
20
21		pclk = <5>;
22		pclk_pol = <1>;
23		cspread = <1>;
24		swizzle = <0>;
25		vsize = <272>;
26		voffset = <12>;
27		vcycle = <292>;
28		vsync0 = <0>;
29		vsync1 = <10>;
30		hsize = <480>;
31		hoffset = <43>;
32		hcycle = <548>;
33		hsync0 = <0>;
34		hsync1 = <41>;
35
36		status = "okay";
37	};
38};
39