projects
/
openwrt
/
staging
/
mkresin.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/mkresin.git]
/
target
/
linux
/
ramips
/
dts
/
WSR-1166.dts
diff --git
a/target/linux/ramips/dts/WSR-1166.dts
b/target/linux/ramips/dts/WSR-1166.dts
index 38edbde74584bf408eea9ba8408f0a3e46f56198..8207b0214e5afc3bb0053539155390a3bdcb740d 100644
(file)
--- a/
target/linux/ramips/dts/WSR-1166.dts
+++ b/
target/linux/ramips/dts/WSR-1166.dts
@@
-9,6
+9,10
@@
compatible = "buffalo,wsr-1166dhp", "mediatek,mt7621-soc";
model = "Buffalo WSR-1166DHP";
compatible = "buffalo,wsr-1166dhp", "mediatek,mt7621-soc";
model = "Buffalo WSR-1166DHP";
+ aliases {
+ led-status = &led_power;
+ };
+
memory@0 {
device_type = "memory";
reg = <0x0 0x8000000>;
memory@0 {
device_type = "memory";
reg = <0x0 0x8000000>;
@@
-46,7
+50,7
@@
gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
};
gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
};
- power {
+
led_power:
power {
label = "wsr-1166:green:power";
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
};
label = "wsr-1166:green:power";
gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
};