diff --git a/arch/arm/boot/dts/sun7i-a20-bananapro.dts b/arch/arm/boot/dts/sun7i-a20-bananapro.dts index 18fcc87..50f1a36 100644 --- a/arch/arm/boot/dts/sun7i-a20-bananapro.dts +++ b/arch/arm/boot/dts/sun7i-a20-bananapro.dts @@ -147,6 +147,26 @@ status = "okay"; }; +&i2c3 { + status = "okay"; + pinctrl-names = "default"; + pinctrl-0 = <&i2c3_pins_a>; + edt: edt-ft5x06@38 { + compatible = "edt,edt-ft5x06"; + reg = <0x38>; + interrupt-parent = <&pio>; + interrupts = <7 9 IRQ_TYPE_EDGE_FALLING>; + wake-gpios = <7 7 GPIO_ACTIVE_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&edt_ft5x06_pins>; + touchscreen-size-x = <1024>; + touchscreen-size-y = <600>; + touchscreen-inverted-x; + touchscreen-swapped-x-y; + }; +}; + + &ir0 { pinctrl-names = "default"; pinctrl-0 = <&ir0_rx_pins_a>; @@ -222,6 +242,14 @@ allwinner,drive = ; allwinner,pull = ; }; + + edt_ft5x06_pins: edt_ft5x06_pins@0 { + allwinner,pins = "PH7", "PH9"; + allwinner,function = "gpio_out"; + allwinner,drive = ; + allwinner,pull = ; + }; + }; ®_usb1_vbus {