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,38 +29,43 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
partition@0 { partitions {
label = "uboot"; compatible = "fixed-partitions";
reg = <0x0 0x20000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@20000 { partition@0 {
label = "uboot_env"; label = "uboot";
reg = <0x20000 0x20000>; reg = <0x0 0x20000>;
}; read-only;
};
partition@40000 { partition@20000 {
label = "boardconfig"; label = "uboot_env";
reg = <0x40000 0x60000>; reg = <0x20000 0x20000>;
read-only; };
};
partition@a0000 { partition@40000 {
label = "firmware"; label = "boardconfig";
reg = <0xa0000 0xf20000>; reg = <0x40000 0x60000>;
}; read-only;
};
partition@fc0000 { partition@a0000 {
label = "sysconfig"; label = "firmware";
reg = <0xfc0000 0x40000>; reg = <0xa0000 0xf20000>;
}; };
partition@0x1000000 { partition@fc0000 {
label = "rootfs_data"; label = "sysconfig";
reg = <0x1000000 0x1000000>; reg = <0xfc0000 0x40000>;
}; };
partition@0x1000000 {
label = "rootfs_data";
reg = <0x1000000 0x1000000>;
};
};
}; };
}; };

View File

@ -42,21 +42,27 @@
lantiq,noxip; lantiq,noxip;
partition@0 { partitions {
label = "uboot"; compatible = "fixed-partitions";
reg = <0x00000 0x40000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@40000 { partition@0 {
label = "uboot_env"; label = "uboot";
reg = <0x40000 0x20000>; reg = <0x00000 0x40000>;
read-only; read-only;
}; };
partition@60000 { partition@40000 {
label = "firmware"; label = "uboot_env";
reg = <0x60000 0xfa0000>; reg = <0x40000 0x20000>;
read-only;
};
partition@60000 {
label = "firmware";
reg = <0x60000 0xfa0000>;
};
}; };
}; };
}; };

View File

@ -36,27 +36,33 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
partition@0 { partitions {
label = "uboot"; compatible = "fixed-partitions";
reg = <0x00000 0x10000>; /* 64 KB */ #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@10000 { partition@0 {
label = "uboot_env"; label = "uboot";
reg = <0x10000 0x10000>; /* 64 KB */ reg = <0x00000 0x10000>; /* 64 KB */
read-only; read-only;
}; };
partition@20000 { partition@10000 {
label = "firmware"; label = "uboot_env";
reg = <0x20000 0x3d0000>; reg = <0x10000 0x10000>; /* 64 KB */
}; read-only;
};
partition@400000 { partition@20000 {
label = "boardconfig"; label = "firmware";
reg = <0x3f0000 0x10000>; reg = <0x20000 0x3d0000>;
read-only; };
partition@400000 {
label = "boardconfig";
reg = <0x3f0000 0x10000>;
read-only;
};
}; };
}; };

View File

@ -40,26 +40,32 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
partition@0 { partitions {
label = "uboot"; compatible = "fixed-partitions";
reg = <0x00000 0x10000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@10000 { partition@0 {
label = "uboot_env"; label = "uboot";
reg = <0x10000 0x10000>; reg = <0x00000 0x10000>;
}; read-only;
};
partition@20000 { partition@10000 {
label = "firmware"; label = "uboot_env";
reg = <0x20000 0x3d0000>; reg = <0x10000 0x10000>;
}; };
partition@3f0000 { partition@20000 {
label = "boardconfig"; label = "firmware";
reg = <0x3f0000 0x10000>; reg = <0x20000 0x3d0000>;
read-only; };
partition@3f0000 {
label = "boardconfig";
reg = <0x3f0000 0x10000>;
read-only;
};
}; };
}; };

View File

@ -41,27 +41,33 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
partition@0 { partitions {
label = "uboot"; compatible = "fixed-partitions";
reg = <0x00000 0x20000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@20000 { partition@0 {
label = "uboot_env"; label = "uboot";
reg = <0x20000 0x10000>; reg = <0x00000 0x20000>;
read-only; read-only;
}; };
partition@30000 { partition@20000 {
label = "firmware"; label = "uboot_env";
reg = <0x30000 0x3c0000>; reg = <0x20000 0x10000>;
}; read-only;
};
partition@7f0000 { partition@30000 {
label = "boardconfig"; label = "firmware";
reg = <0x3f0000 0x10000>; reg = <0x30000 0x3c0000>;
read-only; };
partition@7f0000 {
label = "boardconfig";
reg = <0x3f0000 0x10000>;
read-only;
};
}; };
}; };

View File

@ -37,27 +37,33 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
partition@0 { partitions {
label = "uboot"; compatible = "fixed-partitions";
reg = <0x00000 0x10000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@10000 { partition@0 {
label = "uboot_env"; label = "uboot";
reg = <0x10000 0x10000>; reg = <0x00000 0x10000>;
read-only; read-only;
}; };
partition@20000 { partition@10000 {
label = "firmware"; label = "uboot_env";
reg = <0x20000 0x3d0000>; reg = <0x10000 0x10000>;
}; read-only;
};
partition@400000 { partition@20000 {
label = "boardconfig"; label = "firmware";
reg = <0x3f0000 0x10000>; reg = <0x20000 0x3d0000>;
read-only; };
partition@400000 {
label = "boardconfig";
reg = <0x3f0000 0x10000>;
read-only;
};
}; };
}; };

View File

