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/Newifi-D1.dts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'target/linux/ramips/dts/Newifi-D1.dts') diff --git a/target/linux/ramips/dts/Newifi-D1.dts b/target/linux/ramips/dts/Newifi-D1.dts index 9fe0ea3b6a..1aebc1b7f6 100644 --- a/target/linux/ramips/dts/Newifi-D1.dts +++ b/target/linux/ramips/dts/Newifi-D1.dts @@ -28,16 +28,19 @@ status-red { label = "newifi-d1:red:status"; gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; + default-state = "off"; }; status-green { label = "newifi-d1:green:status"; gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; + default-state = "off"; }; led_blue: status-blue { label = "newifi-d1:blue:status"; gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; + default-state = "on"; }; }; -- cgit v1.2.3