ramips: mt7620a: convert to nvmem-layout

Allows using mac-base to replace mac-address-increment.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2023-11-25 13:20:44 -08:00 committed by Christian Marangi
parent 32c1ac8960
commit 40feb97e56
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7
74 changed files with 987 additions and 747 deletions

View File

@ -73,12 +73,14 @@
};
factory: partition@30000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x30000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -88,6 +90,7 @@
reg = <0x4 0x6>;
};
};
};
partition@40000 {
compatible = "denx,uimage";

View File

@ -133,12 +133,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -152,6 +154,7 @@
reg = <0x28 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -189,12 +189,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -204,6 +206,7 @@
reg = <0x28 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -165,6 +165,16 @@
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
};
};
partition@50000 {
@ -179,13 +189,3 @@
&wmac {
status = "disabled";
};
&factory {
compatible = "nvmem-cells";
#address-cells = <1>;
#size-cells = <1>;
macaddr_factory_28: macaddr@28 {
reg = <0x28 0x6>;
};
};

View File

@ -120,12 +120,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -135,6 +137,7 @@
reg = <0x8000 0x200>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -79,12 +79,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -98,6 +100,7 @@
reg = <0x28 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -82,12 +82,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -101,6 +103,7 @@
reg = <0x4 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -114,12 +114,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -133,6 +135,7 @@
reg = <0x4 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -114,12 +114,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -129,6 +131,7 @@
reg = <0x4 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -114,12 +114,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -133,6 +135,7 @@
reg = <0x4 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -81,12 +81,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -100,6 +102,7 @@
reg = <0x28 0x6>;
};
};
};
factory5g: partition@50000 {
label = "factory5g";

View File

@ -119,12 +119,14 @@
};
factory: partition@34000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x34000 0x4000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -134,6 +136,7 @@
reg = <0x4 0x6>;
};
};
};
nvram: partition@38000 {
label = "nvram";

View File

@ -94,12 +94,14 @@
};
config: partition@ff0000 {
compatible = "nvmem-cells";
label = "config";
reg = <0xff0000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_config_e05d: eeprom@e05d {
reg = <0xe05d 0x200>;
@ -111,6 +113,7 @@
};
};
};
};
};
&ehci {

View File

@ -91,12 +91,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "Factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -114,6 +116,7 @@
reg = <0x8004 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -115,12 +115,14 @@
};
config: partition@ff0000 {
compatible = "nvmem-cells";
label = "config";
reg = <0xff0000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_config_e083: eeprom@e083 {
reg = <0xe083 0x200>;
@ -132,6 +134,7 @@
};
};
};
};
};
&ehci {

View File

@ -115,6 +115,16 @@
label = "config";
reg = <0xff0000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
macaddr_config_e4a8: macaddr@e4a8 {
reg = <0xe4a8 0x6>;
};
};
};
};
};
@ -180,13 +190,3 @@
mediatek,port4-gmac;
mediatek,ephy-base = /bits/ 8 <2>;
};
&config {
compatible = "nvmem-cells";
#address-cells = <1>;
#size-cells = <1>;
macaddr_config_e4a8: macaddr@e4a8 {
reg = <0xe4a8 0x6>;
};
};

View File

