ramips: mt7628: use nvmem-layout

Will allow using mac-base.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2023-11-23 18:31:55 -08:00 committed by Christian Marangi
parent 3eb899fd36
commit 0a1d15642f
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7
61 changed files with 780 additions and 590 deletions

View File

@ -114,19 +114,22 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
macaddr_factory_2e: macaddr@2e { eeprom_factory_0: eeprom@0 {
reg = <0x2e 0x6>; reg = <0x0 0x400>;
};
macaddr_factory_2e: macaddr@2e {
reg = <0x2e 0x6>;
};
}; };
}; };

View File

@ -73,23 +73,26 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
eeprom_factory_8000: eeprom@8000 { eeprom_factory_0: eeprom@0 {
reg = <0x8000 0x200>; reg = <0x0 0x400>;
}; };
macaddr_factory_4: macaddr@4 { eeprom_factory_8000: eeprom@8000 {
reg = <0x4 0x6>; reg = <0x8000 0x200>;
};
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
}; };
}; };

View File

@ -75,19 +75,22 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
macaddr_factory_4: macaddr@4 { eeprom_factory_0: eeprom@0 {
reg = <0x4 0x6>; reg = <0x0 0x400>;
};
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
}; };
}; };

View File

@ -141,19 +141,22 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
eeprom_factory_8000: eeprom@8000 { eeprom_factory_0: eeprom@0 {
reg = <0x8000 0x200>; reg = <0x0 0x400>;
};
eeprom_factory_8000: eeprom@8000 {
reg = <0x8000 0x200>;
};
}; };
}; };

View File

@ -70,27 +70,30 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
eeprom_factory_8000: eeprom@8000 { eeprom_factory_0: eeprom@0 {
reg = <0x8000 0x200>; reg = <0x0 0x400>;
}; };
macaddr_factory_8004: macaddr@8004 { eeprom_factory_8000: eeprom@8000 {
reg = <0x8004 0x6>; reg = <0x8000 0x200>;
}; };
macaddr_factory_e000: macaddr@e000 { macaddr_factory_8004: macaddr@8004 {
reg = <0xe000 0x6>; reg = <0x8004 0x6>;
};
macaddr_factory_e000: macaddr@e000 {
reg = <0xe000 0x6>;
};
}; };
}; };

View File

@ -85,23 +85,26 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
eeprom_factory_8000: eeprom@8000 { eeprom_factory_0: eeprom@0 {
reg = <0x8000 0x200>; reg = <0x0 0x400>;
}; };
macaddr_factory_e000: macaddr@e000 { eeprom_factory_8000: eeprom@8000 {
reg = <0xe000 0x6>; reg = <0x8000 0x200>;
};
macaddr_factory_e000: macaddr@e000 {
reg = <0xe000 0x6>;
};
}; };
}; };

View File

@ -89,23 +89,26 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
eeprom_factory_8000: eeprom@8000 { eeprom_factory_0: eeprom@0 {
reg = <0x8000 0x200>; reg = <0x0 0x400>;
}; };
macaddr_factory_28: macaddr@28 { eeprom_factory_8000: eeprom@8000 {
reg = <0x28 0x6>; reg = <0x8000 0x200>;
};
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
}; };
}; };

View File

@ -116,6 +116,16 @@
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
read-only; read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
};
}; };
partition@50000 { partition@50000 {
@ -160,13 +170,3 @@
status = "okay"; status = "okay";
mediatek,cd-high; mediatek,cd-high;
}; };
&factory {
compatible = "nvmem-cells";
#address-cells = <1>;
#size-cells = <1>;
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
};

View File

@ -115,19 +115,22 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
macaddr_factory_28: macaddr@28 { eeprom_factory_0: eeprom@0 {
reg = <0x28 0x6>; reg = <0x0 0x400>;
};
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
}; };
}; };

View File

