From 99045dfc5989e732f671de5d145532f0fe8c0ce1 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Sat, 18 Aug 2018 11:38:13 +0200 Subject: ramips: express diag led handling via devicetree Use the default-state property to express the desired led handling in the devicetree source file instead of the userspace. Signed-off-by: Mathias Kresin --- target/linux/ramips/dts/HPM.dts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'target/linux/ramips/dts/HPM.dts') diff --git a/target/linux/ramips/dts/HPM.dts b/target/linux/ramips/dts/HPM.dts index 3a262f2b91..9d50697d88 100644 --- a/target/linux/ramips/dts/HPM.dts +++ b/target/linux/ramips/dts/HPM.dts @@ -34,11 +34,13 @@ power { label = "hpm:orange:power"; gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; + default-state = "on"; }; led_status: status { label = "hpm:green:status"; gpios = <&gpio0 21 GPIO_ACTIVE_LOW>; + default-state = "on"; }; eth { -- cgit v1.2.3