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
/
MAC1200RV2.dts
diff --git
a/target/linux/ramips/dts/MAC1200RV2.dts
b/target/linux/ramips/dts/MAC1200RV2.dts
index bcbe55f3f890fc0335747f19af4d706cf2473754..8c07105a5018a21b5ac81bb6d251acd1cdb73a0a 100644
(file)
--- a/
target/linux/ramips/dts/MAC1200RV2.dts
+++ b/
target/linux/ramips/dts/MAC1200RV2.dts
@@
-9,6
+9,10
@@
compatible = "mercury,mac1200r-v2", "mediatek,mt7628an-soc";
model = "Mercury MAC1200R v2";
compatible = "mercury,mac1200r-v2", "mediatek,mt7628an-soc";
model = "Mercury MAC1200R v2";
+ aliases {
+ led-status = &led_status;
+ };
+
chosen {
bootargs = "console=ttyS0,57600";
};
chosen {
bootargs = "console=ttyS0,57600";
};
@@
-20,7
+24,7
@@
gpio-leds {
compatible = "gpio-leds";
gpio-leds {
compatible = "gpio-leds";
- status {
+
led_status:
status {
label = "mac1200rv2:green:status";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
label = "mac1200rv2:green:status";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};