ramips: move partitions into partition table node

Starting with kernel 4.4, the use of partitions as direct subnodes of the
mtd device is discouraged and only supported for backward compatiblity
reasons.

Signed-off-by: Alex Maclean <monkeh@monkeh.net>
This commit is contained in:
Alex Maclean 2018-08-01 21:32:34 +01:00 committed by Mathias Kresin
parent 6dd94c2781
commit 6031ab345d
257 changed files with 6665 additions and 5623 deletions

View File

@ -18,36 +18,40 @@
reg = <0x1f000000 0x800000>; reg = <0x1f000000 0x800000>;
bank-width = <2>; bank-width = <2>;
device-width = <2>; device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@3e0000 { factory: partition@40000 {
label = "cimage"; label = "factory";
reg = <0x3e0000 0x20000>; reg = <0x40000 0x10000>;
read-only; read-only;
}; };
partition@50000 { partition@3e0000 {
label = "firmware"; label = "cimage";
reg = <0x50000 0x390000>; reg = <0x3e0000 0x20000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x390000>;
};
}; };
}; };

View File

@ -18,36 +18,40 @@
reg = <0x1f000000 0x800000>; reg = <0x1f000000 0x800000>;
bank-width = <2>; bank-width = <2>;
device-width = <2>; device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@3e0000 { factory: partition@40000 {
label = "cimage"; label = "factory";
reg = <0x3e0000 0x20000>; reg = <0x40000 0x10000>;
read-only; read-only;
}; };
partition@50000 { partition@3e0000 {
label = "firmware"; label = "cimage";
reg = <0x50000 0x390000>; reg = <0x3e0000 0x20000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x390000>;
};
}; };
}; };

View File

@ -54,33 +54,37 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x3b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
}; };
}; };
}; };

View File

@ -69,33 +69,37 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x3b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
}; };
}; };
}; };

View File

@ -60,33 +60,37 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x3b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
}; };
}; };
}; };

View File

@ -136,38 +136,42 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x1000>; reg = <0x0 0x30000>;
}; read-only;
};
partition@31000 { partition@30000 {
label = "config"; label = "u-boot-env";
reg = <0x31000 0xf000>; reg = <0x30000 0x1000>;
read-only; };
};
factory: partition@40000 { partition@31000 {
label = "factory"; label = "config";
reg = <0x40000 0x10000>; reg = <0x31000 0xf000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0xfb0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
}; };
}; };
}; };

View File

@ -51,33 +51,37 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0 0>; reg = <0 0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x20000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@20000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x20000 0x10000>; reg = <0x0 0x20000>;
read-only; read-only;
}; };
factory: partition@30000 { partition@20000 {
label = "factory"; label = "u-boot-env";
reg = <0x30000 0x10000>; reg = <0x20000 0x10000>;
read-only; read-only;
}; };
partition@40000 { factory: partition@30000 {
label = "firmware"; label = "factory";
reg = <0x40000 0x7c0000>; reg = <0x30000 0x10000>;
read-only;
};
partition@40000 {
label = "firmware";
reg = <0x40000 0x7c0000>;
};
}; };
}; };
}; };

View File

@ -43,33 +43,37 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x3b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
}; };
}; };
}; };

View File

@ -19,30 +19,34 @@
reg = <0x1f000000 0x800000>; reg = <0x1f000000 0x800000>;
bank-width = <2>; bank-width = <2>;
device-width = <2>; device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x7b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
}; };
}; };

View File

@ -11,33 +11,37 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x3c8000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3c8000>;
};
}; };
}; };
}; };

View File

@ -11,33 +11,37 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x7b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
}; };
}; };
}; };

View File

@ -53,33 +53,37 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x1fb0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x1fb0000>;
};
}; };
}; };
}; };

View File

@ -53,33 +53,37 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x1fb0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x1fb0000>;
};
}; };
}; };
}; };

View File

@ -82,34 +82,38 @@
status = "okay"; status = "okay";
mx25l6405d@0 { mx25l6405d@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "mx25l6405d","jedec,spi-nor"; compatible = "mx25l6405d","jedec,spi-nor";
reg = <0 0>; reg = <0 0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
m25p,chunked-io = <32>; m25p,chunked-io = <32>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x7b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
}; };
}; };
}; };

View File

@ -17,24 +17,28 @@
compatible = "cfi-flash"; compatible = "cfi-flash";
reg = <0xbc400000 0x800000>; reg = <0xbc400000 0x800000>;
bank-width = <2>; bank-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
partition@0 { partitions {
reg = <0x0 0x30000>; compatible = "fixed-partitions";
label = "u-boot"; #address-cells = <1>;
read-only; #size-cells = <1>;
};
factory: partition@30000 { partition@0 {
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
label = "factory"; label = "u-boot";
read-only; read-only;
}; };
partition@40000 { factory: partition@30000 {
reg = <0x40000 0x3c0000>; reg = <0x30000 0x10000>;
label = "firmware"; label = "factory";
read-only;
};
partition@40000 {
reg = <0x40000 0x3c0000>;
label = "firmware";
};
}; };
}; };

View File

@ -17,29 +17,33 @@
compatible = "cfi-flash"; compatible = "cfi-flash";
reg = <0xbc400000 0x800000>; reg = <0xbc400000 0x800000>;
bank-width = <2>; bank-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
partition@0 { partitions {
reg = <0x0 0x30000>; compatible = "fixed-partitions";
label = "u-boot"; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
label = "u-boot-env"; label = "u-boot";
}; read-only;
};
factory: partition@40000 { partition@30000 {
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
label = "factory"; label = "u-boot-env";
read-only; };
};
partition@50000 { factory: partition@40000 {
reg = <0x50000 0x3B0000>; reg = <0x40000 0x10000>;
label = "firmware"; label = "factory";
read-only;
};
partition@50000 {
reg = <0x50000 0x3B0000>;
label = "firmware";
};
}; };
}; };

View File

