mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 13:48:06 +00:00
realtek: convert to nvmem-layout
nvmem-cells is deprecated. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
df167450a5
commit
d1b5981038
@ -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>;
|
||||
@ -128,6 +130,7 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet0 {
|
||||
nvmem-cells = <&factory_macaddr>;
|
||||
|
@ -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>;
|
||||
@ -86,6 +88,7 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet0 {
|
||||
nvmem-cells = <&factory_macaddr>;
|
||||
|
@ -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>;
|
||||
@ -276,6 +278,7 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ðernet0 {
|
||||
nvmem-cells = <&factory_macaddr>;
|
||||
|
Loading…
Reference in New Issue
Block a user