@ -40,27 +40,33 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
partition@0 { partitions {
label = "uboot"; compatible = "fixed-partitions";
reg = <0x00000 0x10000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@10000 { partition@0 {
label = "uboot_env"; label = "uboot";
reg = <0x10000 0x10000>; reg = <0x00000 0x10000>;
read-only; read-only;
}; };
partition@20000 { partition@10000 {
label = "firmware"; label = "uboot_env";
reg = <0x20000 0x3d0000>; reg = <0x10000 0x10000>;
}; read-only;
};
partition@3f0000 { partition@20000 {
label = "boardconfig"; label = "firmware";
reg = <0x3f0000 0x10000>; reg = <0x20000 0x3d0000>;
read-only; };
partition@3f0000 {
label = "boardconfig";
reg = <0x3f0000 0x10000>;
read-only;
};
}; };
}; };

View File

@ -38,27 +38,33 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
partition@0 { partitions {
label = "uboot"; compatible = "fixed-partitions";
reg = <0x00000 0x40000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@40000 { partition@0 {
label = "uboot_env"; label = "uboot";
reg = <0x40000 0x20000>; reg = <0x00000 0x40000>;
read-only; read-only;
}; };
partition@60000 { partition@40000 {
label = "firmware"; label = "uboot_env";
reg = <0x60000 0xf80000>; reg = <0x40000 0x20000>;
}; read-only;
};
partition@fe0000 { partition@60000 {
label = "board_config"; label = "firmware";
reg = <0xfe0000 0x20000>; reg = <0x60000 0xf80000>;
read-only; };
partition@fe0000 {
label = "board_config";
reg = <0xfe0000 0x20000>;
read-only;
};
}; };
}; };

View File

@ -39,26 +39,32 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
partition@0 { partitions {
label = "uboot"; compatible = "fixed-partitions";
reg = <0x00000 0x10000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@10000 { partition@0 {
label = "uboot_env"; label = "uboot";
reg = <0x10000 0x10000>; reg = <0x00000 0x10000>;
}; read-only;
};
partition@20000 { partition@10000 {
label = "firmware"; label = "uboot_env";
reg = <0x20000 0x7d0000>; reg = <0x10000 0x10000>;
}; };
partition@400000 { partition@20000 {
label = "boardconfig"; label = "firmware";
reg = <0x7f0000 0x10000>; reg = <0x20000 0x7d0000>;
read-only; };
partition@400000 {
label = "boardconfig";
reg = <0x7f0000 0x10000>;
read-only;
};
}; };
}; };

View File

@ -38,26 +38,32 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
partition@0 { partitions {
label = "uboot"; compatible = "fixed-partitions";
reg = <0x00000 0x40000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@40000 { partition@0 {
label = "uboot_env"; label = "uboot";
reg = <0x40000 0x20000>; reg = <0x00000 0x40000>;
}; read-only;
};
partition@60000 { partition@40000 {
label = "firmware"; label = "uboot_env";
reg = <0x60000 0xf80000>; reg = <0x40000 0x20000>;
}; };
partition@fe0000 { partition@60000 {
label = "board_config"; label = "firmware";
reg = <0xfe0000 0x20000>; reg = <0x60000 0xf80000>;
read-only; };
partition@fe0000 {
label = "board_config";
reg = <0xfe0000 0x20000>;
read-only;
};
}; };
}; };

View File

@ -30,27 +30,33 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
partition@0 { partitions {
label = "uboot"; compatible = "fixed-partitions";
reg = <0x0 0x60000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@60000 { partition@0 {
label = "uboot-env"; label = "uboot";
reg = <0x60000 0x20000>; reg = <0x0 0x60000>;
read-only; read-only;
}; };
partition@80000 { partition@60000 {
label = "firmware"; label = "uboot-env";
reg = <0x80000 0x1f00000>; reg = <0x60000 0x20000>;
}; read-only;
};
boardconfig: partition@1f80000 { partition@80000 {
label = "boardconfig"; label = "firmware";
reg = <0x1f80000 0x80000>; reg = <0x80000 0x1f00000>;
read-only; };
boardconfig: partition@1f80000 {
label = "boardconfig";
reg = <0x1f80000 0x80000>;
read-only;
};
}; };
}; };
}; };

View File

@ -39,27 +39,33 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
partition@0 { partitions {
label = "uboot"; compatible = "fixed-partitions";
reg = <0x00000 0x10000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@10000 { partition@0 {
label = "uboot_env"; label = "uboot";
reg = <0x10000 0x10000>; reg = <0x00000 0x10000>;
read-only; read-only;
}; };
partition@20000 { partition@10000 {
label = "firmware"; label = "uboot_env";
reg = <0x20000 0x3d0000>; reg = <0x10000 0x10000>;
}; read-only;
};
partition@400000 { partition@20000 {
label = "board_config"; label = "firmware";
reg = <0x3f0000 0x10000>; reg = <0x20000 0x3d0000>;
read-only; };
partition@400000 {
label = "board_config";
reg = <0x3f0000 0x10000>;
read-only;
};
}; };
}; };

View File

@ -38,27 +38,33 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
partition@0 { partitions {
label = "uboot"; compatible = "fixed-partitions";
reg = <0x00000 0x10000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@10000 { partition@0 {
label = "uboot_env"; label = "uboot";
reg = <0x10000 0x10000>; reg = <0x00000 0x10000>;
read-only; read-only;
}; };
partition@20000 { partition@10000 {
label = "firmware"; label = "uboot_env";
reg = <0x20000 0x7d0000>; reg = <0x10000 0x10000>;
}; read-only;
};
partition@7f0000 { partition@20000 {
label = "board_config"; label = "firmware";
reg = <0x7f0000 0x10000>; reg = <0x20000 0x7d0000>;
read-only; };
partition@7f0000 {
label = "board_config";
reg = <0x7f0000 0x10000>;
read-only;
};
}; };
}; };

View File

