};
};
-&ehci {
- status = "okay";
-};
-
-&ohci {
- status = "okay";
-};
-
&state_default {
gpio {
groups = "i2c", "p0led_an", "p1led_an", "p2led_an", "p3led_an", "p4led_an", "uart1", "wdt";
};
&wmac {
- mtd-mac-address = <&factory 0x1f100>;
+ nvmem-cells = <&macaddr_factory_1f100>;
+ nvmem-cell-names = "mac-address";
};
ðernet {
- mtd-mac-address = <&factory 0x1f100>;
+ nvmem-cells = <&macaddr_factory_1f100>;
+ nvmem-cell-names = "mac-address";
+};
+
+&factory {
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_factory_1f100: macaddr@1f100 {
+ reg = <0x1f100 0x6>;
+ };
+ };
};