@ -120,6 +120,16 @@
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
read-only; read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
};
}; };
partition@50000 { partition@50000 {
@ -130,13 +140,3 @@
}; };
}; };
}; };
&factory {
compatible = "nvmem-cells";
#address-cells = <1>;
#size-cells = <1>;
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
};

View File

@ -102,23 +102,26 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
eeprom_factory_8000: eeprom@8000 { eeprom_factory_0: eeprom@0 {
reg = <0x8000 0x200>; reg = <0x0 0x400>;
}; };
macaddr_factory_28: macaddr@28 { eeprom_factory_8000: eeprom@8000 {
reg = <0x28 0x6>; reg = <0x8000 0x200>;
};
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
}; };
}; };

View File

@ -118,19 +118,22 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
macaddr_factory_4: macaddr@4 { eeprom_factory_0: eeprom@0 {
reg = <0x4 0x6>; reg = <0x0 0x400>;
};
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
}; };
}; };

View File

@ -90,19 +90,22 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
macaddr_factory_4: macaddr@4 { eeprom_factory_0: eeprom@0 {
reg = <0x4 0x6>; reg = <0x0 0x400>;
};
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
}; };
}; };

View File

@ -101,19 +101,22 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
macaddr_factory_4: macaddr@4 { eeprom_factory_0: eeprom@0 {
reg = <0x4 0x6>; reg = <0x0 0x400>;
};
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
}; };
}; };

View File

@ -67,19 +67,22 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
macaddr_factory_28: macaddr@28 { eeprom_factory_0: eeprom@0 {
reg = <0x28 0x6>; reg = <0x0 0x400>;
};
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
}; };
}; };

View File

@ -81,19 +81,22 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
macaddr_factory_28: macaddr@28 { eeprom_factory_0: eeprom@0 {
reg = <0x28 0x6>; reg = <0x0 0x400>;
};
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
}; };
}; };

View File

@ -57,27 +57,30 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
eeprom_factory_8000: eeprom@8000 { eeprom_factory_0: eeprom@0 {
reg = <0x8000 0x200>; reg = <0x0 0x400>;
}; };
macaddr_factory_4: macaddr@4 { eeprom_factory_8000: eeprom@8000 {
reg = <0x4 0x6>; reg = <0x8000 0x200>;
}; };
macaddr_factory_2e: macaddr@2e { macaddr_factory_4: macaddr@4 {
reg = <0x2e 0x6>; reg = <0x4 0x6>;
};
macaddr_factory_2e: macaddr@2e {
reg = <0x2e 0x6>;
};
}; };
}; };

View File

@ -43,15 +43,18 @@
#size-cells = <1>; #size-cells = <1>;
uboot: partition@0 { uboot: partition@0 {
compatible = "nvmem-cells";
label = "u-boot"; label = "u-boot";
reg = <0x0 0x20000>; reg = <0x0 0x20000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
macaddr_uboot_1fc20: macaddr@1fc20 { nvmem-layout {
reg = <0x1fc20 0x6>; compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
macaddr_uboot_1fc20: macaddr@1fc20 {
reg = <0x1fc20 0x6>;
};
}; };
}; };
@ -62,19 +65,22 @@
}; };
factory: partition@30000 { factory: partition@30000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x30000 0x10000>; reg = <0x30000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
eeprom_factory_8000: eeprom@8000 { eeprom_factory_0: eeprom@0 {
reg = <0x8000 0x200>; reg = <0x0 0x400>;
};
eeprom_factory_8000: eeprom@8000 {
reg = <0x8000 0x200>;
};
}; };
}; };

View File

@ -81,19 +81,22 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
macaddr_factory_28: macaddr@28 { eeprom_factory_0: eeprom@0 {
reg = <0x28 0x6>; reg = <0x0 0x400>;
};
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
}; };
}; };

View File

@ -130,23 +130,26 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "rf-eeprom"; label = "rf-eeprom";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
eeprom_factory_400: eeprom@400 { eeprom_factory_0: eeprom@0 {
reg = <0x400 0x4da8>; reg = <0x0 0x400>;
}; };
macaddr_factory_4: macaddr@4 { eeprom_factory_400: eeprom@400 {
reg = <0x4 0x6>; reg = <0x400 0x4da8>;
};
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
}; };
}; };