@ -38,27 +38,33 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
partition@0 { partitions {
label = "uboot"; compatible = "fixed-partitions";
reg = <0x00000 0x30000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@10000 { partition@0 {
label = "uboot_env"; label = "uboot";
reg = <0x30000 0x10000>; reg = <0x00000 0x30000>;
read-only; read-only;
}; };
partition@20000 { partition@10000 {
label = "firmware"; label = "uboot_env";
reg = <0x40000 0x7b0000>; reg = <0x30000 0x10000>;
}; read-only;
};
partition@7f0000 { partition@20000 {
label = "board_config"; label = "firmware";
reg = <0x7f0000 0x10000>; reg = <0x40000 0x7b0000>;
read-only; };
partition@7f0000 {
label = "board_config";
reg = <0x7f0000 0x10000>;
read-only;
};
}; };
}; };

View File

@ -3,176 +3,181 @@
/include/ "danube.dtsi" /include/ "danube.dtsi"
/ { / {
model = "ARV8539PW22 - Speedport W 504V Typ A"; model = "ARV8539PW22 - Speedport W 504V Typ A";
chosen { chosen {
leds { leds {
boot = &power_green; boot = &power_green;
failsafe = &power_red; failsafe = &power_red;
running = &power_green; running = &power_green;
dsl = &dsl_green; dsl = &dsl_green;
internet = &online_green; internet = &online_green;
wifi = &wireless_green; wifi = &wireless_green;
};
}; };
};
memory@0 { memory@0 {
reg = <0x0 0x4000000>; reg = <0x0 0x4000000>;
}; };
sram@1F000000 { sram@1F000000 {
vmmc@107000 { vmmc@107000 {
status = "okay"; status = "okay";
gpios = <&gpio 31 0>; gpios = <&gpio 31 0>;
}; };
}; };
fpi@10000000 { fpi@10000000 {
localbus@0 { localbus@0 {
nor-boot@0 { nor-boot@0 {
compatible = "lantiq,nor"; compatible = "lantiq,nor";
bank-width = <2>; bank-width = <2>;
reg = <0 0x0 0x800000>; reg = <0 0x0 0x800000>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
partition@0 { partitions {
label = "uboot"; compatible = "fixed-partitions";
reg = <0x00000 0x30000>; /* 192 KiB */ #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@30000 { partition@0 {
label = "uboot"; label = "uboot";
reg = <0x30000 0x10000>; /* 64 KiB */ reg = <0x00000 0x30000>; /* 192 KiB */
read-only; read-only;
}; };
partition@40000 { partition@30000 {
label = "firmware"; label = "uboot";
reg = <0x40000 0x7B0000>; /* 7872 KiB */ reg = <0x30000 0x10000>; /* 64 KiB */
}; read-only;
};
partition@7F0000 { partition@40000 {
label = "art"; label = "firmware";
reg = <0x7F0000 0x10000>; /* 64 KiB*/ reg = <0x40000 0x7B0000>; /* 7872 KiB */
read-only; };
};
};
mac_addr { partition@7F0000 {
compatible = "lantiq,eth-mac"; label = "art";
reg = <0 0x7f0016 0x6>; reg = <0x7F0000 0x10000>; /* 64 KiB*/
mac-increment = <2>; read-only;
}; };
};
};
ath9k_eep { mac_addr {
compatible = "ath9k,eeprom"; compatible = "lantiq,eth-mac";
reg = <0 0x7f0400 0x1000 reg = <0 0x7f0016 0x6>;
0 0x7f0016 0x6>; mac-increment = <2>;
ath,mac-increment = <1>; };
ath,pci-slot = <14>;
ath,eep-endian;
ath,arv-ath9k-fix;
};
};
gpio: pinmux@E100B10 { ath9k_eep {
pinctrl-names = "default"; compatible = "ath9k,eeprom";
pinctrl-0 = <&state_default>; reg = <0 0x7f0400 0x1000
0 0x7f0016 0x6>;
ath,mac-increment = <1>;
ath,pci-slot = <14>;
ath,eep-endian;
ath,arv-ath9k-fix;
};
};
state_default: pinmux { gpio: pinmux@E100B10 {
pinctrl-names = "default";
pinctrl-0 = <&state_default>;
pci_in { state_default: pinmux {
lantiq,groups = "req1"; pci_in {
lantiq,function = "pci"; lantiq,groups = "req1";
lantiq,open-drain = <1>; lantiq,function = "pci";
lantiq,pull = <2>; lantiq,open-drain = <1>;
lantiq,output = <0>; lantiq,pull = <2>;
}; lantiq,output = <0>;
pci_out { };
lantiq,groups = "gnt1"; pci_out {
lantiq,function = "pci"; lantiq,groups = "gnt1";
lantiq,output = <1>; lantiq,function = "pci";
}; lantiq,output = <1>;
pci_rst { };
lantiq,pins = "io21"; pci_rst {
lantiq,pull = <2>; lantiq,pins = "io21";
lantiq,output = <1>; lantiq,pull = <2>;
}; lantiq,output = <1>;
relay { };
lantiq,pins = "io31"; relay {
lantiq,output = <1>; lantiq,pins = "io31";
}; lantiq,output = <1>;
}; };
}; };
};
etop@E180000 { etop@E180000 {
phy-mode = "mii"; phy-mode = "mii";
}; };
pci@E105400 { pci@E105400 {
status = "okay"; status = "okay";
gpio-reset = <&gpio 21 0>; gpio-reset = <&gpio 21 0>;
}; };
ifxhcd@E101000 { ifxhcd@E101000 {
status = "okay"; status = "okay";
gpios = <&gpio 14 0>; gpios = <&gpio 14 0>;
lantiq,portmask = <0x3>; lantiq,portmask = <0x3>;
}; };
}; };
gpio-keys-polled { gpio-keys-polled {
compatible = "gpio-keys-polled"; compatible = "gpio-keys-polled";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
poll-interval = <100>; poll-interval = <100>;
wlan { wlan {
label = "wlan"; label = "wlan";
gpios = <&gpio 29 1>; gpios = <&gpio 29 1>;
linux,code = <0x211>; linux,code = <0x211>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio 30 1>; gpios = <&gpio 30 1>;
linux,code = <0x198>; linux,code = <0x198>;
}; };
}; };
gpio-leds { gpio-leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
power_green: power-green { power_green: power-green {
label = "arv8539pw22:green:power"; label = "arv8539pw22:green:power";
gpios = <&gpio 24 1>; gpios = <&gpio 24 1>;
default-state = "keep"; default-state = "keep";
}; };
power_red: power-red { power_red: power-red {
label = "arv8539pw22:red:power"; label = "arv8539pw22:red:power";
gpios = <&gpio 4 1>; gpios = <&gpio 4 1>;
}; };
dsl_green: dsl-green { dsl_green: dsl-green {
label = "arv8539pw22:green:dsl"; label = "arv8539pw22:green:dsl";
gpios = <&gpio 5 1>; gpios = <&gpio 5 1>;
}; };
online_green: online-green { online_green: online-green {
label = "arv8539pw22:green:online"; label = "arv8539pw22:green:online";
gpios = <&gpio 6 1>; gpios = <&gpio 6 1>;
}; };
wireless_green: wireless-green { wireless_green: wireless-green {
label = "arv8539pw22:green:wlan"; label = "arv8539pw22:green:wlan";
gpios = <&gpio 8 1>; gpios = <&gpio 8 1>;
}; };
/* /*
telefonie green is missing telefonie green is missing
*/ */
}; };
}; };

