mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-26 08:41:54 +00:00
46 lines
1.5 KiB
Text
46 lines
1.5 KiB
Text
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 = <SUN4I_PINCTRL_10_MA>;
|
|
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
|
|
};
|
|
+
|
|
+ edt_ft5x06_pins: edt_ft5x06_pins@0 {
|
|
+ allwinner,pins = "PH7", "PH9";
|
|
+ allwinner,function = "gpio_out";
|
|
+ allwinner,drive = <SUN4I_PINCTRL_40_MA>;
|
|
+ allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
|
|
+ };
|
|
+
|
|
};
|
|
|
|
®_usb1_vbus {
|