lantiq: move partitions into partion 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: Mathias Kresin <openwrt@kresin.me>

SVN-Revision: 49280
This commit is contained in:
blogic 2016-05-02 18:50:18 +00:00 committed by Jo-Philipp Wich
parent b695ce2999
commit b7fc892eb5
42 changed files with 1144 additions and 897 deletions

View file

@ -29,6 +29,11 @@
#address-cells = <1>;
#size-cells = <1>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x0 0x20000>;
@ -60,7 +65,7 @@
label = "rootfs_data";
reg = <0x1000000 0x1000000>;
};
};
};
};

View file

@ -42,6 +42,11 @@
lantiq,noxip;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x00000 0x40000>;
@ -60,6 +65,7 @@
};
};
};
};
gpio: pinmux@E100B10 {
pinctrl-names = "default";
pinctrl-0 = <&state_default>;

View file

@ -36,6 +36,11 @@
#address-cells = <1>;
#size-cells = <1>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x00000 0x10000>; /* 64 KB */
@ -59,6 +64,7 @@
read-only;
};
};
};
gpiomm: gpiomm@4000000 {
compatible = "lantiq,gpio-mm";

View file

@ -40,6 +40,11 @@
#address-cells = <1>;
#size-cells = <1>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x00000 0x10000>;
@ -62,6 +67,7 @@
read-only;
};
};
};
gpiomm: gpiomm@4000000 {
compatible = "lantiq,gpio-mm";

View file

@ -41,6 +41,11 @@
#address-cells = <1>;
#size-cells = <1>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x00000 0x20000>;
@ -64,6 +69,7 @@
read-only;
};
};
};
mac_addr {
compatible = "lantiq,eth-mac";

View file

@ -37,6 +37,11 @@
#address-cells = <1>;
#size-cells = <1>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x00000 0x10000>;
@ -60,6 +65,7 @@
read-only;
};
};
};
mac_addr {
compatible = "lantiq,eth-mac";

View file

@ -40,6 +40,11 @@
#address-cells = <1>;
#size-cells = <1>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x00000 0x10000>;
@ -63,6 +68,7 @@
read-only;
};
};
};
mac_addr {
compatible = "lantiq,eth-mac";

View file

@ -38,6 +38,11 @@
#address-cells = <1>;
#size-cells = <1>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x00000 0x40000>;
@ -61,6 +66,7 @@
read-only;
};
};
};
mac_addr {
compatible = "lantiq,eth-mac";

View file

@ -39,6 +39,11 @@
#address-cells = <1>;
#size-cells = <1>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x00000 0x10000>;
@ -61,6 +66,7 @@
read-only;
};
};
};
gpiomm: gpiomm@4000000 {
compatible = "lantiq,gpio-mm";

View file

@ -38,6 +38,11 @@
#address-cells = <1>;
#size-cells = <1>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x00000 0x40000>;
@ -60,6 +65,7 @@
read-only;
};
};
};
mac_addr {
compatible = "lantiq,eth-mac";

View file

@ -30,6 +30,11 @@
#address-cells = <1>;
#size-cells = <1>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x0 0x60000>;
@ -54,6 +59,7 @@
};
};
};
};
gpio: pinmux@E100B10 {
pinctrl-names = "default";

View file

@ -39,6 +39,11 @@
#address-cells = <1>;
#size-cells = <1>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x00000 0x10000>;
@ -62,6 +67,7 @@
read-only;
};
};
};
mac_addr {
compatible = "lantiq,eth-mac";

View file

@ -38,6 +38,11 @@
#address-cells = <1>;
#size-cells = <1>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x00000 0x10000>;
@ -61,6 +66,7 @@
read-only;
};
};
};
mac_addr {
compatible = "lantiq,eth-mac";

View file

@ -38,6 +38,11 @@
#address-cells = <1>;
#size-cells = <1>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x00000 0x30000>;
@ -61,6 +66,7 @@
read-only;
};
};
};
mac_addr {
compatible = "lantiq,eth-mac";

View file

@ -37,6 +37,11 @@
#address-cells = <1>;
#size-cells = <1>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x00000 0x30000>; /* 192 KiB */
@ -60,6 +65,7 @@
read-only;
};
};
};
mac_addr {
compatible = "lantiq,eth-mac";
@ -83,7 +89,6 @@
pinctrl-0 = <&state_default>;
state_default: pinmux {
pci_in {
lantiq,groups = "req1";
lantiq,function = "pci";

View file

@ -47,6 +47,11 @@
#address-cells = <1>;
#size-cells = <1>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x00000 0x40000>; /* 256KB */
@ -72,6 +77,7 @@
reg = <0x70000 0x10000>;
};
};
};
nand-parts@0 { /* NAND Flash: Samsung K9F5608U0D-JIB0 32MB */
compatible = "gen_nand", "lantiq,nand-xway";
@ -82,6 +88,11 @@
#size-cells = <1>;
req-mask = <0x1>; /* PCI request lines to mask during NAND access */
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
ath9k_cal: partition@0 {
label = "art"; /* Atheros 9160 wifi b/g/n radio EEPROM */
reg = <0x00000 0x4000>;
@ -97,7 +108,7 @@
label = "ubi";
reg = <0x204000 0x1DFC000>;
};
};
};