View File

@ -47,29 +47,35 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
partition@0 { partitions {
label = "uboot"; compatible = "fixed-partitions";
reg = <0x00000 0x40000>; /* 256KB */ #address-cells = <1>;
}; #size-cells = <1>;
partition@40000 { partition@0 {
label = "uboot_env"; label = "uboot";
reg = <0x40000 0x10000>; /* 64KB */ reg = <0x00000 0x40000>; /* 256KB */
}; };
partition@50000 { partition@40000 {
label = "rg_conf_1"; label = "uboot_env";
reg = <0x50000 0x10000>; reg = <0x40000 0x10000>; /* 64KB */
}; };
partition@60000 { partition@50000 {
label = "rg_conf_2"; label = "rg_conf_1";
reg = <0x60000 0x10000>; reg = <0x50000 0x10000>;
}; };
partition@70000 { partition@60000 {
label = "rg_conf_factory"; label = "rg_conf_2";
reg = <0x70000 0x10000>; reg = <0x60000 0x10000>;
};
partition@70000 {
label = "rg_conf_factory";
reg = <0x70000 0x10000>;
};
}; };
}; };
@ -82,22 +88,27 @@
#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 */
ath9k_cal: partition@0 { partitions {
label = "art"; /* Atheros 9160 wifi b/g/n radio EEPROM */ compatible = "fixed-partitions";
reg = <0x00000 0x4000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@4000 { ath9k_cal: partition@0 {
label = "kernel"; label = "art"; /* Atheros 9160 wifi b/g/n radio EEPROM */
reg = <0x4000 0x200000>; reg = <0x00000 0x4000>;
}; read-only;
};
partition@164000 { partition@4000 {
label = "ubi"; label = "kernel";
reg = <0x204000 0x1DFC000>; reg = <0x4000 0x200000>;
}; };
partition@164000 {
label = "ubi";
reg = <0x204000 0x1DFC000>;
};
};
}; };

View File

@ -48,31 +48,37 @@
#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 */
partition@0 { partitions {
label = "preboot"; compatible = "fixed-partitions";
reg = <0x00000 0x8000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@8000 { partition@0 {
label = "u-boot"; label = "preboot";
reg = <0x8000 0x05c000>; reg = <0x00000 0x8000>;
read-only; read-only;
}; };
partition@64000 { partition@8000 {
label = "uboot-config"; label = "u-boot";
reg = <0x64000 0x004000>; reg = <0x8000 0x05c000>;
}; read-only;
ath9k_cal: partition@68000 { };
label = "art-copy"; partition@64000 {
reg = <0x68000 0x004000>; label = "uboot-config";
}; reg = <0x64000 0x004000>;
partition@6c000 { };
label = "kernel"; ath9k_cal: partition@68000 {
reg = <0x6c000 0x200000>; label = "art-copy";
}; reg = <0x68000 0x004000>;
partition@26c000 { };
label = "ubi"; partition@6c000 {
reg = <0x26c000 0x1d94000>; label = "kernel";
reg = <0x6c000 0x200000>;
};
partition@26c000 {
label = "ubi";
reg = <0x26c000 0x1d94000>;
};
}; };
}; };

View File

@ -32,27 +32,33 @@
#address-cells = <1>; #address-cells = <1>;
#size-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@40000 { partition@0 {
label = "uboot-env"; label = "u-boot";
reg = <0x40000 0x40000>; reg = <0x0 0x40000>;
}; read-only;
caldata: partition@80000 { };
label = "caldata"; partition@40000 {
reg = <0x80000 0x20000>; label = "uboot-env";
read-only; reg = <0x40000 0x40000>;
}; };
partition@a0000 { caldata: partition@80000 {
label = "kernel"; label = "caldata";
reg = <0xa0000 0x200000>; reg = <0x80000 0x20000>;
}; read-only;
partition@2a0000 { };
label = "ubi"; partition@a0000 {
reg = <0x2a0000 0x7d60000>; label = "kernel";
reg = <0xa0000 0x200000>;
};
partition@2a0000 {
label = "ubi";
reg = <0x2a0000 0x7d60000>;
};
}; };
}; };
}; };

View File

