ARM: dts: Hook up IRQ for PMIC on Arndale
authorMark Brown <broonie@linaro.org>
Wed, 24 Jul 2013 01:55:16 +0000 (10:55 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Wed, 24 Jul 2013 01:55:16 +0000 (10:55 +0900)
The out of tree code configures a pullup on the line indicating that it
is an active low interrupt.

Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/boot/dts/exynos5250-arndale.dts

index abc7272c7afd3be2a5b7875a3dcb180dd0c478d8..dab40aebb94a576bfbcf0761be09ec6ff7fafb2e 100644 (file)
@@ -11,6 +11,7 @@
 
 /dts-v1/;
 #include "exynos5250.dtsi"
+#include <dt-bindings/interrupt-controller/irq.h>
 
 / {
        model = "Insignal Arndale evaluation board based on EXYNOS5250";
@@ -37,6 +38,8 @@
                s5m8767_pmic@66 {
                        compatible = "samsung,s5m8767-pmic";
                        reg = <0x66>;
+                       interrupt-parent = <&gpx3>;
+                       interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
 
                        s5m8767,pmic-buck2-dvs-voltage = <1300000>;
                        s5m8767,pmic-buck3-dvs-voltage = <1100000>;