compatible = "gpio-leds";
led_wlan: wlan {
- label = "ht-tm02:blue:wlan";
+ label = "blue:wlan";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
lan {
- label = "ht-tm02:green:lan";
+ label = "green:lan";
gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
};
};
};
};
-&gpio0 {
- status = "okay";
-};
-
&spi0 {
status = "okay";
};
ðernet {
- mtd-mac-address = <&factory 0x28>;
+ nvmem-cells = <&macaddr_factory_28>;
+ 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_28: macaddr@28 {
+ reg = <0x28 0x6>;
+ };
};