@ -68,33 +68,39 @@
reg = <1 0>; reg = <1 0>;
spi-max-frequency = <5000000>; spi-max-frequency = <5000000>;
partition@0 { partitions {
reg = <0x0 0x20000>; compatible = "fixed-partitions";
label = "SPI (RO) U-Boot Image"; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@20000 { partition@0 {
reg = <0x20000 0x10000>; reg = <0x0 0x20000>;
label = "ENV_MAC"; label = "SPI (RO) U-Boot Image";
read-only; read-only;
}; };
partition@30000 { partition@20000 {
reg = <0x30000 0x10000>; reg = <0x20000 0x10000>;
label = "DPF"; label = "ENV_MAC";
read-only; read-only;
}; };
partition@40000 { partition@30000 {
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
label = "NVRAM"; label = "DPF";
read-only; read-only;
}; };
partition@500000 { partition@40000 {
reg = <0x50000 0x003a0000>; reg = <0x40000 0x10000>;
label = "kernel"; label = "NVRAM";
read-only;
};
partition@500000 {
reg = <0x50000 0x003a0000>;
label = "kernel";
};
}; };
}; };
}; };

View File

@ -170,27 +170,33 @@
reg = <4 0>; reg = <4 0>;
spi-max-frequency = <1000000>; spi-max-frequency = <1000000>;
partition@0 { partitions {
reg = <0x0 0x10000>; compatible = "fixed-partitions";
label = "uboot"; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@10000 { partition@0 {
reg = <0x10000 0x10000>; reg = <0x0 0x10000>;
label = "uboot-env"; label = "uboot";
read-only; read-only;
}; };
ath9k_cal: partition@20000 { partition@10000 {
reg = <0x20000 0x10000>; reg = <0x10000 0x10000>;
label = "calibration"; label = "uboot-env";
read-only; read-only;
}; };
partition@50000 { ath9k_cal: partition@20000 {
reg = <0x50000 0xfa0000>; reg = <0x20000 0x10000>;
label = "firmware"; label = "calibration";
read-only;
};
partition@50000 {
reg = <0x50000 0xfa0000>;
label = "firmware";
};
}; };
}; };
}; };

View File

@ -28,24 +28,30 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
partition@0 { partitions {
label = "uboot"; compatible = "fixed-partitions";
reg = <0x00000 0x10000>; /* 64 KB */ #address-cells = <1>;
}; #size-cells = <1>;
partition@10000 { partition@0 {
label = "uboot_env"; label = "uboot";
reg = <0x10000 0x10000>; /* 64 KB */ reg = <0x00000 0x10000>; /* 64 KB */
}; };
partition@20000 { partition@10000 {
label = "firmware"; label = "uboot_env";
reg = <0x20000 0x3d0000>; reg = <0x10000 0x10000>; /* 64 KB */
}; };
partition@400000 { partition@20000 {
label = "rootfs"; label = "firmware";
reg = <0x400000 0x400000>; reg = <0x20000 0x3d0000>;
};
partition@400000 {
label = "rootfs";
reg = <0x400000 0x400000>;
};
}; };
}; };
}; };

View File

@ -28,24 +28,30 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
partition@0 { partitions {
label = "uboot"; compatible = "fixed-partitions";
reg = <0x00000 0x10000>; /* 64 KB */ #address-cells = <1>;
}; #size-cells = <1>;
partition@10000 { partition@0 {
label = "uboot_env"; label = "uboot";
reg = <0x10000 0x10000>; /* 64 KB */ reg = <0x00000 0x10000>; /* 64 KB */
}; };
partition@20000 { partition@10000 {
label = "firmware"; label = "uboot_env";
reg = <0x20000 0x3d0000>; reg = <0x10000 0x10000>; /* 64 KB */
}; };
partition@400000 { partition@20000 {
label = "rootfs"; label = "firmware";
reg = <0x400000 0x400000>; reg = <0x20000 0x3d0000>;
};
partition@400000 {
label = "rootfs";
reg = <0x400000 0x400000>;
};
}; };
}; };
}; };

View File

@ -222,33 +222,39 @@
reg = <4 0>; reg = <4 0>;
spi-max-frequency = <1000000>; spi-max-frequency = <1000000>;
partition@0 { partitions {
reg = <0x0 0x20000>; compatible = "fixed-partitions";
label = "SPI (RO) U-Boot Image"; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@20000 { partition@0 {
reg = <0x20000 0x10000>; reg = <0x0 0x20000>;
label = "ENV_MAC"; label = "SPI (RO) U-Boot Image";
read-only; read-only;
}; };
partition@30000 { partition@20000 {
reg = <0x30000 0x10000>; reg = <0x20000 0x10000>;
label = "DPF"; label = "ENV_MAC";
read-only; read-only;
}; };
partition@40000 { partition@30000 {
reg = <0x40000 0x10000>; reg = <0x30000 0x10000>;
label = "NVRAM"; label = "DPF";
read-only; read-only;
}; };
partition@500000 { partition@40000 {
reg = <0x50000 0x003a0000>; reg = <0x40000 0x10000>;
label = "kernel"; label = "NVRAM";
read-only;
};
partition@500000 {
reg = <0x50000 0x003a0000>;
label = "kernel";
};
}; };
}; };
}; };

View File

@ -15,19 +15,25 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
partition@0 { partitions {
label = "uboot"; compatible = "fixed-partitions";
reg = <0x00000 0x40000>; #address-cells = <1>;
}; #size-cells = <1>;
partition@10000 { partition@0 {
label = "uboot_env"; label = "uboot";
reg = <0x40000 0x40000>; reg = <0x00000 0x40000>;
}; };
partition@20000 { partition@10000 {
label = "firmware"; label = "uboot_env";
reg = <0x80000 0x3f80000>; reg = <0x40000 0x40000>;
};
partition@20000 {
label = "firmware";
reg = <0x80000 0x3f80000>;
};
}; };
}; };
}; };

