projects
/
openwrt
/
staging
/
dedeckeh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: Use dts alias based status led
[openwrt/staging/dedeckeh.git]
/
target
/
linux
/
ramips
/
dts
/
DB-WRT01.dts
diff --git
a/target/linux/ramips/dts/DB-WRT01.dts
b/target/linux/ramips/dts/DB-WRT01.dts
index 09efff6f50970fd2078cde698ab5a40a949d76c0..8c160f80f367db74a76fb986673b265522c7dcb2 100644
(file)
--- a/
target/linux/ramips/dts/DB-WRT01.dts
+++ b/
target/linux/ramips/dts/DB-WRT01.dts
@@
-9,10
+9,14
@@
compatible = "planex,db-wrt01", "ralink,mt7620a-soc";
model = "Planex DB-WRT01";
compatible = "planex,db-wrt01", "ralink,mt7620a-soc";
model = "Planex DB-WRT01";
+ aliases {
+ led-status = &led_power;
+ };
+
gpio-leds {
compatible = "gpio-leds";
gpio-leds {
compatible = "gpio-leds";
- power {
+
led_power:
power {
label = "db-wrt01:orange:power";
gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
};
label = "db-wrt01:orange:power";
gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
};