@ -151,12 +151,14 @@
};
config: partition@ff0000 {
compatible = "nvmem-cells";
label = "config";
reg = <0xff0000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_config_e08e: eeprom@e08e {
reg = <0xe08e 0x200>;
@ -172,6 +174,7 @@
};
};
};
};
};
&state_default {

View File

@ -114,12 +114,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -133,6 +135,7 @@
reg = <0x28 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -79,17 +79,20 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_8000: eeprom@8000 {
reg = <0x8000 0x200>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -141,12 +141,14 @@
// Factory
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -164,6 +166,7 @@
reg = <0x2e 0x6>;
};
};
};
// Cimage
partition@50000 {

View File

@ -99,12 +99,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -118,6 +120,7 @@
reg = <0x4 0x6>;
};
};
};
partition@50000 {
label = "cimage";

View File

@ -91,12 +91,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -110,6 +112,7 @@
reg = <0x4 0x6>;
};
};
};
partition@50000 {
label = "cimage";

View File

@ -80,12 +80,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -99,6 +101,7 @@
reg = <0x4 0x6>;
};
};
};
partition@50000 {
label = "cimage";

View File

@ -116,25 +116,30 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
};
};
};
rf: partition@50000 {
compatible = "nvmem-cells";
label = "rf";
reg = <0x50000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_rf_0: eeprom@0 {
reg = <0x0 0x200>;
@ -144,6 +149,7 @@
reg = <0x4 0x6>;
};
};
};
partition@60000 {
label = "firmware";

View File

@ -98,25 +98,30 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
};
};
};
iNIC_rf: partition@50000 {
compatible = "nvmem-cells";
label = "iNIC_rf";
reg = <0x50000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_iNIC_rf_0: eeprom@0 {
reg = <0x0 0x200>;
@ -126,6 +131,7 @@
reg = <0x4 0x6>;
};
};
};
partition@60000 {
label = "firmware";

View File

@ -77,12 +77,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -96,6 +98,7 @@
reg = <0x4 0x6>;
};
};
};
partition@50000 {
compatible = "openwrt,uimage", "denx,uimage";

View File

@ -95,12 +95,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -110,6 +112,7 @@
reg = <0x4000 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -90,12 +90,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -105,6 +107,7 @@
reg = <0x4000 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -90,12 +90,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -109,6 +111,7 @@
reg = <0x4000 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -82,12 +82,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -101,6 +103,7 @@
reg = <0x4 0x6>;
};
};
};
firmware: partition@50000 {
compatible = "denx,uimage";

View File

@ -52,12 +52,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -71,6 +73,7 @@
reg = <0x4 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -109,12 +109,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -124,6 +126,7 @@
reg = <0x28 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -88,12 +88,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x30000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -107,6 +109,7 @@
reg = <0x10007 0x6>;
};
};
};
partition@70000 {
compatible = "openwrt,uimage", "denx,uimage";

View File

@ -91,12 +91,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x8000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -106,19 +108,23 @@
reg = <0x4 0x6>;
};
};
};
iNIC_rf: partition@48000 {
compatible = "nvmem-cells";
label = "iNIC_rf";
reg = <0x48000 0x8000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_iNIC_rf_0: eeprom@0 {
reg = <0x0 0x200>;
};
};
};
partition@50000 {
label = "NoUsed";

View File

@ -105,12 +105,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x8000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -120,19 +122,23 @@
reg = <0x4 0x6>;
};
};
};
iNIC_rf: partition@48000 {
compatible = "nvmem-cells";
label = "iNIC_rf";
reg = <0x48000 0x8000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_iNIC_rf_0: eeprom@0 {
reg = <0x0 0x200>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -29,12 +29,14 @@
#size-cells = <1>;
uboot: partition@0 {
compatible = "nvmem-cells";
label = "u-boot";
reg = <0x0 0x20000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_uboot_1f400: eeprom@1f400 {
reg = <0x1f400 0x200>;
@ -48,6 +50,7 @@
reg = <0x1fc20 0x6>;
};
};
};
partition@20000 {
label = "config";

View File

@ -73,12 +73,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -88,6 +90,7 @@
reg = <0x4 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -92,12 +92,14 @@
};
config: partition@ff0000 {
compatible = "nvmem-cells";
label = "config";
reg = <0xff0000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_config_e08a: eeprom@e08a {
reg = <0xe08a 0x200>;
@ -109,6 +111,7 @@
};
};
};
};
};
&ehci {

View File

@ -65,12 +65,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -84,6 +86,7 @@
reg = <0x28 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -55,12 +55,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -74,6 +76,7 @@
reg = <0x28 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -76,12 +76,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -91,6 +93,7 @@
reg = <0x28 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -54,12 +54,14 @@
};
factory: partition@30000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x30000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -69,6 +71,7 @@
reg = <0x4 0x6>;
};
};
};
partition@40000 {
compatible = "denx,uimage";

View File

@ -93,12 +93,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -108,6 +110,7 @@
reg = <0x28 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -112,12 +112,14 @@
};
art: partition@3f0000 {
compatible = "nvmem-cells";
label = "art";
reg = <0x3f0000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
macaddr_art_0: macaddr@0 {
reg = <0x0 0x6>;
@ -133,6 +135,7 @@
};
};
};
};
};
&ethernet {

View File

@ -98,12 +98,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -117,6 +119,7 @@
reg = <0x28 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -116,12 +116,14 @@
};
art: partition@7f0000 {
compatible = "nvmem-cells";
label = "art";
reg = <0x7f0000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
macaddr_art_0: macaddr@0 {
reg = <0x0 0x6>;
@ -137,6 +139,7 @@
};
};
};
};
};
&ethernet {

View File

@ -74,12 +74,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -93,6 +95,7 @@
reg = <0x4 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -73,12 +73,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -88,6 +90,7 @@
reg = <0x28 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -69,12 +69,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -90,6 +92,7 @@
};
};
};
};
};
&state_default {

View File

@ -74,12 +74,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -93,6 +95,7 @@
reg = <0x4 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -80,12 +80,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -95,6 +97,7 @@
reg = <0x4 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -64,12 +64,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -79,6 +81,7 @@
reg = <0x4 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -84,12 +84,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -103,6 +105,7 @@
reg = <0x4 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -99,12 +99,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -114,6 +116,7 @@
reg = <0x4 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -104,12 +104,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -123,6 +125,7 @@
reg = <0x4 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -50,17 +50,20 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_8000: eeprom@8000 {
reg = <0x8000 0x200>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -111,12 +111,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -126,6 +128,7 @@
reg = <0x4 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -103,12 +103,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -118,6 +120,7 @@
reg = <0x4 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -106,17 +106,20 @@
};
rom: partition@7d0000 {
compatible = "nvmem-cells";
label = "rom";
reg = <0x7d0000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
macaddr_rom_f100: macaddr@f100 {
reg = <0xf100 0x6>;
};
};
};
partition@7e0000 {
label = "romfile";
@ -125,12 +128,14 @@
};
radio: partition@7f0000 {
compatible = "nvmem-cells";
label = "radio";
reg = <0x7f0000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_radio_0: eeprom@0 {
reg = <0x0 0x200>;
@ -142,6 +147,7 @@
};
};
};
};
};
&ethernet {

View File

@ -139,17 +139,20 @@
};
rom: partition@7d0000 {
compatible = "nvmem-cells";
label = "rom";
reg = <0x7d0000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
macaddr_rom_f100: macaddr@f100 {
reg = <0xf100 0x6>;
};
};
};
partition@7e0000 {
label = "romfile";
@ -158,12 +161,14 @@
};
radio: partition@7f0000 {
compatible = "nvmem-cells";
label = "radio";
reg = <0x7f0000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_radio_0: eeprom@0 {
reg = <0x0 0x200>;
@ -175,6 +180,7 @@
};
};
};
};
};
&state_default {

View File

@ -69,17 +69,20 @@
};
rom: partition@7d0000 {
compatible = "nvmem-cells";
label = "rom";
reg = <0x7d0000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
macaddr_rom_f100: macaddr@f100 {
reg = <0xf100 0x6>;
};
};
};
partition@7e0000 {
label = "romfile";
@ -88,12 +91,14 @@
};
radio: partition@7f0000 {
compatible = "nvmem-cells";
label = "radio";
reg = <0x7f0000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_radio_0: eeprom@0 {
reg = <0x0 0x200>;
@ -105,6 +110,7 @@
};
};
};
};
};
&ethernet {

View File

@ -45,17 +45,20 @@
#size-cells = <1>;
uboot: partition@0 {
compatible = "nvmem-cells";
label = "u-boot";
reg = <0x0 0x20000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
macaddr_uboot_1fc00: macaddr@1fc00 {
reg = <0x1fc00 0x6>;
};
};
};
partition@20000 {
compatible = "tplink,firmware";
@ -70,12 +73,14 @@
};
radio: partition@7f0000 {
compatible = "nvmem-cells";
label = "radio";
reg = <0x7f0000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_radio_0: eeprom@0 {
reg = <0x0 0x200>;
@ -87,6 +92,7 @@
};
};
};
};
};
&ethernet {

View File

@ -72,12 +72,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -91,6 +93,7 @@
reg = <0x28 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -93,12 +93,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -112,6 +114,7 @@
reg = <0x28 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -121,12 +121,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -140,6 +142,7 @@
reg = <0x28 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -82,12 +82,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -101,6 +103,7 @@
reg = <0x4 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -98,12 +98,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -117,6 +119,7 @@
reg = <0x28 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -80,12 +80,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -99,6 +101,7 @@
reg = <0x28 0x6>;
};
};
};
firmware: partition@50000 {
compatible = "openwrt,uimage", "denx,uimage";

View File

@ -103,12 +103,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -118,6 +120,7 @@
reg = <0x4 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -80,12 +80,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -99,6 +101,7 @@
reg = <0x4 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -53,12 +53,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -72,6 +74,7 @@
reg = <0x28 0x6>;
};
};
};
firmware: partition@50000 {
compatible = "denx,uimage";

View File

@ -75,12 +75,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -90,6 +92,7 @@
reg = <0x4 0x6>;
};
};
};
firmware: partition@50000 {
compatible = "denx,uimage";

View File

@ -69,12 +69,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -84,6 +86,7 @@
reg = <0x4 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";

View File

@ -112,12 +112,14 @@
};
factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory";
reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 {
reg = <0x0 0x200>;
@ -127,6 +129,7 @@
reg = <0x4 0x6>;
};
};
};
partition@50000 {
compatible = "denx,uimage";