View File

@ -65,18 +65,21 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
macaddr_factory_4: macaddr@4 { eeprom_factory_0: eeprom@0 {
reg = <0x4 0x6>; reg = <0x0 0x400>;
};
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
}; };
}; };

View File

@ -78,23 +78,26 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
eeprom_factory_8000: eeprom@8000 { eeprom_factory_0: eeprom@0 {
reg = <0x8000 0x200>; reg = <0x0 0x400>;
}; };
macaddr_factory_28: macaddr@28 { eeprom_factory_8000: eeprom@8000 {
reg = <0x28 0x6>; reg = <0x8000 0x200>;
};
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
}; };
}; };

View File

@ -108,19 +108,22 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
macaddr_factory_2e: macaddr@2e { eeprom_factory_0: eeprom@0 {
reg = <0x2e 0x6>; reg = <0x0 0x400>;
};
macaddr_factory_2e: macaddr@2e {
reg = <0x2e 0x6>;
};
}; };
}; };

View File

@ -38,15 +38,18 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x400>;
};
}; };
}; };

View File

@ -43,32 +43,38 @@
}; };
factory: partition@1d800 { factory: partition@1d800 {
compatible = "nvmem-cells";
label = "factory_info"; label = "factory_info";
reg = <0x1d800 0x800>; reg = <0x1d800 0x800>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
macaddr_factory_d: macaddr@d { eeprom_factory_0: eeprom@0 {
reg = <0xd 0x6>; reg = <0x0 0x400>;
};
macaddr_factory_d: macaddr@d {
reg = <0xd 0x6>;
};
}; };
}; };
art: partition@1e000 { art: partition@1e000 {
compatible = "nvmem-cells";
label = "art"; label = "art";
reg = <0x1e000 0x2000>; reg = <0x1e000 0x2000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_art_1000: eeprom@1000 { nvmem-layout {
reg = <0x1000 0x200>; compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
eeprom_art_1000: eeprom@1000 {
reg = <0x1000 0x200>;
};
}; };
}; };

View File

@ -105,19 +105,22 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
macaddr_factory_28: macaddr@28 { eeprom_factory_0: eeprom@0 {
reg = <0x28 0x6>; reg = <0x0 0x400>;
};
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
}; };
}; };

View File

@ -68,23 +68,26 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
eeprom_factory_8000: eeprom@8000 { eeprom_factory_0: eeprom@0 {
reg = <0x8000 0x200>; reg = <0x0 0x400>;
}; };
macaddr_factory_4: macaddr@4 { eeprom_factory_8000: eeprom@8000 {
reg = <0x4 0x6>; reg = <0x8000 0x200>;
};
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
}; };
}; };

View File

@ -80,23 +80,26 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x20000>; reg = <0x40000 0x20000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
eeprom_factory_8000: eeprom@8000 { eeprom_factory_0: eeprom@0 {
reg = <0x8000 0x200>; reg = <0x0 0x400>;
}; };
macaddr_factory_4: macaddr@4 { eeprom_factory_8000: eeprom@8000 {
reg = <0x4 0x6>; reg = <0x8000 0x200>;
};
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
}; };
}; };

View File

@ -118,19 +118,22 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
macaddr_factory_28: macaddr@28 { eeprom_factory_0: eeprom@0 {
reg = <0x28 0x6>; reg = <0x0 0x400>;
};
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
}; };
}; };

View File

