-/dts-v1/;
-
#include "rt5350.dtsi"
#include <dt-bindings/gpio/gpio.h>
compatible = "gpio-leds";
wlan {
- label = "miniembplug:red:wlan";
+ label = "red:wlan";
gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
};
mobile {
- label = "miniembplug:green:mobile";
+ label = "green:mobile";
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
trigger-sources = <&ohci_port1>, <&ehci_port1>;
linux,default-trigger = "usbport";
};
};
-&gpio0 {
- status = "okay";
-};
-
&spi0 {
status = "okay";
};
ðernet {
- mtd-mac-address = <&factory 0x4>;
+ nvmem-cells = <&macaddr_factory_4>;
+ nvmem-cell-names = "mac-address";
};
&esw {
ralink,mtd-eeprom = <&factory 0x0>;
};
-&ehci {
- status = "okay";
-};
+&factory {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
-&ohci {
- status = "okay";
+ macaddr_factory_4: macaddr@4 {
+ reg = <0x4 0x6>;
+ };
};