From: Hugues Fruchet Date: Wed, 7 Jun 2017 15:39:11 +0000 (+0200) Subject: ARM: dts: stm32: Enable STMPE1600 gpio expander of STM32F429-EVAL board X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c04b2e72af8d379b4d85f28e922bb1515d565891;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ARM: dts: stm32: Enable STMPE1600 gpio expander of STM32F429-EVAL board Enable STMPE1600 gpio expander of STM32F429-EVAL board. Signed-off-by: Hugues Fruchet Signed-off-by: Alexandre TORGUE --- diff --git a/arch/arm/boot/dts/stm32429i-eval.dts b/arch/arm/boot/dts/stm32429i-eval.dts index 60c2cb68d109..bc50f6be4d6a 100644 --- a/arch/arm/boot/dts/stm32429i-eval.dts +++ b/arch/arm/boot/dts/stm32429i-eval.dts @@ -164,6 +164,23 @@ 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 {