@ -91,6 +91,16 @@
label = "bdinfo"; label = "bdinfo";
reg = <0xfe0000 0x10000>; reg = <0xfe0000 0x10000>;
read-only; read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
macaddr_bdinfo_9: macaddr@9 {
reg = <0x9 0x6>;
};
};
}; };
partition@ff0000 { partition@ff0000 {
@ -117,13 +127,3 @@
&wmac { &wmac {
status = "okay"; status = "okay";
}; };
&bdinfo {
compatible = "nvmem-cells";
#address-cells = <1>;
#size-cells = <1>;
macaddr_bdinfo_9: macaddr@9 {
reg = <0x9 0x6>;
};
};

View File

@ -52,19 +52,22 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
macaddr_factory_28: macaddr@28 { eeprom_factory_0: eeprom@0 {
reg = <0x28 0x6>; reg = <0x0 0x400>;
};
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
}; };
}; };

View File

@ -138,23 +138,26 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
eeprom_factory_8000: eeprom@8000 { eeprom_factory_0: eeprom@0 {
reg = <0x8000 0x200>; reg = <0x0 0x400>;
}; };
macaddr_factory_4: macaddr@4 { eeprom_factory_8000: eeprom@8000 {
reg = <0x4 0x6>; reg = <0x8000 0x200>;
};
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
}; };
}; };

View File

@ -84,19 +84,22 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
macaddr_factory_28: macaddr@28 { eeprom_factory_0: eeprom@0 {
reg = <0x28 0x6>; reg = <0x0 0x400>;
};
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
}; };
}; };

View File

@ -75,19 +75,22 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
macaddr_factory_28: macaddr@28 { eeprom_factory_0: eeprom@0 {
reg = <0x28 0x6>; reg = <0x0 0x400>;
};
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
}; };
}; };

View File

@ -144,23 +144,26 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
eeprom_factory_8000: eeprom@8000 { eeprom_factory_0: eeprom@0 {
reg = <0x8000 0x200>; reg = <0x0 0x400>;
}; };
macaddr_factory_28: macaddr@28 { eeprom_factory_8000: eeprom@8000 {
reg = <0x28 0x6>; reg = <0x8000 0x200>;
};
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
}; };
}; };

View File

@ -53,15 +53,18 @@
}; };
rom: partition@7d0000 { rom: partition@7d0000 {
compatible = "nvmem-cells";
label = "rom"; label = "rom";
reg = <0x7d0000 0x10000>; reg = <0x7d0000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
macaddr_rom_f100: macaddr@f100 { nvmem-layout {
reg = <0xf100 0x6>; compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
macaddr_rom_f100: macaddr@f100 {
reg = <0xf100 0x6>;
};
}; };
}; };
@ -71,19 +74,22 @@
}; };
radio: partition@7f0000 { radio: partition@7f0000 {
compatible = "nvmem-cells";
label = "radio"; label = "radio";
reg = <0x7f0000 0x10000>; reg = <0x7f0000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_radio_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
eeprom_radio_8000: eeprom@8000 { eeprom_radio_0: eeprom@0 {
reg = <0x8000 0x200>; reg = <0x0 0x400>;
};
eeprom_radio_8000: eeprom@8000 {
reg = <0x8000 0x200>;
};
}; };
}; };
}; };

View File

@ -45,23 +45,26 @@
}; };
factory: partition@7d0000 { factory: partition@7d0000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x7d0000 0x30000>; reg = <0x7d0000 0x30000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
macaddr_factory_f100: macaddr@f100 { nvmem-layout {
reg = <0xf100 0x6>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
eeprom_factory_20000: eeprom@20000 { macaddr_factory_f100: macaddr@f100 {
reg = <0x20000 0x400>; reg = <0xf100 0x6>;
}; };
eeprom_factory_28000: eeprom@28000 { eeprom_factory_20000: eeprom@20000 {
reg = <0x28000 0x200>; reg = <0x20000 0x400>;
};
eeprom_factory_28000: eeprom@28000 {
reg = <0x28000 0x200>;
};
}; };
}; };
}; };

View File