@ -11,51 +11,55 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "uboot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "uboot-env"; label = "uboot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
partition@40000 { partition@30000 {
label = "factory"; label = "uboot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0xf80000>; reg = <0x40000 0x10000>;
}; read-only;
};
partition@fd0000 { partition@50000 {
label = "cert"; label = "firmware";
reg = <0xfd0000 0x10000>; reg = <0x50000 0xf80000>;
read-only; };
};
partition@fe0000 { partition@fd0000 {
label = "langpack"; label = "cert";
reg = <0xfe0000 0x10000>; reg = <0xfd0000 0x10000>;
read-only; read-only;
}; };
devdata: partition@ff0000 { partition@fe0000 {
label = "devdata"; label = "langpack";
reg = <0xff0000 0x10000>; reg = <0xfe0000 0x10000>;
read-only; read-only;
};
devdata: partition@ff0000 {
label = "devdata";
reg = <0xff0000 0x10000>;
read-only;
};
}; };
}; };
}; };

View File

@ -11,45 +11,49 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "uboot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
devdata: partition@30000 { partition@0 {
label = "uboot-env"; label = "uboot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
partition@40000 { devdata: partition@30000 {
label = "rgdb"; label = "uboot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { partition@40000 {
label = "firmware"; label = "rgdb";
reg = <0x50000 0x790000>; reg = <0x40000 0x10000>;
}; read-only;
};
partition@7e0000 { partition@50000 {
label = "cert"; label = "firmware";
reg = <0x7e0000 0x10000>; reg = <0x50000 0x790000>;
read-only; };
};
partition@7f0000 { partition@7e0000 {
label = "langpack"; label = "cert";
reg = <0x7f0000 0x10000>; reg = <0x7e0000 0x10000>;
read-only; read-only;
};
partition@7f0000 {
label = "langpack";
reg = <0x7f0000 0x10000>;
read-only;
};
}; };
}; };
}; };

View File

@ -18,28 +18,32 @@
reg = <0x1f000000 0x800000>; reg = <0x1f000000 0x800000>;
bank-width = <2>; bank-width = <2>;
device-width = <2>; device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
partition@0 { partitions {
label = "bootloader"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "config"; label = "bootloader";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
}; read-only;
};
factory: partition@40000 { partition@30000 {
label = "factory"; label = "config";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x7a0000>; reg = <0x40000 0x10000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7a0000>;
};
}; };
}; };

View File

@ -39,33 +39,37 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x3b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
}; };
}; };
}; };

View File

@ -11,33 +11,37 @@
status = "okay"; status = "okay";
m25p80: m25p80@0 { m25p80: m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>; reg = <0>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x3b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
}; };
}; };
}; };

View File

@ -11,33 +11,37 @@
status = "okay"; status = "okay";
m25p80: m25p80@0 { m25p80: m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
reg = <0>; reg = <0>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x7b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
}; };
}; };
}; };

View File

@ -123,39 +123,43 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
m25p,chunked-io = <32>; m25p,chunked-io = <32>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x1000>; reg = <0x0 0x30000>;
}; read-only;
};
partition@31000 { partition@30000 {
label = "config"; label = "u-boot-env";
reg = <0x31000 0xf000>; reg = <0x30000 0x1000>;
read-only; };
};
factory: partition@40000 { partition@31000 {
label = "factory"; label = "config";
reg = <0x40000 0x10000>; reg = <0x31000 0xf000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x7b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
}; };
}; };
}; };

View File

@ -83,45 +83,49 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x20000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@20000 { partition@0 {
label = "firmware"; label = "u-boot";
reg = <0x20000 0x7a0000>; reg = <0x0 0x20000>;
}; read-only;
};
partition@7c0000 { partition@20000 {
label = "config"; label = "firmware";
reg = <0x7c0000 0x10000>; reg = <0x20000 0x7a0000>;
read-only; };
};
rom: partition@7d0000 { partition@7c0000 {
label = "rom"; label = "config";
reg = <0x7d0000 0x10000>; reg = <0x7c0000 0x10000>;
read-only; read-only;
}; };
partition@7e0000 { rom: partition@7d0000 {
label = "romfile"; label = "rom";
reg = <0x7e0000 0x10000>; reg = <0x7d0000 0x10000>;
read-only; read-only;
}; };
radio: partition@7f0000 { partition@7e0000 {
label = "radio"; label = "romfile";
reg = <0x7f0000 0x10000>; reg = <0x7e0000 0x10000>;
read-only; read-only;
};
radio: partition@7f0000 {
label = "radio";
reg = <0x7f0000 0x10000>;
read-only;
};
}; };
}; };
}; };

View File

@ -69,41 +69,45 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x20000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@20000 { partition@0 {
label = "firmware"; label = "u-boot";
reg = <0x20000 0x7a0000>; reg = <0x0 0x20000>;
}; read-only;
};
partition@7c0000 { partition@20000 {
label = "config"; label = "firmware";
reg = <0x7c0000 0x10000>; reg = <0x20000 0x7a0000>;
}; };
rom: partition@7d0000 { partition@7c0000 {
label = "rom"; label = "config";
reg = <0x7d0000 0x10000>; reg = <0x7c0000 0x10000>;
}; };
partition@7e0000 { rom: partition@7d0000 {
label = "romfile"; label = "rom";
reg = <0x7e0000 0x10000>; reg = <0x7d0000 0x10000>;
}; };
radio: partition@7f0000 { partition@7e0000 {
label = "radio"; label = "romfile";
reg = <0x7f0000 0x10000>; reg = <0x7e0000 0x10000>;
};
radio: partition@7f0000 {
label = "radio";
reg = <0x7f0000 0x10000>;
};
}; };
}; };
}; };

View File

@ -96,45 +96,49 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x20000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@20000 { partition@0 {
label = "firmware"; label = "u-boot";
reg = <0x20000 0x7a0000>; reg = <0x0 0x20000>;
}; read-only;
};
partition@7c0000 { partition@20000 {
label = "config"; label = "firmware";
reg = <0x7c0000 0x10000>; reg = <0x20000 0x7a0000>;
read-only; };
};
rom: partition@7d0000 { partition@7c0000 {
label = "rom"; label = "config";
reg = <0x7d0000 0x10000>; reg = <0x7c0000 0x10000>;
read-only; read-only;
}; };
partition@7e0000 { rom: partition@7d0000 {
label = "romfile"; label = "rom";
reg = <0x7e0000 0x10000>; reg = <0x7d0000 0x10000>;
read-only; read-only;
}; };
radio: partition@7f0000 { partition@7e0000 {
label = "radio"; label = "romfile";
reg = <0x7f0000 0x10000>; reg = <0x7e0000 0x10000>;
read-only; read-only;
};
radio: partition@7f0000 {
label = "radio";
reg = <0x7f0000 0x10000>;
read-only;
};
}; };
}; };
}; };

