1. Remove unused macaddr NVMEM cells.
2. Fix "mac-base" compatible cells references.
Signed-off-by: Shiji Yang <yangshiji66@qq.com>
};
macaddr_factory_28: macaddr@28 {
- compatible = "mac-base";
reg = <0x28 0x6>;
- #nvmem-cell-cells = <1>;
};
};
};
};
macaddr_factory_e006: macaddr@e006 {
+ compatible = "mac-base";
reg = <0xe006 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
};
macaddr_factory_e006: macaddr@e006 {
+ compatible = "mac-base";
reg = <0xe006 0x6>;
+ #nvmem-cell-cells = <1>;
};
};
};
};
&gmac1 {
- nvmem-cells = <&macaddr_factory_e006>;
+ nvmem-cells = <&macaddr_factory_e006 0>;
nvmem-cell-names = "mac-address";
};
reg = <0x4 0x6>;
#nvmem-cell-cells = <1>;
};
-
- macaddr_factory_8004: macaddr@8004 {
- reg = <0x8004 0x6>;
- };
};
};
reg = <0x4 0x6>;
#nvmem-cell-cells = <1>;
};
-
- macaddr_factory_8004: macaddr@8004 {
- reg = <0x8004 0x6>;
- };
};
};
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
-
- macaddr_factory_8004: macaddr@8004 {
- reg = <0x8004 0x6>;
- };
};
};