@ -96,32 +96,38 @@
}; };
config: partition@7c0000 { config: partition@7c0000 {
compatible = "nvmem-cells";
label = "config"; label = "config";
reg = <0x7c0000 0x30000>; reg = <0x7c0000 0x30000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
macaddr_config_2008: macaddr@2008 { nvmem-layout {
reg = <0x2008 0x6>; compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
macaddr_config_2008: macaddr@2008 {
reg = <0x2008 0x6>;
};
}; };
}; };
radio: partition@7f0000 { radio: partition@7f0000 {
compatible = "nvmem-cells";
label = "radio"; label = "radio";
reg = <0x7f0000 0x10000>; reg = <0x7f0000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_radio_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
eeprom_radio_8000: eeprom@8000 { eeprom_radio_0: eeprom@0 {
reg = <0x8000 0x200>; reg = <0x0 0x400>;
};
eeprom_radio_8000: eeprom@8000 {
reg = <0x8000 0x200>;
};
}; };
}; };
}; };

View File

@ -33,15 +33,18 @@
}; };
config: partition@600000 { config: partition@600000 {
compatible = "nvmem-cells";
label = "config"; label = "config";
reg = <0x600000 0x50000>; reg = <0x600000 0x50000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
macaddr_config_10008: macaddr@10008 { nvmem-layout {
reg = <0x10008 0x6>; compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
macaddr_config_10008: macaddr@10008 {
reg = <0x10008 0x6>;
};
}; };
}; };
@ -51,19 +54,22 @@
*/ */
radio: partition@7f0000 { radio: partition@7f0000 {
compatible = "nvmem-cells";
label = "radio"; label = "radio";
reg = <0x7f0000 0x10000>; reg = <0x7f0000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_radio_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
eeprom_radio_8000: eeprom@8000 { eeprom_radio_0: eeprom@0 {
reg = <0x8000 0x200>; reg = <0x0 0x400>;
};
eeprom_radio_8000: eeprom@8000 {
reg = <0x8000 0x200>;
};
}; };
}; };
}; };

View File

@ -33,32 +33,38 @@
}; };
config: partition@7c0000 { config: partition@7c0000 {
compatible = "nvmem-cells";
label = "config"; label = "config";
reg = <0x7c0000 0x30000>; reg = <0x7c0000 0x30000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
macaddr_config_2008: macaddr@2008 { nvmem-layout {
reg = <0x2008 0x6>; compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
macaddr_config_2008: macaddr@2008 {
reg = <0x2008 0x6>;
};
}; };
}; };
radio: partition@7f0000 { radio: partition@7f0000 {
compatible = "nvmem-cells";
label = "radio"; label = "radio";
reg = <0x7f0000 0x10000>; reg = <0x7f0000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_radio_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
eeprom_radio_8000: eeprom@8000 { eeprom_radio_0: eeprom@0 {
reg = <0x8000 0x200>; reg = <0x0 0x400>;
};
eeprom_radio_8000: eeprom@8000 {
reg = <0x8000 0x200>;
};
}; };
}; };
}; };

View File

@ -121,19 +121,22 @@
}; };
factory: partition@7d0000 { factory: partition@7d0000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x7d0000 0x30000>; reg = <0x7d0000 0x30000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_20000: eeprom@20000 { nvmem-layout {
reg = <0x20000 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
macaddr_factory_f100: macaddr@f100 { eeprom_factory_20000: eeprom@20000 {
reg = <0xf100 0x6>; reg = <0x20000 0x400>;
};
macaddr_factory_f100: macaddr@f100 {
reg = <0xf100 0x6>;
};
}; };
}; };
}; };

View File

@ -93,11 +93,13 @@
}; };
&factory { &factory {
compatible = "nvmem-cells"; nvmem-layout {
#address-cells = <1>; compatible = "fixed-layout";
#size-cells = <1>; #address-cells = <1>;
#size-cells = <1>;
macaddr_factory_1f100: macaddr@1f100 { macaddr_factory_1f100: macaddr@1f100 {
reg = <0x1f100 0x6>; reg = <0x1f100 0x6>;
};
}; };
}; };

View File