View File

@ -95,45 +95,49 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x20000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@20000 { partition@0 {
label = "firmware"; label = "u-boot";
reg = <0x20000 0x7a0000>; reg = <0x0 0x20000>;
}; read-only;
};
partition@7c0000 { partition@20000 {
label = "config"; label = "firmware";
reg = <0x7c0000 0x10000>; reg = <0x20000 0x7a0000>;
read-only; };
};
rom: partition@7d0000 { partition@7c0000 {
label = "rom"; label = "config";
reg = <0x7d0000 0x10000>; reg = <0x7c0000 0x10000>;
read-only; read-only;
}; };
partition@7e0000 { rom: partition@7d0000 {
label = "romfile"; label = "rom";
reg = <0x7e0000 0x10000>; reg = <0x7d0000 0x10000>;
read-only; read-only;
}; };
radio: partition@7f0000 { partition@7e0000 {
label = "radio"; label = "romfile";
reg = <0x7f0000 0x10000>; reg = <0x7e0000 0x10000>;
read-only; read-only;
};
radio: partition@7f0000 {
label = "radio";
reg = <0x7f0000 0x10000>;
read-only;
};
}; };
}; };
}; };

View File

@ -116,39 +116,43 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x20000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@20000 { partition@0 {
label = "firmware"; label = "u-boot";
reg = <0x20000 0x7b0000>; reg = <0x0 0x20000>;
}; read-only;
};
rom: partition@7d0000 { partition@20000 {
label = "rom"; label = "firmware";
reg = <0x7d0000 0x10000>; reg = <0x20000 0x7b0000>;
read-only; };
};
partition@7e0000 { rom: partition@7d0000 {
label = "romfile"; label = "rom";
reg = <0x7e0000 0x10000>; reg = <0x7d0000 0x10000>;
read-only; read-only;
}; };
radio: partition@7f0000 { partition@7e0000 {
label = "radio"; label = "romfile";
reg = <0x7f0000 0x10000>; reg = <0x7e0000 0x10000>;
read-only; read-only;
};
radio: partition@7f0000 {
label = "radio";
reg = <0x7f0000 0x10000>;
read-only;
};
}; };
}; };
}; };

View File

@ -14,30 +14,34 @@
reg = <0x1f000000 0x800000>; reg = <0x1f000000 0x800000>;
bank-width = <2>; bank-width = <2>;
device-width = <2>; device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x7b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
}; };
}; };

View File

@ -96,33 +96,37 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x7b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
}; };
}; };
}; };

View File

@ -54,36 +54,40 @@
compatible = "cfi-flash"; compatible = "cfi-flash";
reg = <0x1c000000 0x800000>; reg = <0x1c000000 0x800000>;
bank-width = <2>; bank-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
partition@0 { partitions {
reg = <0x00000000 0x00030000>; compatible = "fixed-partitions";
label = "u-boot"; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
reg = <0x00030000 0x00010000>; reg = <0x00000000 0x00030000>;
label = "nvram"; label = "u-boot";
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
reg = <0x00040000 0x00010000>; reg = <0x00030000 0x00010000>;
label = "factory"; label = "nvram";
read-only; read-only;
}; };
devdata: partition@50000 { factory: partition@40000 {
reg = <0x00050000 0x00020000>; reg = <0x00040000 0x00010000>;
label = "devdata"; label = "factory";
read-only; read-only;
}; };
partition@70000 { devdata: partition@50000 {
reg = <0x00070000 0x00790000>; reg = <0x00050000 0x00020000>;
label = "firmware"; label = "devdata";
read-only;
};
partition@70000 {
reg = <0x00070000 0x00790000>;
label = "firmware";
};
}; };
}; };

View File

@ -14,30 +14,34 @@
reg = <0x1f000000 0x800000>; reg = <0x1f000000 0x800000>;
bank-width = <2>; bank-width = <2>;
device-width = <2>; device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
partition@0 { partitions {
label = "bootloader"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "config"; label = "bootloader";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "config";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x790000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x790000>;
};
}; };
}; };

View File

@ -114,33 +114,37 @@
status = "okay"; status = "okay";
en25q128@0 { en25q128@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0xfb0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
}; };
}; };
}; };

View File

@ -18,30 +18,34 @@
reg = <0x1f000000 0x800000>; reg = <0x1f000000 0x800000>;
bank-width = <2>; bank-width = <2>;
device-width = <2>; device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x7b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
}; };
}; };

View File

@ -68,33 +68,37 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x7b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
}; };
}; };
}; };

View File

@ -70,33 +70,37 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x7b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
}; };
}; };
}; };

View File

@ -17,41 +17,45 @@
compatible = "cfi-flash"; compatible = "cfi-flash";
reg = <0x1c000000 0x800000>; reg = <0x1c000000 0x800000>;
bank-width = <2>; bank-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
partition@0 { partitions {
label = "uboot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "uboot-env"; label = "uboot";
reg = <0x30000 0x4000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@34000 { partition@30000 {
label = "factory"; label = "uboot-env";
reg = <0x34000 0x4000>; reg = <0x30000 0x4000>;
read-only; read-only;
}; };
partition@38000 { factory: partition@34000 {
label = "nvram"; label = "factory";
reg = <0x38000 0x8000>; reg = <0x34000 0x4000>;
read-only; read-only;
}; };
partition@40000 { partition@38000 {
label = "devdata"; label = "nvram";
reg = <0x40000 0x10000>; reg = <0x38000 0x8000>;
}; read-only;
};
partition@50000 { partition@40000 {
label = "firmware"; label = "devdata";
reg = <0x50000 0x7b0000>; reg = <0x40000 0x10000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
}; };
}; };

View File

@ -18,30 +18,34 @@
reg = <0x1f000000 0x800000>; reg = <0x1f000000 0x800000>;
bank-width = <2>; bank-width = <2>;
device-width = <2>; device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x3b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
}; };
}; };

View File

@ -115,33 +115,37 @@
status = "okay"; status = "okay";
en25q128@0 { en25q128@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0xfb0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
}; };
}; };
}; };

View File