View file

@ -48,6 +48,11 @@
#size-cells = <1>;
req-mask = <0x1>; /* PCI request lines to mask during NAND access */
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "preboot";
reg = <0x00000 0x8000>;
@ -75,6 +80,7 @@
reg = <0x26c000 0x1d94000>;
};
};
};
ath9k_eep {
compatible = "ath9k,eeprom";

View file

@ -32,6 +32,11 @@
#address-cells = <1>;
#size-cells = <1>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "u-boot";
reg = <0x0 0x40000>;
@ -56,6 +61,7 @@
};
};
};
};
gpio: pinmux@E100B10 {
pinctrl-names = "default";

View file

@ -68,6 +68,11 @@
reg = <1 0>;
spi-max-frequency = <5000000>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
reg = <0x0 0x20000>;
label = "SPI (RO) U-Boot Image";
@ -98,6 +103,7 @@
};
};
};
};
ifxhcd@E101000 {
status = "okay";
};

View file

@ -170,6 +170,11 @@
reg = <4 0>;
spi-max-frequency = <1000000>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
reg = <0x0 0x10000>;
label = "uboot";
@ -193,4 +198,5 @@
label = "firmware";
};
};
};
};

View file

@ -28,6 +28,11 @@
#address-cells = <1>;
#size-cells = <1>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x00000 0x10000>; /* 64 KB */
@ -49,6 +54,7 @@
};
};
};
};
gpio: pinmux@E100B10 {
compatible = "lantiq,pinctrl-xway";

View file

@ -28,6 +28,11 @@
#address-cells = <1>;
#size-cells = <1>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x00000 0x10000>; /* 64 KB */
@ -49,6 +54,7 @@
};
};
};
};
gpio: pinmux@E100B10 {
compatible = "lantiq,pinctrl-xr9";

View file

@ -222,6 +222,11 @@
reg = <4 0>;
spi-max-frequency = <1000000>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
reg = <0x0 0x20000>;
label = "SPI (RO) U-Boot Image";
@ -251,6 +256,7 @@
label = "kernel";
};
};
};
};
&eth0 {

View file

@ -15,6 +15,11 @@
#address-cells = <1>;
#size-cells = <1>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x00000 0x40000>;
@ -32,4 +37,5 @@
};
};
};
};
};

View file

@ -14,6 +14,11 @@
#address-cells = <1>;
#size-cells = <1>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x00000 0x10000>;
@ -31,4 +36,5 @@
};
};
};
};
};

View file

