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
61 changed files with 780 additions and 590 deletions

View File

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

View File

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

View File

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

View File

@@ -141,12 +141,14 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 { eeprom_factory_0: eeprom@0 {
reg = <0x0 0x400>; reg = <0x0 0x400>;
@@ -156,6 +158,7 @@
reg = <0x8000 0x200>; reg = <0x8000 0x200>;
}; };
}; };
};
partition@50000 { partition@50000 {
compatible = "brcm,trx"; compatible = "brcm,trx";

View File

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

View File

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

View File

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

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,12 +115,14 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 { eeprom_factory_0: eeprom@0 {
reg = <0x0 0x400>; reg = <0x0 0x400>;
@@ -130,6 +132,7 @@
reg = <0x28 0x6>; reg = <0x28 0x6>;
}; };
}; };
};
partition@50000 { partition@50000 {
compatible = "denx,uimage"; compatible = "denx,uimage";

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

View File

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

View File

@@ -90,12 +90,14 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 { eeprom_factory_0: eeprom@0 {
reg = <0x0 0x400>; reg = <0x0 0x400>;
@@ -105,6 +107,7 @@
reg = <0x4 0x6>; reg = <0x4 0x6>;
}; };
}; };
};
/* /*
* Firmware-partition size is model-specific * Firmware-partition size is model-specific

View File

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

View File

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

View File

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

View File

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

View File

@@ -43,17 +43,20 @@
#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>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
read-only;
macaddr_uboot_1fc20: macaddr@1fc20 { macaddr_uboot_1fc20: macaddr@1fc20 {
reg = <0x1fc20 0x6>; reg = <0x1fc20 0x6>;
}; };
}; };
};
partition@20000 { partition@20000 {
label = "config"; label = "config";
@@ -62,12 +65,14 @@
}; };
factory: partition@30000 { factory: partition@30000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x30000 0x10000>; reg = <0x30000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 { eeprom_factory_0: eeprom@0 {
reg = <0x0 0x400>; reg = <0x0 0x400>;
@@ -77,6 +82,7 @@
reg = <0x8000 0x200>; reg = <0x8000 0x200>;
}; };
}; };
};
partition@40000 { partition@40000 {
compatible = "denx,uimage"; compatible = "denx,uimage";

View File

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

View File

@@ -130,12 +130,14 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "rf-eeprom"; label = "rf-eeprom";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 { eeprom_factory_0: eeprom@0 {
reg = <0x0 0x400>; reg = <0x0 0x400>;
@@ -149,6 +151,7 @@
reg = <0x4 0x6>; reg = <0x4 0x6>;
}; };
}; };
};
firmware1: partition@50000 { firmware1: partition@50000 {
label = "firmware_1"; label = "firmware_1";

View File

@@ -65,9 +65,11 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
@@ -79,6 +81,7 @@
reg = <0x4 0x6>; reg = <0x4 0x6>;
}; };
}; };
};
partition@50000 { partition@50000 {
compatible = "denx,uimage"; compatible = "denx,uimage";

View File

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

View File

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

View File

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

View File

@@ -43,12 +43,14 @@
}; };
factory: partition@1d800 { factory: partition@1d800 {
compatible = "nvmem-cells";
label = "factory_info"; label = "factory_info";
reg = <0x1d800 0x800>; reg = <0x1d800 0x800>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 { eeprom_factory_0: eeprom@0 {
reg = <0x0 0x400>; reg = <0x0 0x400>;
@@ -58,19 +60,23 @@
reg = <0xd 0x6>; reg = <0xd 0x6>;
}; };
}; };
};
art: partition@1e000 { art: partition@1e000 {
compatible = "nvmem-cells";
label = "art"; label = "art";
reg = <0x1e000 0x2000>; reg = <0x1e000 0x2000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
read-only;
eeprom_art_1000: eeprom@1000 { eeprom_art_1000: eeprom@1000 {
reg = <0x1000 0x200>; reg = <0x1000 0x200>;
}; };
}; };
};
partition@20000 { partition@20000 {
label = "config"; label = "config";

View File

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

View File

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

View File

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

View File

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

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,12 +52,14 @@
}; };
factory: partition@40000 { factory: partition@40000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x40000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 { eeprom_factory_0: eeprom@0 {
reg = <0x0 0x400>; reg = <0x0 0x400>;
@@ -67,6 +69,7 @@
reg = <0x28 0x6>; reg = <0x28 0x6>;
}; };
}; };
};
partition@50000 { partition@50000 {
compatible = "denx,uimage"; compatible = "denx,uimage";

View File

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

View File

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

View File

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

View File

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

View File

@@ -53,17 +53,20 @@
}; };
rom: partition@7d0000 { rom: partition@7d0000 {
compatible = "nvmem-cells";
label = "rom"; label = "rom";
reg = <0x7d0000 0x10000>; reg = <0x7d0000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
read-only;
macaddr_rom_f100: macaddr@f100 { macaddr_rom_f100: macaddr@f100 {
reg = <0xf100 0x6>; reg = <0xf100 0x6>;
}; };
}; };
};
partition@7e0000 { partition@7e0000 {
label = "romfile"; label = "romfile";
@@ -71,12 +74,14 @@
}; };
radio: partition@7f0000 { radio: partition@7f0000 {
compatible = "nvmem-cells";
label = "radio"; label = "radio";
reg = <0x7f0000 0x10000>; reg = <0x7f0000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
read-only;
eeprom_radio_0: eeprom@0 { eeprom_radio_0: eeprom@0 {
reg = <0x0 0x400>; reg = <0x0 0x400>;
@@ -89,6 +94,7 @@
}; };
}; };
}; };
};
&wmac { &wmac {
status = "okay"; status = "okay";

View File

@@ -45,12 +45,14 @@
}; };
factory: partition@7d0000 { factory: partition@7d0000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x7d0000 0x30000>; reg = <0x7d0000 0x30000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
read-only;
macaddr_factory_f100: macaddr@f100 { macaddr_factory_f100: macaddr@f100 {
reg = <0xf100 0x6>; reg = <0xf100 0x6>;
@@ -67,6 +69,7 @@
}; };
}; };
}; };
};
&wmac { &wmac {
status = "okay"; status = "okay";

View File

@@ -96,25 +96,30 @@
}; };
config: partition@7c0000 { config: partition@7c0000 {
compatible = "nvmem-cells";
label = "config"; label = "config";
reg = <0x7c0000 0x30000>; reg = <0x7c0000 0x30000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
read-only;
macaddr_config_2008: macaddr@2008 { macaddr_config_2008: macaddr@2008 {
reg = <0x2008 0x6>; reg = <0x2008 0x6>;
}; };
}; };
};
radio: partition@7f0000 { radio: partition@7f0000 {
compatible = "nvmem-cells";
label = "radio"; label = "radio";
reg = <0x7f0000 0x10000>; reg = <0x7f0000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
read-only;
eeprom_radio_0: eeprom@0 { eeprom_radio_0: eeprom@0 {
reg = <0x0 0x400>; reg = <0x0 0x400>;
@@ -127,6 +132,7 @@
}; };
}; };
}; };
};
&state_default { &state_default {
gpio { gpio {

View File

@@ -33,17 +33,20 @@
}; };
config: partition@600000 { config: partition@600000 {
compatible = "nvmem-cells";
label = "config"; label = "config";
reg = <0x600000 0x50000>; reg = <0x600000 0x50000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
read-only;
macaddr_config_10008: macaddr@10008 { macaddr_config_10008: macaddr@10008 {
reg = <0x10008 0x6>; reg = <0x10008 0x6>;
}; };
}; };
};
/* /*
The flash space between 0x650000 and 0x7f0000 is blank in the The flash space between 0x650000 and 0x7f0000 is blank in the
@@ -51,12 +54,14 @@
*/ */
radio: partition@7f0000 { radio: partition@7f0000 {
compatible = "nvmem-cells";
label = "radio"; label = "radio";
reg = <0x7f0000 0x10000>; reg = <0x7f0000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
read-only;
eeprom_radio_0: eeprom@0 { eeprom_radio_0: eeprom@0 {
reg = <0x0 0x400>; reg = <0x0 0x400>;
@@ -69,6 +74,7 @@
}; };
}; };
}; };
};
&wlan5g { &wlan5g {
nvmem-cells = <&eeprom_radio_8000>, <&macaddr_config_10008>; nvmem-cells = <&eeprom_radio_8000>, <&macaddr_config_10008>;

View File

@@ -33,25 +33,30 @@
}; };
config: partition@7c0000 { config: partition@7c0000 {
compatible = "nvmem-cells";
label = "config"; label = "config";
reg = <0x7c0000 0x30000>; reg = <0x7c0000 0x30000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
read-only;
macaddr_config_2008: macaddr@2008 { macaddr_config_2008: macaddr@2008 {
reg = <0x2008 0x6>; reg = <0x2008 0x6>;
}; };
}; };
};
radio: partition@7f0000 { radio: partition@7f0000 {
compatible = "nvmem-cells";
label = "radio"; label = "radio";
reg = <0x7f0000 0x10000>; reg = <0x7f0000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
read-only;
eeprom_radio_0: eeprom@0 { eeprom_radio_0: eeprom@0 {
reg = <0x0 0x400>; reg = <0x0 0x400>;
@@ -64,6 +69,7 @@
}; };
}; };
}; };
};
&wlan5g { &wlan5g {
nvmem-cells = <&eeprom_radio_8000>, <&macaddr_config_2008>; nvmem-cells = <&eeprom_radio_8000>, <&macaddr_config_2008>;

View File

@@ -121,12 +121,14 @@
}; };
factory: partition@7d0000 { factory: partition@7d0000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x7d0000 0x30000>; reg = <0x7d0000 0x30000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
read-only;
eeprom_factory_20000: eeprom@20000 { eeprom_factory_20000: eeprom@20000 {
reg = <0x20000 0x400>; reg = <0x20000 0x400>;
@@ -139,6 +141,7 @@
}; };
}; };
}; };
};
&state_default { &state_default {
gpio { gpio {

View File

@@ -93,7 +93,8 @@
}; };
&factory { &factory {
compatible = "nvmem-cells"; nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
@@ -101,3 +102,4 @@
reg = <0x1f100 0x6>; reg = <0x1f100 0x6>;
}; };
}; };
};

