]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: dts: omap3-devkit8000: Add PMU stat support
authorAnthoine Bourgeois <anthoine.bourgeois@gmail.com>
Tue, 4 Aug 2015 20:53:27 +0000 (22:53 +0200)
committerTony Lindgren <tony@atomide.com>
Thu, 6 Aug 2015 07:32:58 +0000 (00:32 -0700)
This patch declares the LEDB usage to the PMU stat monitor.

Signed-off-by: Anthoine Bourgeois <anthoine.bourgeois@gmail.com>
[tony@atomide.com: added missing sign as noted by Anthoine]
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap3-devkit8000.dts

index 540ae56b86711d2643fe08cc4e5e36a8aa1154b1..c4a07fbfcc45657422a2165a7f44e2a9f1bf4a19 100644 (file)
                        gpios = <&gpio6 4 GPIO_ACTIVE_HIGH>;    /* 164 -> LED3 */
                        default-state = "on";
                        linux,default-trigger = "usr";
-                };
+               };
 
+               pmu_stat {
+                       label = "devkit8000::pmu_stat";
+                       gpios = <&twl_gpio 19 GPIO_ACTIVE_HIGH>; /* LEDB */
+               };
        };
 
        sound {
        status = "disabled";
 };
 
+&twl_gpio {
+       ti,use-leds;
+       /*
+        * pulldowns:
+        * BIT(1), BIT(2), BIT(6), BIT(7), BIT(8), BIT(13)
+        * BIT(15), BIT(16), BIT(17)
+        */
+       ti,pulldowns = <0x03a1c6>;
+};
+
 &wdt2 {
        status = "disabled";
 };