View File

@ -14,19 +14,25 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
partition@0 { partitions {
label = "uboot"; compatible = "fixed-partitions";
reg = <0x00000 0x10000>; #address-cells = <1>;
}; #size-cells = <1>;
partition@10000 { partition@0 {
label = "uboot_env"; label = "uboot";
reg = <0x10000 0x10000>; reg = <0x00000 0x10000>;
}; };
partition@20000 { partition@10000 {
label = "firmware"; label = "uboot_env";
reg = <0x20000 0x7e0000>; reg = <0x10000 0x10000>;
};
partition@20000 {
label = "firmware";
reg = <0x20000 0x7e0000>;
};
}; };
}; };
}; };

View File

@ -32,31 +32,37 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
partition@0 { partitions {
label = "kernel"; compatible = "fixed-partitions";
reg = <0x0 0x400000>; #address-cells = <1>;
}; #size-cells = <1>;
partition@400000 { partition@0 {
label = "rootfs_ubi"; label = "kernel";
reg = <0x400000 0x3000000>; reg = <0x0 0x400000>;
}; };
partition@3400000 { partition@400000 {
label = "vr9_firmware"; label = "rootfs_ubi";
reg = <0x3400000 0x400000>; reg = <0x400000 0x3000000>;
}; };
partition@3800000 {
label = "reserved"; partition@3400000 {
reg = <0x3800000 0x3000000>; label = "vr9_firmware";
}; reg = <0x3400000 0x400000>;
partition@6800000 { };
label = "config"; partition@3800000 {
reg = <0x6800000 0x200000>; label = "reserved";
}; reg = <0x3800000 0x3000000>;
partition@6a00000 { };
label = "nand-filesystem"; partition@6800000 {
reg = <0x6a00000 0x1600000>; label = "config";
reg = <0x6800000 0x200000>;
};
partition@6a00000 {
label = "nand-filesystem";
reg = <0x6a00000 0x1600000>;
};
}; };
}; };
}; };

View File

@ -32,27 +32,33 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
partition@0 { partitions {
label = "urlader"; compatible = "fixed-partitions";
reg = <0x00000 0x20000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@20000 { partition@0 {
label = "firmware"; label = "urlader";
reg = <0x20000 0xf60000>; reg = <0x00000 0x20000>;
}; read-only;
};
partition@f80000 { partition@20000 {
label = "tffs (1)"; label = "firmware";
reg = <0xf80000 0x40000>; reg = <0x20000 0xf60000>;
read-only; };
};
partition@fc0000 { partition@f80000 {
label = "tffs (2)"; label = "tffs (1)";
reg = <0xfc0000 0x40000>; reg = <0xf80000 0x40000>;
read-only; read-only;
};
partition@fc0000 {
label = "tffs (2)";
reg = <0xfc0000 0x40000>;
read-only;
};
}; };
}; };
}; };

View File

@ -29,19 +29,25 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
partition@0 { partitions {
label = "uboot"; compatible = "fixed-partitions";
reg = <0x0 0x30000>; #address-cells = <1>;
}; #size-cells = <1>;
partition@10000 { partition@0 {
label = "uboot_env"; label = "uboot";
reg = <0x30000 0x10000>; reg = <0x0 0x30000>;
}; };
partition@40000 { partition@10000 {
label = "firmware"; label = "uboot_env";
reg = <0x40000 0x7c0000>; reg = <0x30000 0x10000>;
};
partition@40000 {
label = "firmware";
reg = <0x40000 0x7c0000>;
};
}; };
}; };

View File

@ -31,21 +31,27 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
partition@0 { partitions {
label = "uboot"; compatible = "fixed-partitions";
reg = <0x0 0x20000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@20000 { partition@0 {
label = "uboot_env"; label = "uboot";
reg = <0x20000 0x10000>; reg = <0x0 0x20000>;
read-only; read-only;
}; };
partition@30000 { partition@20000 {
label = "firmware"; label = "uboot_env";
reg = <0x30000 0x7d0000>; reg = <0x20000 0x10000>;
read-only;
};
partition@30000 {
label = "firmware";
reg = <0x30000 0x7d0000>;
};
}; };
}; };
}; };

View File

@ -33,21 +33,27 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
partition@0 { partitions {
label = "uboot"; compatible = "fixed-partitions";
reg = <0x00000 0x20000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@20000 { partition@0 {
label = "uboot_env"; label = "uboot";
reg = <0x20000 0x10000>; reg = <0x00000 0x20000>;
read-only; read-only;
}; };
partition@30000 { partition@20000 {
label = "firmware"; label = "uboot_env";
reg = <0x30000 0x7d0000>; reg = <0x20000 0x10000>;
read-only;
};
partition@30000 {
label = "firmware";
reg = <0x30000 0x7d0000>;
};
}; };
}; };
}; };

View File

@ -40,21 +40,27 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
partition@0 { partitions {
label = "uboot"; compatible = "fixed-partitions";
reg = <0x00000 0x40000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@40000 { partition@0 {
label = "uboot_env"; label = "uboot";
reg = <0x40000 0x20000>; reg = <0x00000 0x40000>;
read-only; read-only;
}; };
partition@60000 { partition@40000 {
label = "firmware"; label = "uboot_env";
reg = <0x60000 0xfa0000>; reg = <0x40000 0x20000>;
read-only;
};
partition@60000 {
label = "firmware";
reg = <0x60000 0xfa0000>;
};
}; };
}; };
}; };

View File

