&state_default {
gpio {
- groups = "wdt", "gpio", "wled_an", "p0led_an", "p1led_an", "i2s";
+ groups = "wdt", "gpio", "wled_an", "p0led_an", "p1led_an", "i2s", "i2c";
function = "gpio";
};
};
ðernet {
- mtd-mac-address = <&factory 0x4>;
+ nvmem-cells = <&macaddr_factory_4>;
+ nvmem-cell-names = "mac-address";
};
&wmac {
status = "okay";
+
+ mediatek,mtd-eeprom = <&factory 0x0>;
};
&spi0 {
status = "okay";
};
-&ehci {
- status = "okay";
-};
+&factory {
+ compatible = "nvmem-cells";
+ #address-cells = <1>;
+ #size-cells = <1>;
-&ohci {
- status = "okay";
+ macaddr_factory_4: macaddr@4 {
+ reg = <0x4 0x6>;
+ };
};