@ -22,36 +22,40 @@
reg = <0x1f000000 0x800000>; reg = <0x1f000000 0x800000>;
bank-width = <2>; bank-width = <2>;
device-width = <2>; device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
devdata: partition@30000 { partition@0 {
label = "devdata"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
partition@40000 { devdata: partition@30000 {
label = "devconf"; label = "devdata";
reg = <0x40000 0x30000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@70000 { partition@40000 {
label = "devlang"; label = "devconf";
reg = <0x70000 0x40000>; reg = <0x40000 0x30000>;
read-only; read-only;
}; };
partition@b0000 { partition@70000 {
label = "firmware"; label = "devlang";
reg = <0xb0000 0x750000>; reg = <0x70000 0x40000>;
read-only;
};
partition@b0000 {
label = "firmware";
reg = <0xb0000 0x750000>;
};
}; };
}; };

View File

@ -18,24 +18,28 @@
reg = <0xbc400000 0x800000>; reg = <0xbc400000 0x800000>;
bank-width = <2>; bank-width = <2>;
device-width = <2>; device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
partition@0 { partitions {
label = "uboot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
factory: partition@30000 { partition@0 {
label = "factory"; label = "uboot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
partition@40000 { factory: partition@30000 {
label = "firmware"; label = "factory";
reg = <0x40000 0x3a0000>; reg = <0x30000 0x10000>;
read-only;
};
partition@40000 {
label = "firmware";
reg = <0x40000 0x3a0000>;
};
}; };
}; };

View File

@ -42,33 +42,37 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x7b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
}; };
}; };
}; };

View File

@ -99,52 +99,56 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <80000000>; spi-max-frequency = <80000000>;
m25p,fast-read; m25p,fast-read;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x4000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@34000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x34000 0x4000>; reg = <0x30000 0x4000>;
read-only; read-only;
}; };
nvram: partition@38000 { factory: partition@34000 {
label = "nvram"; label = "factory";
reg = <0x38000 0x8000>; reg = <0x34000 0x4000>;
read-only; read-only;
}; };
partition@40000 { nvram: partition@38000 {
label = "devconf"; label = "nvram";
reg = <0x40000 0x10000>; reg = <0x38000 0x8000>;
read-only; read-only;
}; };
partition@50000 { partition@40000 {
label = "upgrade_rec"; label = "devconf";
reg = <0x50000 0x100000>; reg = <0x40000 0x10000>;
read-only; read-only;
}; };
partition@150000 { partition@50000 {
label = "firmware"; label = "upgrade_rec";
reg = <0x150000 0x6b0000>; reg = <0x50000 0x100000>;
read-only;
};
partition@150000 {
label = "firmware";
reg = <0x150000 0x6b0000>;
};
}; };
}; };
}; };

View File

@ -18,30 +18,34 @@
reg = <0x1f000000 0x400000>; reg = <0x1f000000 0x400000>;
bank-width = <2>; bank-width = <2>;
device-width = <2>; device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x3b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
}; };
}; };

View File

@ -49,33 +49,37 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x3b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
}; };
}; };
}; };

View File

@ -18,30 +18,34 @@
reg = <0x1f000000 0x800000>; reg = <0x1f000000 0x800000>;
bank-width = <2>; bank-width = <2>;
device-width = <2>; device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
devdata: partition@30000 { partition@0 {
label = "devdata"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { devdata: partition@30000 {
label = "devconf"; label = "devdata";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "devconf";
reg = <0x50000 0x3b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
}; };
}; };

View File

@ -49,33 +49,37 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x7b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
}; };
}; };
}; };

View File

@ -71,33 +71,37 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x7b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
}; };
}; };
}; };

View File

@ -18,30 +18,34 @@
reg = <0x1f000000 0x800000>; reg = <0x1f000000 0x800000>;
bank-width = <2>; bank-width = <2>;
device-width = <2>; device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
devdata: partition@30000 { partition@0 {
label = "devdata"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { devdata: partition@30000 {
label = "devconf"; label = "devdata";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "devconf";
reg = <0x50000 0x3b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
}; };
}; };

View File

@ -49,33 +49,37 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
devdata: partition@30000 { partition@0 {
label = "devdata"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { devdata: partition@30000 {
label = "factory"; label = "devdata";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x3b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
}; };
}; };
}; };

View File

@ -18,30 +18,34 @@
reg = <0x1f000000 0x800000>; reg = <0x1f000000 0x800000>;
bank-width = <2>; bank-width = <2>;
device-width = <2>; device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
devdata: partition@30000 { partition@0 {
label = "devdata"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
partition@40000 { devdata: partition@30000 {
label = "devconf"; label = "devdata";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { partition@40000 {
label = "firmware"; label = "devconf";
reg = <0x50000 0x3b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
}; };
}; };

View File

@ -64,33 +64,37 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x3b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
}; };
}; };
}; };

View File

@ -18,30 +18,34 @@
reg = <0x1f000000 0x800000>; reg = <0x1f000000 0x800000>;
bank-width = <2>; bank-width = <2>;
device-width = <2>; device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x7b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
}; };
}; };

View File

@ -43,33 +43,37 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x7b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
}; };
}; };
}; };

View File

@ -71,44 +71,48 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <25000000>; spi-max-frequency = <25000000>;
partition@0 { partitions {
label = "uboot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "uboot-env"; label = "uboot";
reg = <0x30000 0x4000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@34000 { partition@30000 {
label = "factory"; label = "uboot-env";
reg = <0x34000 0x4000>; reg = <0x30000 0x4000>;
read-only; read-only;
}; };
partition@38000 { factory: partition@34000 {
label = "nvram"; label = "factory";
reg = <0x38000 0x8000>; reg = <0x34000 0x4000>;
read-only; read-only;
}; };
partition@40000 { partition@38000 {
label = "devdata"; label = "nvram";
reg = <0x40000 0x10000>; reg = <0x38000 0x8000>;
}; read-only;
};
partition@50000 { partition@40000 {
label = "firmware"; label = "devdata";
reg = <0x50000 0x7b0000>; reg = <0x40000 0x10000>;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
}; };
}; };
}; };

View File

