-/dts-v1/;
-
#include "rt3050.dtsi"
#include <dt-bindings/gpio/gpio.h>
compatible = "gpio-leds";
usb {
- label = "hw550-3g:green:usb";
+ label = "green:usb";
gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
trigger-sources = <&otg_port1>;
linux,default-trigger = "usbport";
};
3g {
- label = "hw550-3g:green:3g";
+ label = "green:3g";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
led_status: status {
- label = "hw550-3g:green:status";
+ label = "green:status";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
wps {
- label = "hw550-3g:green:wps";
+ label = "green:wps";
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};
};
ðernet {
- mtd-mac-address = <&factory 0x28>;
+ nvmem-cells = <&macaddr_factory_28>;
+ nvmem-cell-names = "mac-address";
};
&esw {
&otg {
status = "okay";
};
+
+&factory {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_factory_28: macaddr@28 {
+ reg = <0x28 0x6>;
+ };
+};