ipq40xx: convert to nvmem-layout

Allows replacing mac-address-increment with mac-base.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2023-11-13 11:23:12 -08:00 committed by Christian Marangi
parent 14467fd515
commit fe8dd23882
No known key found for this signature in database
GPG key ID: AC001D09ADBFEAD7
44 changed files with 718 additions and 550 deletions

View file

@ -149,10 +149,20 @@
/* partitions are passed via bootloader */
partitions {
partition-art {
compatible = "nvmem-cells";
label = "0:ART";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
label = "0:ART";
macaddr_gmac0: macaddr@0 {
reg = <0x0 0x6>;
};
macaddr_gmac1: macaddr@6 {
reg = <0x6 0x6>;
};
precal_art_1000: precal@1000 {
reg = <0x1000 0x2f20>;
@ -161,13 +171,6 @@
precal_art_5000: precal@5000 {
reg = <0x5000 0x2f20>;
};
macaddr_gmac0: macaddr@0 {
reg = <0x0 0x6>;
};
macaddr_gmac1: macaddr@6 {
reg = <0x6 0x6>;
};
};
};

View file

@ -197,7 +197,9 @@
label = "ART";
reg = <0x00170000 0x00010000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -209,6 +211,7 @@
reg = <0x5000 0x2f20>;
};
};
};
partition@180000 {
label = "priv_data1";

View file

@ -199,7 +199,8 @@
reg = <0x00170000 0x00010000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -219,6 +220,7 @@
reg = <0x5000 0x2f20>;
};
};
};
partition9@580000 {
compatible = "denx,fit";

View file

@ -226,7 +226,9 @@
label = "ART";
reg = <0x00160000 0x00010000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -238,6 +240,7 @@
reg = <0x5000 0x2f20>;
};
};
};
u_env@170000 {
label = "u_env";
reg = <0x00170000 0x00020000>;

View file

@ -176,7 +176,9 @@
label = "0:ART";
reg = <0x00180000 0x00010000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -188,6 +190,7 @@
reg = <0x5000 0x2f20>;
};
};
};
partition8@190000 {
compatible = "denx,fit";
label = "firmware";

View file

@ -226,7 +226,9 @@
label = "0:ART";
reg = <0x00170000 0x00010000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -240,6 +242,7 @@
};
};
};
};
flash@1 {
compatible = "spi-nand";

View file

@ -240,8 +240,10 @@
partition7@170000 {
label = "ART";
reg = <0x00170000 0x00010000>;
compatible = "nvmem-cells";
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -253,6 +255,7 @@
reg = <0x5000 0x2f20>;
};
};
};
partition8@180000 {
label = "config";
@ -267,11 +270,12 @@
};
partition10@1a0000 {
compatible = "nvmem-cells";
label = "dnidata";
reg = <0x001a0000 0x00010000>;
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -283,6 +287,7 @@
reg = <0xc 0x6>;
};
};
};
partition11@1b0000 {
compatible = "denx,fit";

View file

@ -176,7 +176,19 @@
label = "ART";
reg = <0x00170000 0x00010000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
macaddr_gmac0: macaddr@0 {
reg = <0x0 0x6>;
};
macaddr_gmac1: macaddr@6 {
reg = <0x6 0x6>;
};
precal_art_1000: precal@1000 {
reg = <0x1000 0x2f20>;
@ -185,13 +197,6 @@
precal_art_5000: precal@5000 {
reg = <0x5000 0x2f20>;
};
macaddr_gmac0: macaddr@0 {
reg = <0x0 0x6>;
};
macaddr_gmac1: macaddr@6 {
reg = <0x6 0x6>;
};
};

View file

@ -175,7 +175,9 @@
label = "ART";
reg = <0x00170000 0x00010000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -197,6 +199,7 @@
};
};
};
};
spi-nand@1 {
status = "okay";

View file

@ -185,7 +185,9 @@
label = "ART";
reg = <0x00170000 0x00010000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -199,6 +201,7 @@
};
};
};
};
spi-nand@1 {
status = "okay";

View file

@ -116,7 +116,9 @@
label = "ART";
reg = <0x140000 0x140000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -128,12 +130,15 @@
reg = <0x5000 0x2f20>;
};
};
};
partition@280000 {
label = "mac";
reg = <0x280000 0x140000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -141,6 +146,7 @@
reg = <0x0 0x6>;
};
};
};
partition@3c0000 {
label = "cfg-param";

View file

@ -116,7 +116,9 @@
label = "ART";
reg = <0x140000 0x140000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -128,12 +130,15 @@
reg = <0x5000 0x2f20>;
};
};
};
partition@280000 {
label = "mac";
reg = <0x280000 0x140000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -141,6 +146,7 @@
reg = <0x0 0x6>;
};
};
};
partition@3c0000 {
label = "cfg-param";

View file

@ -133,7 +133,9 @@
label = "ART";
reg = <0xa0000 0x80000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -145,12 +147,15 @@
reg = <0x5000 0x2f20>;
};
};
};
partition@120000 {
label = "mac";
reg = <0x120000 0x80000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -158,6 +163,7 @@
reg = <0x0 0x6>;
};
};
};
partition@1a0000 {
label = "reserved2";

View file

@ -141,10 +141,20 @@
/* partitions are passed via bootloader */
partitions {
partition-art {
compatible = "nvmem-cells";
label = "0:ART";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
label = "0:ART";
macaddr_gmac0: macaddr@0 {
reg = <0x0 0x6>;
};
macaddr_gmac1: macaddr@6 {
reg = <0x6 0x6>;
};
precal_art_1000: precal@1000 {
reg = <0x1000 0x2f20>;
@ -153,13 +163,6 @@
precal_art_5000: precal@5000 {
reg = <0x5000 0x2f20>;
};
macaddr_gmac0: macaddr@0 {
reg = <0x0 0x6>;
};
macaddr_gmac1: macaddr@6 {
reg = <0x6 0x6>;
};
};
};

View file

@ -263,7 +263,9 @@
label = "0:MANUDATA";
reg = <0x001e0000 0x00010000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -271,12 +273,15 @@
reg = <0x6 0x6>;
};
};
};
partition@1f0000 {
label = "0:ART";
reg = <0x001f0000 0x00010000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -290,6 +295,7 @@
};
};
};
};
nand@1 {
compatible = "spi-nand";

View file

@ -126,7 +126,8 @@
reg = <0x170000 0x10000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -138,6 +139,7 @@
reg = <0x5000 0x2f20>;
};
};
};
partition@180000 {
label = "u_env";

View file

@ -155,7 +155,9 @@
label = "0:ART";
reg = <0x170000 0x010000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -177,6 +179,7 @@
};
};
};
};
flash@1 {
status = "okay";

View file

@ -156,10 +156,20 @@
/* partitions are passed via bootloader */
partitions {
partition-art {
compatible = "nvmem-cells";
label = "0:ART";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
label = "0:ART";
macaddr_gmac0: macaddr@0 {
reg = <0x0 0x6>;
};
macaddr_gmac1: macaddr@6 {
reg = <0x6 0x6>;
};
precal_art_1000: precal@1000 {
reg = <0x1000 0x2f20>;
@ -172,13 +182,6 @@
precal_art_9000: precal@9000 {
reg = <0x9000 0x2f20>;
};
macaddr_gmac0: macaddr@0 {
reg = <0x0 0x6>;
};
macaddr_gmac1: macaddr@6 {
reg = <0x6 0x6>;
};
};
};

View file

@ -262,7 +262,9 @@
label = "ART";
reg = <0xb00000 0x80000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -282,6 +284,7 @@
reg = <0x5006 0x6>;
};
};
};
partition@b80000 {
label = "ubi";

View file

@ -68,10 +68,20 @@
label = "0:ART";
reg = <0x170000 0x10000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
macaddr_gmac0: macaddr@0 {
reg = <0x0 0x6>;
};
macaddr_gmac1: macaddr@6 {
reg = <0x6 0x6>;
};
precal_art_1000: precal@1000 {
reg = <0x1000 0x2f20>;
};
@ -79,13 +89,6 @@
precal_art_5000: precal@5000 {
reg = <0x5000 0x2f20>;
};
macaddr_gmac0: macaddr@0 {
reg = <0x0 0x6>;
};
macaddr_gmac1: macaddr@6 {
reg = <0x6 0x6>;
};
};
partition@180000 {

View file

@ -68,10 +68,20 @@
label = "0:ART";
reg = <0x170000 0x10000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
macaddr_gmac0: macaddr@0 {
reg = <0x0 0x6>;
};
macaddr_gmac1: macaddr@6 {
reg = <0x6 0x6>;
};
precal_art_1000: precal@1000 {
reg = <0x1000 0x2f20>;
};
@ -79,13 +89,6 @@
precal_art_5000: precal@5000 {
reg = <0x5000 0x2f20>;
};
macaddr_gmac0: macaddr@0 {
reg = <0x0 0x6>;
};
macaddr_gmac1: macaddr@6 {
reg = <0x6 0x6>;
};
};
};

