label = "info";
reg = <0x010000 0x010000>;
read-only;
+
+ nvmem-layout {
+ compatible = "fixed-layout";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ macaddr_info_8: macaddr@8 {
+ reg = <0x8 0x6>;
+ };
+ };
};
partition@20000 {
nvmem-cells = <&macaddr_info_8>;
nvmem-cell-names = "mac-address";
};
-
-&info {
- compatible = "nvmem-cells";
- #address-cells = <1>;
- #size-cells = <1>;
-
- macaddr_info_8: macaddr@8 {
- reg = <0x8 0x6>;
- };
-};