realtek: convert to nvmem-layout

nvmem-cells is deprecated.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2023-11-13 12:14:37 -08:00 committed by Christian Marangi
parent df167450a5
commit d1b5981038
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7
3 changed files with 24 additions and 15 deletions

View File

@ -114,12 +114,14 @@
reg = <0x1b00000 0x400000>;
};
partition@1f00000 {
compatible = "nvmem-cells";
label = "para";
reg = <0x1f00000 0x100000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
factory_macaddr: macaddr@fdff4 {
reg = <0xfdff4 0x6>;
@ -127,6 +129,7 @@
};
};
};
};
};
&ethernet0 {

View File

@ -72,12 +72,14 @@
reg = <0x1b00000 0x400000>;
};
partition@1f00000 {
compatible = "nvmem-cells";
label = "para";
reg = <0x1f00000 0x100000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
factory_macaddr: macaddr@fdff4 {
reg = <0xfdff4 0x6>;
@ -85,6 +87,7 @@
};
};
};
};
};
&ethernet0 {

View File

@ -262,12 +262,14 @@
reg = <0x1b00000 0x400000>;
};
partition@1f00000 {
compatible = "nvmem-cells";
label = "para";
reg = <0x1f00000 0x100000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
factory_macaddr: macaddr@fdff4 {
reg = <0xfdff4 0x6>;
@ -275,6 +277,7 @@
};
};
};
};
};
&ethernet0 {