View File

@@ -93,7 +93,8 @@
}; };
&factory { &factory {
compatible = "nvmem-cells"; nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
@@ -101,3 +102,4 @@
reg = <0x1f100 0x6>; reg = <0x1f100 0x6>;
}; };
}; };
};

View File

@@ -70,12 +70,14 @@
}; };
factory: partition@3f0000 { factory: partition@3f0000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x3f0000 0x10000>; reg = <0x3f0000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 { eeprom_factory_0: eeprom@0 {
reg = <0x0 0x400>; reg = <0x0 0x400>;
@@ -88,6 +90,7 @@
}; };
}; };
}; };
};
&ehci { &ehci {
status = "disabled"; status = "disabled";

View File

@@ -81,12 +81,14 @@
}; };
factory: partition@3f0000 { factory: partition@3f0000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x3f0000 0x10000>; reg = <0x3f0000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 { eeprom_factory_0: eeprom@0 {
reg = <0x0 0x400>; reg = <0x0 0x400>;
@@ -99,6 +101,7 @@
}; };
}; };
}; };
};
&ehci { &ehci {
status = "disabled"; status = "disabled";

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -47,12 +47,14 @@
}; };
factory: partition@30000 { factory: partition@30000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x30000 0x10000>; reg = <0x30000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 { eeprom_factory_0: eeprom@0 {
reg = <0x0 0x400>; reg = <0x0 0x400>;
@@ -74,6 +76,7 @@
reg = <0x8004 0x6>; reg = <0x8004 0x6>;
}; };
}; };
};
partition@40000 { partition@40000 {
label = "crash"; label = "crash";

View File

@@ -114,12 +114,14 @@
}; };
factory: partition@50000 { factory: partition@50000 {
compatible = "nvmem-cells";
label = "factory"; label = "factory";
reg = <0x50000 0x10000>; reg = <0x50000 0x10000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
read-only;
eeprom_factory_0: eeprom@0 { eeprom_factory_0: eeprom@0 {
reg = <0x0 0x400>; reg = <0x0 0x400>;
@@ -129,6 +131,7 @@
reg = <0x28 0x6>; reg = <0x28 0x6>;
}; };
}; };
};
partition@60000 { partition@60000 {
label = "crash"; label = "crash";

View File

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

View File

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

View File

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