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
owl
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>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 { partition@0 {
label = "uboot"; label = "uboot";
reg = <0x0 0x20000>; reg = <0x0 0x20000>;
@ -60,7 +65,7 @@
label = "rootfs_data"; label = "rootfs_data";
reg = <0x1000000 0x1000000>; reg = <0x1000000 0x1000000>;
}; };
};
}; };
}; };

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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