@ -22,21 +22,27 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
partition@0 { partitions {
label = "uboot"; compatible = "fixed-partitions";
reg = <0x00000 0x40000>; #address-cells = <1>;
}; #size-cells = <1>;
partition@40000 {
label = "uboot-env"; partition@0 {
reg = <0x40000 0x20000>; label = "uboot";
}; reg = <0x00000 0x40000>;
partition@60000 { };
label = "kernel"; partition@40000 {
reg = <0x60000 0x200000>; label = "uboot-env";
}; reg = <0x40000 0x20000>;
partition@260000 { };
label = "ubi"; partition@60000 {
reg = <0x260000 0x7da0000>; label = "kernel";
reg = <0x60000 0x200000>;
};
partition@260000 {
label = "ubi";
reg = <0x260000 0x7da0000>;
};
}; };
}; };
}; };

View File

@ -14,18 +14,24 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
partition@0 { partitions {
label = "uboot"; compatible = "fixed-partitions";
reg = <0x0 0x50000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@50000 { partition@0 {
label = "uboot-env"; label = "uboot";
reg = <0x50000 0x10000>; reg = <0x0 0x50000>;
}; read-only;
partition@60000 { };
label = "unused"; partition@50000 {
reg = <0x60000 0x7a0000>; label = "uboot-env";
reg = <0x50000 0x10000>;
};
partition@60000 {
label = "unused";
reg = <0x60000 0x7a0000>;
};
}; };
}; };

View File

@ -158,27 +158,33 @@
spi-max-frequency = <33250000>; spi-max-frequency = <33250000>;
m25p,fast-read; m25p,fast-read;
partition@0 { partitions {
reg = <0x0 0x20000>; compatible = "fixed-partitions";
label = "u-boot"; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@20000 { partition@0 {
reg = <0x20000 0x7a0000>; reg = <0x0 0x20000>;
label = "firmware"; label = "u-boot";
}; read-only;
};
partition@7c0000 { partition@20000 {
reg = <0x7c0000 0x10000>; reg = <0x20000 0x7a0000>;
label = "config"; label = "firmware";
read-only; };
};
ath9k_cal: partition@7d0000 { partition@7c0000 {
reg = <0x7d0000 0x30000>; reg = <0x7c0000 0x10000>;
label = "boardconfig"; label = "config";
read-only; read-only;
};
ath9k_cal: partition@7d0000 {
reg = <0x7d0000 0x30000>;
label = "boardconfig";
read-only;
};
}; };
}; };
}; };

View File

@ -29,44 +29,50 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
partition@0 { partitions {
label = "uboot"; compatible = "fixed-partitions";
reg = <0x00000 0x20000>; #address-cells = <1>;
}; #size-cells = <1>;
partition@20000 { partition@0 {
label = "kernel"; label = "uboot";
reg = <0x20000 0x300000>; reg = <0x00000 0x20000>;
}; };
partition@1a0000 { partition@20000 {
label = "rootfs"; label = "kernel";
reg = <0x320000 0x420000>; reg = <0x20000 0x300000>;
}; };
partition@740000 { partition@1a0000 {
label = "btagent"; label = "rootfs";
reg = <0x740000 0x80000>; reg = <0x320000 0x420000>;
}; };
partition@7c0000 { partition@740000 {
label = "pri_bfocus_cfg"; label = "btagent";
reg = <0x7c0000 0x10000>; reg = <0x740000 0x80000>;
}; };
partition@7d0000 { partition@7c0000 {
label = "sec_bfocus_cfg"; label = "pri_bfocus_cfg";
reg = <0x7d0000 0x10000>; reg = <0x7c0000 0x10000>;
}; };
partition@7e0000 { partition@7d0000 {
label = "sysconfig"; label = "sec_bfocus_cfg";
reg = <0x7e0000 0x10000>; reg = <0x7d0000 0x10000>;
}; };
partition@7f0000 { partition@7e0000 {
label = "misc_cfg"; label = "sysconfig";
reg = <0x7f0000 0x10000>; reg = <0x7e0000 0x10000>;
};
partition@7f0000 {
label = "misc_cfg";
reg = <0x7f0000 0x10000>;
};
}; };
}; };
}; };

View File

@ -30,10 +30,16 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
boardconfig: partition@fe0000 { partitions {
label = "board_config"; compatible = "fixed-partitions";
reg = <0xfe0000 0x20000>; #address-cells = <1>;
read-only; #size-cells = <1>;
boardconfig: partition@fe0000 {
label = "board_config";
reg = <0xfe0000 0x20000>;
read-only;
};
}; };
}; };
}; };

View File

