Browse Source

ARM: shmobile: kzm9g-reference dts: Add st1232 touchscreen node

Enable the kzm9g touchscreen controller in the board's DT file.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Laurent Pinchart 10 years ago
parent
commit
8ac627fa8e
1 changed files with 11 additions and 0 deletions
  1. 11 0
      arch/arm/boot/dts/sh73a0-kzm9g-reference.dts

+ 11 - 0
arch/arm/boot/dts/sh73a0-kzm9g-reference.dts

@@ -287,6 +287,17 @@
 	};
 };
 
+&i2c1 {
+	status = "okay";
+
+	touchscreen@55 {
+		compatible = "sitronix,st1232";
+		reg = <0x55>;
+		interrupt-parent = <&irqpin1>;
+		interrupts = <0 IRQ_TYPE_EDGE_FALLING>;
+	};
+};
+
 &i2c3 {
 	pinctrl-0 = <&i2c3_pins>;
 	pinctrl-names = "default";