From f67879078fdde59b5372b021eef6c74b832ca20e Mon Sep 17 00:00:00 2001 From: Anthoine Bourgeois Date: Tue, 4 Aug 2015 22:53:27 +0200 Subject: [PATCH] ARM: dts: omap3-devkit8000: Add PMU stat support This patch declares the LEDB usage to the PMU stat monitor. Signed-off-by: Anthoine Bourgeois [tony@atomide.com: added missing sign as noted by Anthoine] Signed-off-by: Tony Lindgren --- arch/arm/boot/dts/omap3-devkit8000.dts | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/omap3-devkit8000.dts b/arch/arm/boot/dts/omap3-devkit8000.dts index 540ae56b8671..c4a07fbfcc45 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 { @@ -109,6 +113,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"; }; -- 2.20.1