@ -93,11 +93,13 @@
}; };
&factory { &factory {
compatible = "nvmem-cells"; nvmem-layout {
#address-cells = <1>; compatible = "fixed-layout";
#size-cells = <1>; #address-cells = <1>;
#size-cells = <1>;
macaddr_factory_1f100: macaddr@1f100 { macaddr_factory_1f100: macaddr@1f100 {
reg = <0x1f100 0x6>; reg = <0x1f100 0x6>;
};
}; };
}; };

View File

@ -70,19 +70,22 @@
}; };
factory: partition@3f0000 { factory: partition@3f0000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x3f0000 0x10000>; reg = <0x3f0000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
macaddr_factory_f100: macaddr@f100 { eeprom_factory_0: eeprom@0 {
reg = <0xf100 0x6>; reg = <0x0 0x400>;
};
macaddr_factory_f100: macaddr@f100 {
reg = <0xf100 0x6>;
};
}; };
}; };
}; };

View File

@ -81,19 +81,22 @@
}; };
factory: partition@3f0000 { factory: partition@3f0000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x3f0000 0x10000>; reg = <0x3f0000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
macaddr_factory_f100: macaddr@f100 { eeprom_factory_0: eeprom@0 {
reg = <0xf100 0x6>; reg = <0x0 0x400>;
};
macaddr_factory_f100: macaddr@f100 {
reg = <0xf100 0x6>;
};
}; };
}; };
}; };

View File

@ -38,19 +38,22 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
macaddr_factory_28: macaddr@28 { eeprom_factory_0: eeprom@0 {
reg = <0x28 0x6>; reg = <0x0 0x400>;
};
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
}; };
}; };

View File

@ -40,19 +40,22 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
macaddr_factory_28: macaddr@28 { eeprom_factory_0: eeprom@0 {
reg = <0x28 0x6>; reg = <0x0 0x400>;
};
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
}; };
}; };

View File

@ -109,23 +109,26 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
eeprom_factory_8000: eeprom@8000 { eeprom_factory_0: eeprom@0 {
reg = <0x8000 0x200>; reg = <0x0 0x400>;
}; };
macaddr_factory_28: macaddr@28 { eeprom_factory_8000: eeprom@8000 {
reg = <0x28 0x6>; reg = <0x8000 0x200>;
};
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
}; };
}; };

View File

@ -99,23 +99,26 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
eeprom_factory_8000: eeprom@8000 { eeprom_factory_0: eeprom@0 {
reg = <0x8000 0x200>; reg = <0x0 0x400>;
}; };
macaddr_factory_2e: macaddr@2e { eeprom_factory_8000: eeprom@8000 {
reg = <0x2e 0x6>; reg = <0x8000 0x200>;
};
macaddr_factory_2e: macaddr@2e {
reg = <0x2e 0x6>;
};
}; };
}; };

View File

@ -94,23 +94,26 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
eeprom_factory_8000: eeprom@8000 { eeprom_factory_0: eeprom@0 {
reg = <0x8000 0x200>; reg = <0x0 0x400>;
}; };
macaddr_factory_28: macaddr@28 { eeprom_factory_8000: eeprom@8000 {
reg = <0x28 0x6>; reg = <0x8000 0x200>;
};
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
}; };
}; };

View File

@ -133,23 +133,26 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
eeprom_factory_8000: eeprom@8000 { eeprom_factory_0: eeprom@0 {
reg = <0x8000 0x200>; reg = <0x0 0x400>;
}; };
macaddr_factory_28: macaddr@28 { eeprom_factory_8000: eeprom@8000 {
reg = <0x28 0x6>; reg = <0x8000 0x200>;
};
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
}; };
}; };

View File

@ -98,23 +98,26 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
eeprom_factory_8000: eeprom@8000 { eeprom_factory_0: eeprom@0 {
reg = <0x8000 0x200>; reg = <0x0 0x400>;
}; };
macaddr_factory_28: macaddr@28 { eeprom_factory_8000: eeprom@8000 {
reg = <0x28 0x6>; reg = <0x8000 0x200>;
};
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
}; };
}; };

