projects
/
openwrt
/
staging
/
stintel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bcm63xx: convert to new LED color/function format where possible
[openwrt/staging/stintel.git]
/
target
/
linux
/
bcm63xx
/
dts
/
bcm6348-telsey-magic.dts
diff --git
a/target/linux/bcm63xx/dts/bcm6348-telsey-magic.dts
b/target/linux/bcm63xx/dts/bcm6348-telsey-magic.dts
index 00ce70f17bae417b4e94a942bb9470c38ecb6f0a..c9d9989168c4f16fb5df00210986a1f78869ced2 100644
(file)
--- a/
target/linux/bcm63xx/dts/bcm6348-telsey-magic.dts
+++ b/
target/linux/bcm63xx/dts/bcm6348-telsey-magic.dts
@@
-1,6
+1,7
@@
#include "bcm6348.dtsi"
#include <dt-bindings/input/input.h>
#include "bcm6348.dtsi"
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
/ {
model = "Alice W-Gate";
/ {
model = "Alice W-Gate";
@@
-15,7
+16,8
@@
compatible = "gpio-leds";
power {
compatible = "gpio-leds";
power {
- label = "green:power";
+ function = LED_FUNCTION_POWER;
+ color = <LED_COLOR_ID_GREEN>;
gpios = <&pinctrl 0 1>;
default-state = "on";
};
gpios = <&pinctrl 0 1>;
default-state = "on";
};
@@
-46,7
+48,8
@@
};
usb {
};
usb {
- label = "green:usb";
+ function = LED_FUNCTION_USB;
+ color = <LED_COLOR_ID_GREEN>;
gpios = <&pinctrl 35 1>;
};
};
gpios = <&pinctrl 35 1>;
};
};