@ -54,57 +54,61 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
factory5g: partition@50000 { factory: partition@40000 {
label = "factory5g"; label = "factory";
reg = <0x50000 0x10000>; reg = <0x40000 0x10000>;
read-only; read-only;
}; };
partition@60000 { factory5g: partition@50000 {
label = "Wolf_Config"; label = "factory5g";
reg = <0x60000 0x10000>; reg = <0x50000 0x10000>;
read-only; read-only;
}; };
partition@70000 { partition@60000 {
label = "MyDlink"; label = "Wolf_Config";
reg = <0x70000 0x80000>; reg = <0x60000 0x10000>;
read-only; read-only;
}; };
partition@e0000 { partition@70000 {
label = "Jffs2"; label = "MyDlink";
reg = <0xe0000 0x80000>; reg = <0x70000 0x80000>;
read-only; read-only;
}; };
partition@170000 { partition@e0000 {
label = "firmware"; label = "Jffs2";
reg = <0x170000 0x690000>; reg = <0xe0000 0x80000>;
read-only;
};
partition@170000 {
label = "firmware";
reg = <0x170000 0x690000>;
};
}; };
}; };
}; };

View File

@ -68,46 +68,50 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
m25p,chunked-io = <32>; m25p,chunked-io = <32>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x4000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
radio: partition@34000 { partition@30000 {
label = "radio"; label = "u-boot-env";
reg = <0x34000 0x4000>; reg = <0x30000 0x4000>;
read-only; read-only;
}; };
factory: partition@38000 { radio: partition@34000 {
label = "factory"; label = "radio";
reg = <0x38000 0x8000>; reg = <0x34000 0x4000>;
read-only; read-only;
}; };
partition@40000 { factory: partition@38000 {
label = "defaults"; label = "factory";
reg = <0x40000 0x10000>; reg = <0x38000 0x8000>;
read-only; read-only;
}; };
partition@50000 { partition@40000 {
label = "firmware"; label = "defaults";
reg = <0x50000 0xfb0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
}; };
}; };
}; };

View File

@ -107,35 +107,39 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <60000000>; spi-max-frequency = <60000000>;
m25p,chunked-io = <32>; m25p,chunked-io = <32>;
m25p,fast-read; m25p,fast-read;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x7b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
}; };
}; };
}; };

View File

@ -57,27 +57,31 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <50000000>; spi-max-frequency = <50000000>;
partition@0 { partitions {
label = "jboot"; compatible = "fixed-partitions";
reg = <0x0 0x10000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@10000 { partition@0 {
label = "firmware"; label = "jboot";
reg = <0x10000 0x7e0000>; reg = <0x0 0x10000>;
}; read-only;
};
config: partition@7f0000 { partition@10000 {
label = "config"; label = "firmware";
reg = <0x7f0000 0x10000>; reg = <0x10000 0x7e0000>;
read-only; };
config: partition@7f0000 {
label = "config";
reg = <0x7f0000 0x10000>;
read-only;
};
}; };
}; };
}; };

View File

@ -79,27 +79,31 @@
status = "okay"; status = "okay";
mx25l6405d@0 { mx25l6405d@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <30000000>; spi-max-frequency = <30000000>;
m25p,fast-read; m25p,fast-read;
partition@0 { partitions {
label = "jboot"; compatible = "fixed-partitions";
reg = <0x0 0x10000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@10000 { partition@0 {
label = "firmware"; label = "jboot";
reg = <0x10000 0x7e0000>; reg = <0x0 0x10000>;
}; read-only;
};
config: partition@7f0000 { partition@10000 {
label = "config"; label = "firmware";
reg = <0x7f0000 0x10000>; reg = <0x10000 0x7e0000>;
};
config: partition@7f0000 {
label = "config";
reg = <0x7f0000 0x10000>;
};
}; };
}; };
}; };

View File

@ -97,27 +97,31 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "jboot"; compatible = "fixed-partitions";
reg = <0x0 0x10000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@10000 { partition@0 {
label = "firmware"; label = "jboot";
reg = <0x10000 0xfe0000>; reg = <0x0 0x10000>;
}; read-only;
};
config: partition@ff0000 { partition@10000 {
label = "config"; label = "firmware";
reg = <0xff0000 0x10000>; reg = <0x10000 0xfe0000>;
read-only; };
config: partition@ff0000 {
label = "config";
reg = <0xff0000 0x10000>;
read-only;
};
}; };
}; };
}; };

View File

@ -59,33 +59,37 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "config"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "config";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x7b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
}; };
}; };
}; };

View File

@ -18,30 +18,34 @@
reg = <0x1f000000 0x800000>; reg = <0x1f000000 0x800000>;
bank-width = <2>; bank-width = <2>;
device-width = <2>; device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x3b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
}; };
}; };

View File

@ -62,34 +62,38 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
m25p,chunked-io = <32>; m25p,chunked-io = <32>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0xfb0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
}; };
}; };
}; };

View File

@ -97,33 +97,37 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
partition@40000 { partition@30000 {
label = "firmware"; label = "u-boot-env";
reg = <0x40000 0x3b0000>; reg = <0x30000 0x10000>;
}; read-only;
};
art: partition@3f0000 { partition@40000 {
label = "art"; label = "firmware";
reg = <0x3f0000 0x10000>; reg = <0x40000 0x3b0000>;
read-only; };
art: partition@3f0000 {
label = "art";
reg = <0x3f0000 0x10000>;
read-only;
};
}; };
}; };
}; };

View File

@ -90,45 +90,49 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "config"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "config";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x790000>; reg = <0x40000 0x10000>;
}; read-only;
};
partition@7e0000 { partition@50000 {
label = "board_data"; label = "firmware";
reg = <0x7e0000 0x10000>; reg = <0x50000 0x790000>;
read-only; };
};
partition@7f0000 { partition@7e0000 {
label = "nvram"; label = "board_data";
reg = <0x7f0000 0x10000>; reg = <0x7e0000 0x10000>;
read-only; read-only;
};
partition@7f0000 {
label = "nvram";
reg = <0x7f0000 0x10000>;
read-only;
};
}; };
}; };
}; };

View File

@ -20,30 +20,34 @@
reg = <0xbc400000 0x800000>; reg = <0xbc400000 0x800000>;
bank-width = <2>; bank-width = <2>;
device-width = <2>; device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
partition@0 { partitions {
label = "uboot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "uboot-env"; label = "uboot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "uboot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x7b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
}; };
}; };

View File

