Commit c1751e32 authored by Hans de Goede's avatar Hans de Goede Committed by Maxime Ripard

ARM: dts: sun4i: Add touchscreen node to pov protab2-ips9 tablet

Add a node describing the touchscreen found on the pov protab2-ips9
tablet.
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
parent 6ffd6fa0
......@@ -104,6 +104,22 @@ &i2c2 {
pinctrl-names = "default";
pinctrl-0 = <&i2c2_pins_a>;
status = "okay";
pixcir_ts@5c {
pinctrl-names = "default";
pinctrl-0 = <&touchscreen_pins>;
compatible = "pixcir,pixcir_tangoc";
reg = <0x5c>;
interrupt-parent = <&pio>;
interrupts = <7 21 IRQ_TYPE_EDGE_FALLING>; /* EINT21 (PH21) */
attb-gpio = <&pio 7 21 GPIO_ACTIVE_HIGH>; /* PH21 */
enable-gpios = <&pio 0 5 GPIO_ACTIVE_LOW>;
wake-gpios = <&pio 1 13 GPIO_ACTIVE_LOW>;
touchscreen-size-x = <1024>;
touchscreen-size-y = <768>;
touchscreen-inverted-x;
touchscreen-inverted-y;
};
};
&lradc {
......@@ -147,6 +163,13 @@ bl_en_pin_protab: bl_en_pin@0 {
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};
touchscreen_pins: touchscreen_pins@0 {
allwinner,pins = "PA5", "PB13";
allwinner,function = "gpio_out";
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};
usb0_id_detect_pin: usb0_id_detect_pin@0 {
allwinner,pins = "PH4";
allwinner,function = "gpio_in";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment