From 56e6ebdea42aab76d6ef54e0296c6bf946956684 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Sat, 18 Aug 2018 12:22:25 +0200 Subject: ramips: fix multi colour led handling All boards either have a multi colour led or a single lightpipe. It makes it impossible to handle the LEDs individual. Change the LED config for these boards to take it into account. Signed-off-by: Mathias Kresin --- target/linux/ramips/dts/PSG1218A.dts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'target/linux/ramips/dts/PSG1218A.dts') diff --git a/target/linux/ramips/dts/PSG1218A.dts b/target/linux/ramips/dts/PSG1218A.dts index f48ac1deb6..5065b79462 100644 --- a/target/linux/ramips/dts/PSG1218A.dts +++ b/target/linux/ramips/dts/PSG1218A.dts @@ -15,16 +15,19 @@ led_blue: blue { label = "psg1218a:blue:status"; gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; + default-state = "on"; }; yellow { label = "psg1218a:yellow:status"; gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; + default-state = "off"; }; red { label = "psg1218a:red:status"; - gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>; + gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>; + default-state = "off"; }; }; }; -- cgit v1.2.3