@ -18,28 +18,32 @@
reg = <0x1f000000 0x800000>; reg = <0x1f000000 0x800000>;
bank-width = <2>; bank-width = <2>;
device-width = <2>; device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
uboot: partition@0 { partitions {
label = "uboot"; compatible = "fixed-partitions";
reg = <0x0 0x50000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@50000 { uboot: partition@0 {
label = "firmware"; label = "uboot";
reg = <0x50000 0x790000>; reg = <0x0 0x50000>;
}; read-only;
};
partition@7e0000 { partition@50000 {
label = "nvram"; label = "firmware";
reg = <0x7e0000 0x10000>; reg = <0x50000 0x790000>;
}; };
factory: partition@7f0000 { partition@7e0000 {
label = "factory"; label = "nvram";
reg = <0x7f0000 0x10000>; reg = <0x7e0000 0x10000>;
};
factory: partition@7f0000 {
label = "factory";
reg = <0x7f0000 0x10000>;
};
}; };
}; };

View File

@ -65,58 +65,62 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x770000>; reg = <0x40000 0x10000>;
}; read-only;
};
partition@7c0000 { partition@50000 {
label = "firmware2"; label = "firmware";
reg = <0x7c0000 0x770000>; reg = <0x50000 0x770000>;
}; };
partition@f30000 { partition@7c0000 {
label = "belkin_settings"; label = "firmware2";
reg = <0xf30000 0xa0000>; reg = <0x7c0000 0x770000>;
}; };
partition@fd0000 { partition@f30000 {
label = "unknown"; label = "belkin_settings";
reg = <0xfd0000 0x10000>; reg = <0xf30000 0xa0000>;
}; };
partition@fe0000 { partition@fd0000 {
label = "nvram"; label = "unknown";
reg = <0xfe0000 0x10000>; reg = <0xfd0000 0x10000>;
}; };
partition@ff0000 { partition@fe0000 {
label = "user_factory"; label = "nvram";
reg = <0xff0000 0x10000>; reg = <0xfe0000 0x10000>;
};
partition@ff0000 {
label = "user_factory";
reg = <0xff0000 0x10000>;
};
}; };
}; };
}; };

View File

@ -57,34 +57,38 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
m25p,chunked-io = <32>; m25p,chunked-io = <32>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0xfb0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
}; };
}; };
}; };

View File

@ -18,30 +18,34 @@
reg = <0x1f000000 0x800000>; reg = <0x1f000000 0x800000>;
bank-width = <2>; bank-width = <2>;
device-width = <2>; device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x7b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
}; };
}; };

View File

@ -18,30 +18,34 @@
reg = <0x1f000000 0x800000>; reg = <0x1f000000 0x800000>;
bank-width = <2>; bank-width = <2>;
device-width = <2>; device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x7b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
}; };
}; };

View File

@ -69,34 +69,38 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
m25p,chunked-io = <32>; m25p,chunked-io = <32>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x1fb0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x1fb0000>;
};
}; };
}; };
}; };

View File

@ -80,34 +80,38 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
m25p,chunked-io = <32>; m25p,chunked-io = <32>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x1fb0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x1fb0000>;
};
}; };
}; };
}; };

View File

@ -81,37 +81,41 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
}; #size-cells = <1>;
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; };
};
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0xf80000>; reg = <0x40000 0x10000>;
}; read-only;
};
partition@ff0000 { partition@50000 {
label = "art"; label = "firmware";
reg = <0xff0000 0x10000>; reg = <0x50000 0xf80000>;
};
partition@ff0000 {
label = "art";
reg = <0xff0000 0x10000>;
};
}; };
}; };
}; };

View File

@ -100,34 +100,38 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
m25p,chunked-io = <32>; m25p,chunked-io = <32>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0xfb0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
}; };
}; };
}; };

View File

@ -76,37 +76,41 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
}; #size-cells = <1>;
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; };
};
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0xf80000>; reg = <0x40000 0x10000>;
}; read-only;
};
partition@ff0000 { partition@50000 {
label = "art"; label = "firmware";
reg = <0xff0000 0x10000>; reg = <0x50000 0xf80000>;
};
partition@ff0000 {
label = "art";
reg = <0xff0000 0x10000>;
};
}; };
}; };
}; };

View File

@ -76,37 +76,41 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
}; #size-cells = <1>;
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; };
};
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0xf80000>; reg = <0x40000 0x10000>;
}; read-only;
};
partition@ff0000 { partition@50000 {
label = "art"; label = "firmware";
reg = <0xff0000 0x10000>; reg = <0x50000 0xf80000>;
};
partition@ff0000 {
label = "art";
reg = <0xff0000 0x10000>;
};
}; };
}; };
}; };

View File

@ -68,53 +68,57 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
linux,modalias = "m25p80", "w25q128"; linux,modalias = "m25p80", "w25q128";
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
m25p,chunked-io = <32>; m25p,chunked-io = <32>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "hw_panic"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "hw_panic";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0xf70000>; reg = <0x40000 0x10000>;
}; read-only;
};
partition@fc0000 { partition@50000 {
label = "oem"; label = "firmware";
reg = <0xfc0000 0x20000>; reg = <0x50000 0xf70000>;
read-only; };
};
bdinfo: partition@fe0000 { partition@fc0000 {
label = "bdinfo"; label = "oem";
reg = <0xfe0000 0x10000>; reg = <0xfc0000 0x20000>;
read-only; read-only;
}; };
partition@ff0000 { bdinfo: partition@fe0000 {
label = "backup"; label = "bdinfo";
reg = <0xff0000 0x10000>; reg = <0xfe0000 0x10000>;
read-only; read-only;
};
partition@ff0000 {
label = "backup";
reg = <0xff0000 0x10000>;
read-only;
};
}; };
}; };
}; };

View File

