Signed-off-by: H. Nikolaus Schaller <h...@goldelico.com>
---
arch/arm/boot/dts/omap5-uevm.dts | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

diff --git a/arch/arm/boot/dts/omap5-uevm.dts b/arch/arm/boot/dts/omap5-uevm.dts
index 3b16e8f..0d4c8ff 100644
--- a/arch/arm/boot/dts/omap5-uevm.dts
+++ b/arch/arm/boot/dts/omap5-uevm.dts
@@ -342,6 +342,28 @@

                        ti,ldo6-vibrator;

+                       gpadc {
+                               compatible = "ti,palmas-gpadc";
+                               interrupts = <18 0
+                                             16 0
+                                             17 0>;
+                               ti,channel0-current-microamp = <5>;
+                               ti,channel3-current-microamp = <10>;
+                               iio_map {
+                                       ch1 {
+                                               ti,adc-channel-number = <1>;
+                                               ti,adc-consumer-device = 
"generic-adc-thermal.0";
+                                               ti,adc-consumer-channel 
="battery-temp-channel";
+                                       };
+
+                                       ch6 {
+                                               ti,adc-channel-number = <6>;
+                                               ti,adc-consumer-device = 
"palmas-battery";
+                                               ti,adc-consumer-channel 
="vbat_channel";
+                                       };
+                               };
+                       };
+
                        regulators {
                                smps123_reg: smps123 {
                                        /* VDD_OPP_MPU */
-- 
2.5.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to