1
0
Fork 0

arm64: allwinner: sopine-baseboard: Enable I2C touchscreen

Signed-off-by: Alistair Francis <alistair@alistair23.me>
alistair/sunxi64-5.7-dsi
Alistair Francis 2019-11-08 17:44:06 -08:00
parent 8ac2b7c1cc
commit ae03bade3b
1 changed files with 23 additions and 0 deletions

View File

@ -148,6 +148,29 @@
};
};
&i2c0 {
pinctrl-names = "default";
pinctrl-0 = <&i2c0_pins>;
status = "okay";
gt911@5d {
compatible = "goodix,gt911";
reg = <0x5d>;
interrupt-parent = <&pio>;
interrupts = <7 4 IRQ_TYPE_EDGE_RISING>; /* PH4 */
reset-gpios = <&pio 7 11 GPIO_ACTIVE_HIGH>; /* PH11 */
AVDD28-supply = <&reg_ldo_io0>; /* VCC-CTP: GPIO0-LDO */
};
};
&reg_ldo_io0 {
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-name = "vcc-ctp";
status = "okay";
};
&i2s2 {
status = "okay";
};