diff options
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r-- | target/linux/ramips/dts/DCH-M225.dts | 2 | ||||
-rw-r--r-- | target/linux/ramips/dts/DIR-615-D.dts | 2 | ||||
-rw-r--r-- | target/linux/ramips/dts/DIR-615-H1.dts | 2 | ||||
-rw-r--r-- | target/linux/ramips/dts/HPM.dts | 2 | ||||
-rw-r--r-- | target/linux/ramips/dts/PBR-M1.dts | 7 |
5 files changed, 12 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/DCH-M225.dts b/target/linux/ramips/dts/DCH-M225.dts index 1e32c6d194..b218436929 100644 --- a/target/linux/ramips/dts/DCH-M225.dts +++ b/target/linux/ramips/dts/DCH-M225.dts @@ -36,11 +36,13 @@ led_power: power { label = "dch-m225:green:power"; gpios = <&gpio1 5 GPIO_ACTIVE_LOW>; + default-state = "on"; }; status { label = "dch-m225:red:status"; gpios = <&gpio1 0 GPIO_ACTIVE_LOW>; + default-state = "off"; }; }; diff --git a/target/linux/ramips/dts/DIR-615-D.dts b/target/linux/ramips/dts/DIR-615-D.dts index 7931a26fa3..b59ff3c7c2 100644 --- a/target/linux/ramips/dts/DIR-615-D.dts +++ b/target/linux/ramips/dts/DIR-615-D.dts @@ -72,11 +72,13 @@ status { label = "dir-615-d:amber:status"; gpios = <&gpio0 8 GPIO_ACTIVE_LOW>; + default-state = "off"; }; led_status_green: status2 { label = "dir-615-d:green:status"; gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; + default-state = "on"; }; wan { diff --git a/target/linux/ramips/dts/DIR-615-H1.dts b/target/linux/ramips/dts/DIR-615-H1.dts index 4bfeb951e5..cbc3dadb74 100644 --- a/target/linux/ramips/dts/DIR-615-H1.dts +++ b/target/linux/ramips/dts/DIR-615-H1.dts @@ -19,11 +19,13 @@ status { label = "dir-615-h1:amber:status"; gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>; + default-state = "off"; }; led_status_green: status2 { label = "dir-615-h1:green:status"; gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>; + default-state = "on"; }; wan { 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 { diff --git a/target/linux/ramips/dts/PBR-M1.dts b/target/linux/ramips/dts/PBR-M1.dts index 39960481f0..537e5f208f 100644 --- a/target/linux/ramips/dts/PBR-M1.dts +++ b/target/linux/ramips/dts/PBR-M1.dts @@ -10,7 +10,7 @@ model = "PBR-M1"; aliases { - led-status = &led_power; + led-status = &led_sys; }; memory@0 { @@ -37,12 +37,13 @@ gpio-leds { compatible = "gpio-leds"; - led_power: power { + power { label = "pbr-m1:blue:power"; gpios = <&gpio0 31 GPIO_ACTIVE_LOW>; + default-state = "on"; }; - sys { + led_sys: sys { label = "pbr-m1:blue:sys"; gpios = <&gpio1 0 GPIO_ACTIVE_LOW>; }; |