@ -6,46 +6,48 @@
fpi@10000000 { fpi@10000000 {
localbus@0 { localbus@0 {
nor-boot@0 { nor-boot@0 {
partition@0 { partitions {
label = "Boot"; partition@0 {
reg = <0x00000 0x40000>; label = "Boot";
read-only; reg = <0x00000 0x40000>;
}; read-only;
};
partition@40000 { partition@40000 {
label = "Configuration"; label = "Configuration";
reg = <0x40000 0x40000>; reg = <0x40000 0x40000>;
read-only; read-only;
}; };
partition@80000 { partition@80000 {
label = "Certificate"; label = "Certificate";
reg = <0x80000 0x20000>; reg = <0x80000 0x20000>;
read-only; read-only;
}; };
partition@a0000 { partition@a0000 {
label = "Special_Area"; label = "Special_Area";
reg = <0xa0000 0x20000>; reg = <0xa0000 0x20000>;
read-only; read-only;
}; };
partition@c0000 { partition@c0000 {
label = "Primary_Setting"; label = "Primary_Setting";
reg = <0xc0000 0x20000>; reg = <0xc0000 0x20000>;
read-only; read-only;
}; };
partition@e0000 { partition@e0000 {
label = "firmware"; /* "Code Image 0" in OFW */ label = "firmware"; /* "Code Image 0" in OFW */
reg = <0xe0000 0x780000>; reg = <0xe0000 0x780000>;
read-only; read-only;
}; };
partition@860000 { partition@860000 {
label = "Code_Image_1"; label = "Code_Image_1";
reg = <0x860000 0x780000>; reg = <0x860000 0x780000>;
read-only; read-only;
};
}; };
}; };
}; };

View File

@ -6,21 +6,23 @@
fpi@10000000 { fpi@10000000 {
localbus@0 { localbus@0 {
nor-boot@0 { nor-boot@0 {
partition@0 { partitions {
label = "uboot"; partition@0 {
reg = <0x0 0x60000>; /* 384 KiB */ label = "uboot";
read-only; reg = <0x0 0x60000>; /* 384 KiB */
}; read-only;
};
partition@60000 { partition@60000 {
label = "uboot-env"; label = "uboot-env";
reg = <0x60000 0x20000>; /* 128 KiB */ reg = <0x60000 0x20000>; /* 128 KiB */
read-only; read-only;
}; };
partition@80000 { partition@80000 {
label = "firmware"; label = "firmware";
reg = <0x80000 0xf60000>; /* 15744 KiB */ reg = <0x80000 0xf60000>; /* 15744 KiB */
};
}; };
}; };
}; };

View File

@ -13,19 +13,25 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
partition@40000 { partitions {
label = "board_config"; compatible = "fixed-partitions";
reg = <0x40000 0x10000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@80000 { partition@40000 {
label = "firmware"; label = "board_config";
reg = <0x80000 0x780000>; reg = <0x40000 0x10000>;
read-only; read-only;
}; };
partition@880000 { partition@80000 {
label = "rootfs_data"; label = "firmware";
reg = <0x880000 0x780000>; reg = <0x80000 0x780000>;
read-only;
};
partition@880000 {
label = "rootfs_data";
reg = <0x880000 0x780000>;
};
}; };
}; };
}; };

View File

@ -13,25 +13,31 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
partition@0 { partitions {
label = "uboot"; compatible = "fixed-partitions";
reg = <0x00000 0x40000>; #address-cells = <1>;
}; #size-cells = <1>;
partition@40000 {
label = "board_config"; partition@0 {
reg = <0x40000 0x10000>; label = "uboot";
read-only; reg = <0x00000 0x40000>;
}; };
partition@60000 { partition@40000 {
label = "uboot_env"; label = "board_config";
reg = <0x60000 0x10000>; reg = <0x40000 0x10000>;
}; read-only;
partition@80000 { };
label = "firmware"; partition@60000 {
reg = <0x80000 0xf80000>; label = "uboot_env";
// 0x080000 - 0x01b0000 : kernel reg = <0x60000 0x10000>;
// 0x1b0000 - 0x1000000 : rootfs (squashfs) };
// 0x390000 - 0x1000000 : rootfs_data partition@80000 {
label = "firmware";
reg = <0x80000 0xf80000>;
// 0x080000 - 0x01b0000 : kernel
// 0x1b0000 - 0x1000000 : rootfs (squashfs)
// 0x390000 - 0x1000000 : rootfs_data
};
}; };
}; };
}; };

View File

@ -166,45 +166,51 @@
spi-max-frequency = <33250000>; spi-max-frequency = <33250000>;
m25p,fast-read; m25p,fast-read;
partition@0 { partitions {
reg = <0x0 0x20000>; compatible = "fixed-partitions";
label = "u-boot"; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@20000 { partition@0 {
reg = <0x20000 0xf90000>; reg = <0x0 0x20000>;
label = "firmware"; label = "u-boot";
}; read-only;
};
partition@fb0000 { partition@20000 {
reg = <0xfb0000 0x10000>; reg = <0x20000 0xf90000>;
label = "radioDECT"; label = "firmware";
read-only; };
};
partition@fc0000 { partition@fb0000 {
reg = <0xfc0000 0x10000>; reg = <0xfb0000 0x10000>;
label = "config"; label = "radioDECT";
read-only; read-only;
}; };
romfile: partition@fd0000 { partition@fc0000 {
reg = <0xfd0000 0x10000>; reg = <0xfc0000 0x10000>;
label = "romfile"; label = "config";
read-only; read-only;
}; };
partition@fe0000 { romfile: partition@fd0000 {
reg = <0xfe0000 0x10000>; reg = <0xfd0000 0x10000>;
label = "rom"; label = "romfile";
read-only; read-only;
}; };
partition@ff0000 { partition@fe0000 {
reg = <0xff0000 0x10000>; reg = <0xfe0000 0x10000>;
label = "radio"; label = "rom";
read-only; read-only;
};
partition@ff0000 {
reg = <0xff0000 0x10000>;
label = "radio";
read-only;
};
}; };
}; };
}; };

View File

@ -33,33 +33,39 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
partition@0 { partitions {
label = "uboot"; compatible = "fixed-partitions";
reg = <0x00000 0x40000>; #address-cells = <1>;
read-only; #size-cells = <1>;
};
partition@40000 { partition@0 {
label = "uboot_env"; label = "uboot";
reg = <0x40000 0x20000>; reg = <0x00000 0x40000>;
read-only; read-only;
}; };
partition@20000 { partition@40000 {
label = "firmware"; label = "uboot_env";
reg = <0x60000 0x1f20000>; reg = <0x40000 0x20000>;
}; read-only;
};
partition@0x1fc0000 { partition@20000 {
label = "board"; label = "firmware";
reg = <0x1fc0000 0x20000>; reg = <0x60000 0x1f20000>;
read-only; };
};
partition@0x1fe0000 { partition@0x1fc0000 {
label = "calibration"; label = "board";
reg = <0x1fe0000 0x20000>; reg = <0x1fc0000 0x20000>;
read-only; read-only;
};
partition@0x1fe0000 {
label = "calibration";
reg = <0x1fe0000 0x20000>;
read-only;
};
}; };
}; };