label = "romfile";
reg = <0x7d0000 0x010000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_romfile_f100: macaddr@f100 {
+ reg = <0xf100 0x6>;
+ };
+ };
};
partition@7e0000 {
&usb0 {
status = "okay";
};
-
-&romfile {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_romfile_f100: macaddr@f100 {
- reg = <0xf100 0x6>;
- };
-};