projects
/
openwrt
/
staging
/
wigyori.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: convert to new LED color/function format where possible
[openwrt/staging/wigyori.git]
/
target
/
linux
/
ramips
/
dts
/
mt7628an_wrtnode_wrtnode2r.dts
diff --git
a/target/linux/ramips/dts/mt7628an_wrtnode_wrtnode2r.dts
b/target/linux/ramips/dts/mt7628an_wrtnode_wrtnode2r.dts
index 511354ae5e9562c039303999dda0c252723aefe2..37c2d1e9a4a0c750cb63cd321174cf2e742b39b8 100644
(file)
--- a/
target/linux/ramips/dts/mt7628an_wrtnode_wrtnode2r.dts
+++ b/
target/linux/ramips/dts/mt7628an_wrtnode_wrtnode2r.dts
@@
-18,7
+18,8
@@
pinctrl-0 = <&led_pins>;
led_indicator: indicator {
pinctrl-0 = <&led_pins>;
led_indicator: indicator {
- label = "blue:indicator";
+ function = LED_FUNCTION_INDICATOR;
+ color = <LED_COLOR_ID_BLUE>;
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
};
gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
};
};
@@
-48,4
+49,6
@@
reg = <1>;
spi-max-frequency = <10000000>;
};
reg = <1>;
spi-max-frequency = <10000000>;
};
+#include <dt-bindings/leds/common.h>
+
};
};