View File

@ -128,23 +128,26 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
eeprom_factory_8000: eeprom@8000 { eeprom_factory_0: eeprom@0 {
reg = <0x8000 0x200>; reg = <0x0 0x400>;
}; };
macaddr_factory_28: macaddr@28 { eeprom_factory_8000: eeprom@8000 {
reg = <0x28 0x6>; reg = <0x8000 0x200>;
};
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
}; };
}; };

View File

@ -74,19 +74,22 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
macaddr_factory_28: macaddr@28 { eeprom_factory_0: eeprom@0 {
reg = <0x28 0x6>; reg = <0x0 0x400>;
};
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
}; };
}; };

View File

@ -117,19 +117,22 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
macaddr_factory_2e: macaddr@2e { eeprom_factory_0: eeprom@0 {
reg = <0x2e 0x6>; reg = <0x0 0x400>;
};
macaddr_factory_2e: macaddr@2e {
reg = <0x2e 0x6>;
};
}; };
}; };

View File

@ -48,19 +48,22 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
macaddr_factory_4: macaddr@4 { eeprom_factory_0: eeprom@0 {
reg = <0x4 0x6>; reg = <0x0 0x400>;
};
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
}; };
}; };

View File

@ -47,31 +47,34 @@
}; };
factory: partition@30000 { factory: partition@30000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x30000 0x10000>; reg = <0x30000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
eeprom_factory_8000: eeprom@8000 { eeprom_factory_0: eeprom@0 {
reg = <0x8000 0x200>; reg = <0x0 0x400>;
}; };
macaddr_factory_4: macaddr@4 { eeprom_factory_8000: eeprom@8000 {
reg = <0x4 0x6>; reg = <0x8000 0x200>;
}; };
macaddr_factory_28: macaddr@28 { macaddr_factory_4: macaddr@4 {
reg = <0x28 0x6>; reg = <0x4 0x6>;
}; };
macaddr_factory_8004: macaddr@8004 { macaddr_factory_28: macaddr@28 {
reg = <0x8004 0x6>; reg = <0x28 0x6>;
};
macaddr_factory_8004: macaddr@8004 {
reg = <0x8004 0x6>;
};
}; };
}; };

View File

@ -114,19 +114,22 @@
}; };
factory: partition@50000 { factory: partition@50000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x50000 0x10000>; reg = <0x50000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
macaddr_factory_28: macaddr@28 { eeprom_factory_0: eeprom@0 {
reg = <0x28 0x6>; reg = <0x0 0x400>;
};
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
}; };
}; };

View File

@ -106,19 +106,22 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
macaddr_factory_28: macaddr@28 { eeprom_factory_0: eeprom@0 {
reg = <0x28 0x6>; reg = <0x0 0x400>;
};
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
}; };
}; };

View File

@ -86,19 +86,22 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
macaddr_factory_2e: macaddr@2e { eeprom_factory_0: eeprom@0 {
reg = <0x2e 0x6>; reg = <0x0 0x400>;
};
macaddr_factory_2e: macaddr@2e {
reg = <0x2e 0x6>;
};
}; };
}; };

View File

@ -121,23 +121,26 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "rf-eeprom"; label = "rf-eeprom";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
read-only; read-only;
eeprom_factory_0: eeprom@0 { nvmem-layout {
reg = <0x0 0x400>; compatible = "fixed-layout";
}; #address-cells = <1>;
#size-cells = <1>;
eeprom_factory_8000: eeprom@8000 { eeprom_factory_0: eeprom@0 {
reg = <0x8000 0x200>; reg = <0x0 0x400>;
}; };
macaddr_factory_4: macaddr@4 { eeprom_factory_8000: eeprom@8000 {
reg = <0x4 0x6>; reg = <0x8000 0x200>;
};
macaddr_factory_4: macaddr@4 {
reg = <0x4 0x6>;
};
}; };
}; };