diff mbox

[2/7] ARM: dts: omap3-devkit8000: Add PMU stat support

Message ID 1438721612-7529-3-git-send-email-anthoine.bourgeois@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Anthoine Bourgeois Aug. 4, 2015, 8:53 p.m. UTC
This patch declares the LEDB usage to the PMU stat monitor.
---
 arch/arm/boot/dts/omap3-devkit8000.dts | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)
diff mbox

Patch

diff --git a/arch/arm/boot/dts/omap3-devkit8000.dts b/arch/arm/boot/dts/omap3-devkit8000.dts
index 07b0f5a..96c7020 100644
--- a/arch/arm/boot/dts/omap3-devkit8000.dts
+++ b/arch/arm/boot/dts/omap3-devkit8000.dts
@@ -41,8 +41,12 @@ 
 			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 {
@@ -110,6 +114,16 @@ 
 	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";
 };