ARM: dts: stm32: Enable STMPE1600 gpio expander of STM32F429-EVAL board
authorHugues Fruchet <hugues.fruchet@st.com>
Wed, 7 Jun 2017 15:39:11 +0000 (17:39 +0200)
committerAlexandre TORGUE <alexandre.torgue@st.com>
Wed, 7 Jun 2017 15:40:31 +0000 (17:40 +0200)
Enable STMPE1600 gpio expander of STM32F429-EVAL board.

Signed-off-by: Hugues Fruchet <hugues.fruchet@st.com>
Signed-off-by: Alexandre TORGUE <alexandre.torgue@st.com>
arch/arm/boot/dts/stm32429i-eval.dts

index 60c2cb6..bc50f6b 100644 (file)
        pinctrl-0 = <&i2c1_pins>;
        pinctrl-names = "default";
        status = "okay";
+
+       stmpe1600: stmpe1600@42 {
+               compatible = "st,stmpe1600";
+               reg = <0x42>;
+               irq-gpio = <&gpioi 8 0>;
+               irq-trigger = <3>;
+               interrupts = <8 3>;
+               interrupt-parent = <&exti>;
+               interrupt-controller;
+               wakeup-source;
+
+               stmpegpio: stmpe_gpio {
+                       compatible = "st,stmpe-gpio";
+                       gpio-controller;
+                       #gpio-cells = <2>;
+               };
+       };
 };
 
 &iwdg {