xref: /linux/arch/riscv/boot/dts/allwinner/sun20i-d1-lichee-rv-86-panel-480p.dts (revision c9dc580c43b8d83de0c14158e826f79e41098822)
1// SPDX-License-Identifier: (GPL-2.0+ or MIT)
2// Copyright (C) 2022 Samuel Holland <samuel@sholland.org>
3
4#include "sun20i-d1-lichee-rv-86-panel.dtsi"
5
6/ {
7	model = "Sipeed Lichee RV 86 Panel (480p)";
8	compatible = "sipeed,lichee-rv-86-panel-480p", "sipeed,lichee-rv",
9		     "allwinner,sun20i-d1";
10};
11
12&i2c2 {
13	pinctrl-0 = <&i2c2_pb0_pins>;
14	pinctrl-names = "default";
15	status = "okay";
16
17	touchscreen@48 {
18		compatible = "focaltech,ft6236";
19		reg = <0x48>;
20		interrupt-parent = <&pio>;
21		interrupts = <6 14 IRQ_TYPE_LEVEL_LOW>; /* PG14 */
22		iovcc-supply = <&reg_vcc_3v3>;
23		reset-gpios = <&pio 6 15 GPIO_ACTIVE_LOW>; /* PG15 */
24		touchscreen-size-x = <480>;
25		touchscreen-size-y = <480>;
26		vcc-supply = <&reg_vcc_3v3>;
27		wakeup-source;
28	};
29};
30