提交 1b4dcd01 编写于 作者: H Hans de Goede 提交者: Maxime Ripard

ARM: dts: sun4i: Add touchscreen node to inet97fv2 dts file

Add a node describing the focaltech ft5306de4 touchscreen found on
inet97fv2 tablets.
Signed-off-by: NHans de Goede <hdegoede@redhat.com>
Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
上级 75313a07
...@@ -48,6 +48,7 @@ ...@@ -48,6 +48,7 @@
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h> #include <dt-bindings/input/input.h>
#include <dt-bindings/interrupt-controller/irq.h>
/ { / {
model = "INet-97F Rev 02"; model = "INet-97F Rev 02";
...@@ -93,6 +94,15 @@ ...@@ -93,6 +94,15 @@
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&i2c2_pins_a>; pinctrl-0 = <&i2c2_pins_a>;
status = "okay"; status = "okay";
ft5406ee8: touchscreen@38 {
compatible = "edt,edt-ft5406";
reg = <0x38>;
interrupt-parent = <&pio>;
interrupts = <7 21 IRQ_TYPE_EDGE_FALLING>;
touchscreen-size-x = <800>;
touchscreen-size-y = <480>;
};
}; };
&lradc { &lradc {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册