@ -51,70 +51,76 @@
&nand { &nand {
status = "okay"; status = "okay";
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x80000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@80000 { partition@0 {
label = "debug"; label = "u-boot";
reg = <0x80000 0x80000>; reg = <0x0 0x80000>;
read-only; read-only;
}; };
factory: partition@100000 { partition@80000 {
label = "factory"; label = "debug";
reg = <0x100000 0x40000>; reg = <0x80000 0x80000>;
read-only; read-only;
}; };
partition@140000 { factory: partition@100000 {
label = "kernel"; label = "factory";
reg = <0x140000 0x200000>; reg = <0x100000 0x40000>;
}; read-only;
};
partition@340000 { partition@140000 {
label = "ubi"; label = "kernel";
reg = <0x340000 0x1E00000>; reg = <0x140000 0x200000>;
}; };
partition@2140000 { partition@340000 {
label = "hw_panic"; label = "ubi";
reg = <0x2140000 0x80000>; reg = <0x340000 0x1E00000>;
read-only; };
};
partition@21c0000 { partition@2140000 {
label = "bdinfo"; label = "hw_panic";
reg = <0x21c0000 0x80000>; reg = <0x2140000 0x80000>;
read-only; read-only;
}; };
partition@2240000 { partition@21c0000 {
label = "backup"; label = "bdinfo";
reg = <0x2240000 0x80000>; reg = <0x21c0000 0x80000>;
read-only; read-only;
}; };
partition@22c0000 { partition@2240000 {
label = "overly"; label = "backup";
reg = <0x22c0000 0x1000000>; reg = <0x2240000 0x80000>;
}; read-only;
};
partition@32c0000 { partition@22c0000 {
label = "firmware_backup"; label = "overly";
reg = <0x32c0000 0x2000000>; reg = <0x22c0000 0x1000000>;
}; };
partition@52c0000 { partition@32c0000 {
label = "oem"; label = "firmware_backup";
reg = <0x52c0000 0x200000>; reg = <0x32c0000 0x2000000>;
}; };
partition@54c0000 { partition@52c0000 {
label = "opt"; label = "oem";
reg = <0x54c0000 0x2ac0000>; reg = <0x52c0000 0x200000>;
};
partition@54c0000 {
label = "opt";
reg = <0x54c0000 0x2ac0000>;
};
}; };
}; };

View File

@ -55,46 +55,50 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
}; #size-cells = <1>;
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; };
};
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
}; read-only;
};
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0xf80000>; reg = <0x40000 0x10000>;
}; };
partition@fd0000 { partition@50000 {
label = "hwf_config"; label = "firmware";
reg = <0xfd0000 0x10000>; reg = <0x50000 0xf80000>;
}; };
bdinfo: partition@fe0000 { partition@fd0000 {
label = "bdinfo"; label = "hwf_config";
reg = <0xfe0000 0x10000>; reg = <0xfd0000 0x10000>;
}; };
partition@ff0000 { bdinfo: partition@fe0000 {
label = "backup"; label = "bdinfo";
reg = <0xff0000 0x10000>; reg = <0xfe0000 0x10000>;
};
partition@ff0000 {
label = "backup";
reg = <0xff0000 0x10000>;
};
}; };
}; };
}; };

View File

@ -18,36 +18,40 @@
reg = <0x1f000000 0x1000000>; reg = <0x1f000000 0x1000000>;
bank-width = <2>; bank-width = <2>;
device-width = <2>; device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x40000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x40000 0x20000>; reg = <0x0 0x40000>;
read-only; read-only;
}; };
factory: partition@60000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x60000 0x20000>; reg = <0x40000 0x20000>;
read-only; read-only;
}; };
partition@80000 { factory: partition@60000 {
label = "firmware"; label = "factory";
reg = <0x80000 0xf60000>; reg = <0x60000 0x20000>;
}; read-only;
};
partition@fa0000 { partition@80000 {
label = "factory-orig"; label = "firmware";
reg = <0xfa0000 0x20000>; reg = <0x80000 0xf60000>;
read-only; };
partition@fa0000 {
label = "factory-orig";
reg = <0xfa0000 0x20000>;
read-only;
};
}; };
}; };

View File

@ -61,33 +61,37 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x3b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
}; };
}; };
}; };

View File

@ -88,30 +88,34 @@
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
spi-max-frequency = <25000000>; spi-max-frequency = <25000000>;
reg = <0>; reg = <0>;
#address-cells = <1>;
#size-cells = <1>;
partition@0 { partitions {
reg = <0x0 0x0030000>; compatible = "fixed-partitions";
label = "u-boot"; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
reg = <0x00030000 0x00010000>; reg = <0x0 0x0030000>;
label = "config"; label = "u-boot";
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
reg = <0x00040000 0x00010000>; reg = <0x00030000 0x00010000>;
label = "factory"; label = "config";
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
reg = <0x00050000 0x00fb0000>; reg = <0x00040000 0x00010000>;
label = "firmware"; label = "factory";
read-only;
};
partition@50000 {
reg = <0x00050000 0x00fb0000>;
label = "firmware";
};
}; };
}; };
}; };

View File

@ -54,33 +54,37 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x7b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
}; };
}; };
}; };

View File

@ -18,30 +18,34 @@
reg = <0x1f000000 0x800000>; reg = <0x1f000000 0x800000>;
bank-width = <2>; bank-width = <2>;
device-width = <2>; device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x7b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
}; };
}; };

View File

@ -18,30 +18,34 @@
reg = <0x1f000000 0x800000>; reg = <0x1f000000 0x800000>;
bank-width = <2>; bank-width = <2>;
device-width = <2>; device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x7b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
}; };
}; };

View File

@ -47,33 +47,37 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x3b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
}; };
}; };
}; };

View File

@ -18,30 +18,34 @@
reg = <0x1f000000 0x800000>; reg = <0x1f000000 0x800000>;
bank-width = <2>; bank-width = <2>;
device-width = <2>; device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x3b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
}; };
}; };

View File

@ -18,30 +18,34 @@
reg = <0x1f000000 0x800000>; reg = <0x1f000000 0x800000>;
bank-width = <2>; bank-width = <2>;
device-width = <2>; device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x3b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
}; };
}; };

View File

@ -57,40 +57,44 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
m25p,chunked-io = <32>; m25p,chunked-io = <32>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "permanent_config"; label = "factory";
reg = <0x50000 0x50000>; reg = <0x40000 0x10000>;
read-only; read-only;
}; };
partition@a0000 { partition@50000 {
label = "firmware"; label = "permanent_config";
reg = <0xa0000 0xf60000>; reg = <0x50000 0x50000>;
read-only;
};
partition@a0000 {
label = "firmware";
reg = <0xa0000 0xf60000>;
};
}; };
}; };
}; };

View File

@ -98,33 +98,37 @@
pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>; pinctrl-0 = <&spi_pins>, <&spi_cs1_pins>;
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <40000000>; spi-max-frequency = <40000000>;
m25p,chunked-io = <31>; m25p,chunked-io = <31>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
}; read-only;
};
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; };
};
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x1fb0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x1fb0000>;
};
}; };
}; };