View file

@ -146,7 +146,9 @@
label = "0:ART";
reg = <0x00170000 0x00010000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -164,6 +166,7 @@
};
};
};
};
};
&blsp1_uart1 {

View file

@ -185,7 +185,9 @@
label = "ART";
reg = <0x170000 0x10000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -203,6 +205,7 @@
};
};
};
};
};
&blsp1_spi2 {

View file

@ -273,7 +273,9 @@
label = "ART";
reg = <0x00170000 0x00010000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -285,6 +287,7 @@
reg = <0x5000 0x2f20>;
};
};
};
partition@180000 {
label = "cfg";
reg = <0x00180000 0x00040000>;

View file

@ -148,7 +148,8 @@
reg = <0x170000 0x10000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -160,6 +161,7 @@
reg = <0x5000 0x2f20>;
};
};
};
partition@180000 {
compatible = "denx,fit";

View file

@ -282,7 +282,9 @@
label = "ART";
reg = <0xa0000 0x80000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -294,12 +296,15 @@
reg = <0x9000 0x2f20>;
};
};
};
partition@120000 {
label = "mac";
reg = <0x120000 0x80000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -307,6 +312,7 @@
reg = <0x0 0x6>;
};
};
};
partition@1a0000 {
label = "reserved2";

View file

@ -247,7 +247,9 @@
label = "ART";
reg = <0xa0000 0x80000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -259,12 +261,15 @@
reg = <0x5000 0x2f20>;
};
};
};
partition@120000 {
label = "mac";
reg = <0x120000 0x80000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -272,6 +277,7 @@
reg = <0x0 0x6>;
};
};
};
partition@1a0000 {
label = "reserved2";

View file

@ -240,7 +240,9 @@
label = "ART";
reg = <0xa0000 0x80000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -252,12 +254,15 @@
reg = <0x5000 0x2f20>;
};
};
};
partition@120000 {
label = "mac";
reg = <0x120000 0x80000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -265,6 +270,7 @@
reg = <0x0 0x6>;
};
};
};
partition@1a0000 {
label = "reserved2";

View file

@ -216,7 +216,9 @@
label = "ART";
reg = <0xa0000 0x80000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -228,12 +230,15 @@
reg = <0x5000 0x2f20>;
};
};
};
partition@120000 {
label = "mac";
reg = <0x120000 0x80000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -241,6 +246,7 @@
reg = <0x0 0x6>;
};
};
};
partition@1a0000 {
label = "reserved2";

View file

@ -263,7 +263,9 @@
label = "0:ART";
reg = <0x00170000 0x00010000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -277,6 +279,7 @@
};
};
};
};
};
&nand {

View file

@ -141,10 +141,20 @@
/* partitions are passed via bootloader */
partitions {
partition-art {
compatible = "nvmem-cells";
label = "0:ART";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
label = "0:ART";
macaddr_gmac0: macaddr@0 {
reg = <0x0 0x6>;
};
macaddr_gmac1: macaddr@6 {
reg = <0x6 0x6>;
};
precal_art_1000: precal@1000 {
reg = <0x1000 0x2f20>;
@ -157,13 +167,6 @@
precal_art_9000: precal@9000 {
reg = <0x9000 0x2f20>;
};
macaddr_gmac0: macaddr@0 {
reg = <0x0 0x6>;
};
macaddr_gmac1: macaddr@6 {
reg = <0x6 0x6>;
};
};
};

View file

@ -173,7 +173,9 @@
label = "ART";
reg = <0x170000 0x10000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -187,6 +189,7 @@
};
};
};
};
};
&nand {

View file

@ -65,7 +65,9 @@
label = "0:ART";
reg = <0x170000 0x10000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -77,6 +79,7 @@
reg = <0x5000 0x2f20>;
};
};
};
partition@180000 {
compatible = "denx,fit";
label = "firmware";

View file

@ -354,10 +354,20 @@
partition@580000 {
label = "ART";
reg = <0x580000 0x80000>;
compatible = "nvmem-cells";
read-only;
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
read-only;
macaddr_gmac0: macaddr@0 {
reg = <0x0 0x6>;
};
macaddr_gmac1: macaddr@6 {
reg = <0x6 0x6>;
};
precal_art_1000: precal@1000 {
reg = <0x1000 0x2f20>;
@ -370,13 +380,6 @@
precal_art_9000: precal@9000 {
reg = <0x9000 0x2f20>;
};
macaddr_gmac0: macaddr@0 {
reg = <0x0 0x6>;
};
macaddr_gmac1: macaddr@6 {
reg = <0x6 0x6>;
};
};

View file

@ -206,7 +206,9 @@
label = "0:ART";
reg = <0x170000 0x010000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -220,6 +222,7 @@
};
};
};
};
nand@1 {
reg = <1>;

View file

@ -331,7 +331,9 @@
label = "ART";
reg = <0x0b00000 0x0080000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -347,6 +349,7 @@
reg = <0x5000 0x2f20>;
};
};
};
partition@b80000 {
label = "ART_1";
@ -358,7 +361,9 @@
label = "ORGDATA";
reg = <0x0c00000 0x0080000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -375,6 +380,7 @@
reg = <0x32 0x6>;
};
};
};
partition@c80000 {
label = "ORGDATA_1";

View file

@ -67,7 +67,9 @@
label = "0:ART";
reg = <0x170000 0x10000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -79,6 +81,7 @@
reg = <0x5000 0x2f20>;
};
};
};
partition@180000 {
compatible = "denx,fit";
label = "firmware";

View file

@ -225,10 +225,20 @@
label = "0:ART";
reg = <0x00170000 0x00010000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
macaddr_art_e010: mac-address@e010 {
reg = <0xe010 0x6>;
};
macaddr_art_e018: mac-address@e018 {
reg = <0xe018 0x6>;
};
precal_art_1000: precal@1000 {
reg = <0x1000 0x2f20>;
};
@ -236,13 +246,6 @@
precal_art_5000: precal@5000 {
reg = <0x5000 0x2f20>;
};
macaddr_art_e010: mac-address@e010 {
reg = <0xe010 0x6>;
};
macaddr_art_e018: mac-address@e018 {
reg = <0xe018 0x6>;
};
};
partition6@180000 {

View file

@ -118,7 +118,9 @@
label = "ART";
reg = <0xe0000 0x10000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -130,6 +132,7 @@
reg = <0x5000 0x2f20>;
};
};
};
partition@f0000 {
label = "appsbl";
@ -141,7 +144,9 @@
label = "mfginfo";
reg = <0x1e0000 0x10000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -149,6 +154,7 @@
reg = <0x1d 0x6>;
};
};
};
partition@1f0000 {
label = "apcd";

View file

@ -317,7 +317,9 @@
label = "ART";
reg = <0x1f0000 0x10000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -329,6 +331,7 @@
reg = <0x5000 0x2f20>;
};
};
};
partition@1f0000 {
label = "osss";
@ -352,7 +355,9 @@
label = "mfginfo";
reg = <0x390000 0x10000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -364,6 +369,7 @@
reg = <0x45 0x6>;
};
};
};
partition@3a0000 {
label = "fcache";

View file

@ -150,7 +150,9 @@
label = "ART";
reg = <0x1f0000 0x10000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -162,6 +164,7 @@
reg = <0x5000 0x2f20>;
};
};
};
partition@200000 {
label = "osss";
@ -185,7 +188,9 @@
label = "mfginfo";
reg = <0x390000 0x10000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -193,6 +198,7 @@
reg = <0x1d 0x6>;
};
};
};
partition@3a0000 {
label = "fcache";

View file

@ -195,10 +195,20 @@
label = "ART";
reg = <0x170000 0x10000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
macaddr_gmac0: macaddr@0 {
reg = <0x0 0x6>;
};
macaddr_gmac1: macaddr@6 {
reg = <0x6 0x6>;
};
precal_art_1000: precal@1000 {
reg = <0x1000 0x2f20>;
};
@ -206,13 +216,6 @@
precal_art_5000: precal@5000 {
reg = <0x5000 0x2f20>;
};
macaddr_gmac0: macaddr@0 {
reg = <0x0 0x6>;
};
macaddr_gmac1: macaddr@6 {
reg = <0x6 0x6>;
};
};

View file

@ -193,7 +193,9 @@
label = "ART";
reg = <0x170000 0x10000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
@ -205,6 +207,7 @@
reg = <0x5000 0x2f20>;
};
};
};
firmware@180000 {
compatible = "denx,fit";

View file

@ -236,18 +236,12 @@
label = "0:ART";
reg = <0x00170000 0x00010000>;
read-only;
compatible = "nvmem-cells";
nvmem-layout {
compatible = "fixed-layout";
#address-cells = <1>;
#size-cells = <1>;
precal_art_1000: precal@1000 {
reg = <0x1000 0x2f20>;
};
precal_art_5000: precal@5000 {
reg = <0x5000 0x2f20>;
};
macaddr_art_0: mac-address@0 {
reg = <0x0 0x6>;
};
@ -256,14 +250,22 @@
reg = <0x6 0x6>;
};
precal_art_1000: precal@1000 {
reg = <0x1000 0x2f20>;
};
macaddr_art_1006: mac-address@1006 {
reg = <0x1006 0x6>;
};
precal_art_5000: precal@5000 {
reg = <0x5000 0x2f20>;
};
macaddr_art_5006: mac-address@5006 {
reg = <0x5006 0x6>;
};
};
};
partition8@180000 {