projects
/
openwrt
/
openwrt.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/openwrt.git]
/
target
/
linux
/
ramips
/
dts
/
RBM33G.dts
diff --git
a/target/linux/ramips/dts/RBM33G.dts
b/target/linux/ramips/dts/RBM33G.dts
index ed2cb841dd68ee05b716d947ec2d06ed137a1153..cc6da267a2b642582819fb21271a0a7896e483c9 100644
(file)
--- a/
target/linux/ramips/dts/RBM33G.dts
+++ b/
target/linux/ramips/dts/RBM33G.dts
@@
-9,6
+9,10
@@
compatible = "mikrotik,rbm33g", "mediatek,mt7621-soc";
model = "MikroTik RBM33G";
compatible = "mikrotik,rbm33g", "mediatek,mt7621-soc";
model = "MikroTik RBM33G";
+ aliases {
+ led-status = &led_usr;
+ };
+
memory@0 {
device_type = "memory";
reg = <0x0 0x10000000>;
memory@0 {
device_type = "memory";
reg = <0x0 0x10000000>;
@@
-21,7
+25,7
@@
gpio-leds {
compatible = "gpio-leds";
gpio-leds {
compatible = "gpio-leds";
- usr {
+
led_usr:
usr {
label = "rbm33g:green:usr";
gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
};
label = "rbm33g:green:usr";
gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
};