ARM: dts: omap5-board-common: describe gpadc for Palmas
[cascardo/linux.git] / arch / arm / boot / dts / omap5-board-common.dtsi
index 902657d..d099060 100644 (file)
                        ti,backup-battery-charge-high-current;
                };
 
+               gpadc {
+                       compatible = "ti,palmas-gpadc";
+                       interrupts = <18 0
+                                     16 0
+                                     17 0>;
+                       #io-channel-cells = <1>;
+                       ti,channel0-current-microamp = <5>;
+                       ti,channel3-current-microamp = <10>;
+               };
+
                palmas_pmic {
                        compatible = "ti,palmas-pmic";
                        interrupt-parent = <&palmas>;
                        interrupts = <14 IRQ_TYPE_NONE>;
-                       interrupt-name = "short-irq";
+                       interrupt-names = "short-irq";
 
                        ti,ldo6-vibrator;