View File

@ -53,33 +53,37 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "Bootloader"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "Config"; label = "Bootloader";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "Factory"; label = "Config";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "Factory";
reg = <0x50000 0x7b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
}; };
}; };
}; };

View File

@ -45,33 +45,37 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x3b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
}; };
}; };
}; };

View File

@ -11,33 +11,37 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x3b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x3b0000>;
};
}; };
}; };
}; };

View File

@ -11,33 +11,37 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x7b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
}; };
}; };
}; };

View File

@ -35,43 +35,47 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0 0>; reg = <0 0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
m25p,chunked-io = <32>; m25p,chunked-io = <32>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x1d800>; #address-cells = <1>;
}; #size-cells = <1>;
factory: partition@1d800 { partition@0 {
label = "factory_info"; label = "u-boot";
reg = <0x1d800 0x800>; reg = <0x0 0x1d800>;
read-only; };
};
art: partition@1e000 { factory: partition@1d800 {
label = "art"; label = "factory_info";
reg = <0x1e000 0x2000>; reg = <0x1d800 0x800>;
read-only; read-only;
}; };
partition@20000 { art: partition@1e000 {
label = "config"; label = "art";
reg = <0x20000 0x10000>; reg = <0x1e000 0x2000>;
}; read-only;
};
partition@30000 { partition@20000 {
label = "u-boot2"; label = "config";
reg = <0x30000 0x10000>; reg = <0x20000 0x10000>;
}; };
partition@40000 { partition@30000 {
label = "firmware"; label = "u-boot2";
reg = <0x40000 0x7c0000>; reg = <0x30000 0x10000>;
};
partition@40000 {
label = "firmware";
reg = <0x40000 0x7c0000>;
};
}; };
}; };
}; };

View File

@ -70,33 +70,37 @@
status = "okay"; status = "okay";
m25p80@0 { m25p80@0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x7b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
}; };
}; };
}; };

View File

@ -43,30 +43,34 @@
reg = <0x1f000000 0x800000>; reg = <0x1f000000 0x800000>;
bank-width = <2>; bank-width = <2>;
device-width = <2>; device-width = <2>;
#address-cells = <1>;
#size-cells = <1>;
partition@0 { partitions {
label = "u-boot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "u-boot-env"; label = "u-boot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
read-only; read-only;
}; };
factory: partition@40000 { partition@30000 {
label = "factory"; label = "u-boot-env";
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
read-only; read-only;
}; };
partition@50000 { factory: partition@40000 {
label = "firmware"; label = "factory";
reg = <0x50000 0x7b0000>; reg = <0x40000 0x10000>;
read-only;
};
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
}; };
}; };
}; };

View File

@ -86,80 +86,86 @@
&nand { &nand {
status = "okay"; status = "okay";
partition@0 { partitions {
label = "Bootloader"; compatible = "fixed-partitions";
reg = <0x0 0x80000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@80000 { partition@0 {
label = "Config"; label = "Bootloader";
reg = <0x80000 0x40000>; reg = <0x0 0x80000>;
}; read-only;
};
partition@c0000 { partition@80000 {
label = "Bdata"; label = "Config";
reg = <0xc0000 0x40000>; reg = <0x80000 0x40000>;
read-only; };
};
factory: partition@100000 { partition@c0000 {
label = "Factory"; label = "Bdata";
reg = <0x100000 0x40000>; reg = <0xc0000 0x40000>;
read-only; read-only;
}; };
partition@140000 { factory: partition@100000 {
label = "crash"; label = "Factory";
reg = <0x140000 0x40000>; reg = <0x100000 0x40000>;
}; read-only;
};
partition@180000 { partition@140000 {
label = "crash_syslog"; label = "crash";
reg = <0x180000 0x40000>; reg = <0x140000 0x40000>;
}; };
partition@1c0000 { partition@180000 {
label = "reserved0"; label = "crash_syslog";
reg = <0x1c0000 0x40000>; reg = <0x180000 0x40000>;
read-only; };
};
/* uboot expects to find kernels at 0x200000 & 0x600000 partition@1c0000 {
* referred to as system 1 & system 2 respectively. label = "reserved0";
* a kernel is considered suitable for handing control over reg = <0x1c0000 0x40000>;
* if its linux magic number exists & uImage CRC are correct. read-only;
* If either of those conditions fail, a matching sys'n'_fail flag };
* is set in uboot env & a restart performed in the hope that the
* alternate kernel is okay.
* if neither kernel checksums ok and both are marked failed, system 2
* is booted anyway.
*
* Note uboot's tftp flash install writes the transferred
* image to both kernel partitions.
*/
partition@200000 { /* uboot expects to find kernels at 0x200000 & 0x600000
label = "kernel_stock"; * referred to as system 1 & system 2 respectively.
reg = <0x200000 0x400000>; * a kernel is considered suitable for handing control over
}; * if its linux magic number exists & uImage CRC are correct.
* If either of those conditions fail, a matching sys'n'_fail flag
* is set in uboot env & a restart performed in the hope that the
* alternate kernel is okay.
* if neither kernel checksums ok and both are marked failed, system 2
* is booted anyway.
*
* Note uboot's tftp flash install writes the transferred
* image to both kernel partitions.
*/
partition@600000 { partition@200000 {
label = "kernel"; label = "kernel_stock";
reg = <0x600000 0x400000>; reg = <0x200000 0x400000>;
}; };
/* ubi partition is the result of squashing partition@600000 {
* next consecutive stock partitions: label = "kernel";
* - rootfs0 (rootfs partition for stock kernel0), reg = <0x600000 0x400000>;
* - rootfs1 (rootfs partition for stock failsafe kernel1), };
* - overlay (used as ubi overlay in stock fw)
* resulting 117,5MiB space for packages.
*/
partition@a00000 { /* ubi partition is the result of squashing
label = "ubi"; * next consecutive stock partitions:
reg = <0xa00000 0x7580000>; * - rootfs0 (rootfs partition for stock kernel0),
* - rootfs1 (rootfs partition for stock failsafe kernel1),
* - overlay (used as ubi overlay in stock fw)
* resulting 117,5MiB space for packages.
*/
partition@a00000 {
label = "ubi";
reg = <0xa00000 0x7580000>;
};
}; };
}; };

Some files were not shown because too many files have changed in this diff Show More