#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
/ {
compatible = "netgear,pr2000", "ralink,mt7620n-soc";
};
usb {
- label = "green:usb";
+ function = LED_FUNCTION_USB;
+ color = <LED_COLOR_ID_GREEN>;
gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
reg = <0x40000 0xf20000>;
};
- factory: partition@f60000 {
+ partition@f60000 {
label = "factory";
reg = <0xf60000 0x10000>;
read-only;
};
};
- board_data: partition@f70000 {
+ partition@f70000 {
label = "board_data";
reg = <0xf70000 0x10000>;
read-only;