@ -32,6 +32,11 @@
#address-cells = <1>;
#size-cells = <1>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "kernel";
reg = <0x0 0x400000>;
@ -60,6 +65,7 @@
};
};
};
};
gpio: pinmux@E100B10 {
pinctrl-names = "default";

View file

@ -32,6 +32,11 @@
#address-cells = <1>;
#size-cells = <1>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "urlader";
reg = <0x00000 0x20000>;
@ -56,6 +61,7 @@
};
};
};
};
gpio: pinmux@E100B10 {
pinctrl-names = "default";

View file

@ -29,6 +29,11 @@
#address-cells = <1>;
#size-cells = <1>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x0 0x30000>;
@ -44,6 +49,7 @@
reg = <0x40000 0x7c0000>;
};
};
};
gpiomm: gpiomm@4000000 {
compatible = "lantiq,gpio-mm";

View file

@ -31,6 +31,11 @@
#address-cells = <1>;
#size-cells = <1>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x0 0x20000>;
@ -49,6 +54,7 @@
};
};
};
};
gpio: pinmux@E100B10 {
compatible = "lantiq,pinctrl-xr9";

View file

@ -33,6 +33,11 @@
#address-cells = <1>;
#size-cells = <1>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x00000 0x20000>;
@ -51,6 +56,7 @@
};
};
};
};
gpio: pinmux@E100B10 {
pinctrl-names = "default";

View file

@ -40,6 +40,11 @@
#address-cells = <1>;
#size-cells = <1>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x00000 0x40000>;
@ -58,6 +63,7 @@
};
};
};
};
gpio: pinmux@E100B10 {
compatible = "lantiq,pinctrl-xr9";

View file

@ -22,6 +22,11 @@
#address-cells = <1>;
#size-cells = <1>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x00000 0x40000>;
@ -40,6 +45,7 @@
};
};
};
};
pcie@d900000 {
status = "disabled";
};

View file

@ -14,6 +14,11 @@
#address-cells = <1>;
#size-cells = <1>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x0 0x50000>;
@ -28,6 +33,7 @@
reg = <0x60000 0x7a0000>;
};
};
};
nand-parts@0 {
compatible = "gen_nand", "lantiq,nand-xway";

View file

@ -158,6 +158,11 @@
spi-max-frequency = <33250000>;
m25p,fast-read;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
reg = <0x0 0x20000>;
label = "u-boot";
@ -181,6 +186,7 @@
read-only;
};
};
};
};
&eth0 {

View file

@ -29,6 +29,11 @@
#address-cells = <1>;
#size-cells = <1>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x00000 0x20000>;
@ -70,6 +75,7 @@
};
};
};
};
gpio: pinmux@E100B10 {
pinctrl-names = "default";

View file

@ -30,6 +30,11 @@
#address-cells = <1>;
#size-cells = <1>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
boardconfig: partition@fe0000 {
label = "board_config";
reg = <0xfe0000 0x20000>;
@ -37,6 +42,7 @@
};
};
};
};
gpio: pinmux@E100B10 {
pinctrl-names = "default";

View file

@ -6,6 +6,7 @@
fpi@10000000 {
localbus@0 {
nor-boot@0 {
partitions {
partition@0 {
label = "Boot";
reg = <0x00000 0x40000>;
@ -50,4 +51,5 @@
};
};
};
};
};

View file

@ -6,6 +6,7 @@
fpi@10000000 {
localbus@0 {
nor-boot@0 {
partitions {
partition@0 {
label = "uboot";
reg = <0x0 0x60000>; /* 384 KiB */
@ -25,4 +26,5 @@
};
};
};
};
};

View file

@ -13,6 +13,11 @@
#address-cells = <1>;
#size-cells = <1>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@40000 {
label = "board_config";
reg = <0x40000 0x10000>;
@ -30,4 +35,5 @@
};
};
};
};
};

View file

@ -13,6 +13,11 @@
#address-cells = <1>;
#size-cells = <1>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x00000 0x40000>;
@ -36,4 +41,5 @@
};
};
};
};
};

View file

@ -166,6 +166,11 @@
spi-max-frequency = <33250000>;
m25p,fast-read;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
reg = <0x0 0x20000>;
label = "u-boot";
@ -207,6 +212,7 @@
read-only;
};
};
};
};
&eth0 {

View file

@ -33,6 +33,11 @@
#address-cells = <1>;
#size-cells = <1>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x00000 0x40000>;
@ -62,6 +67,7 @@
read-only;
};
};
};
mac_addr {
compatible = "lantiq,eth-mac";