openwrt_archive/target/linux/lantiq/dts/VGV7519NOR.dts
John Crispin d5b866bd33 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
2016-05-02 18:50:18 +00:00

46 lines
876 B
Plaintext

/dts-v1/;
/include/ "VGV7519.dtsi"
/ {
fpi@10000000 {
localbus@0 {
nor-boot@0 {
compatible = "lantiq,nor";
bank-width = <2>;
reg = <0 0x0 0x800000>, <1 0x800000 0x800000>;
#address-cells = <1>;
#size-cells = <1>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
partition@0 {
label = "uboot";
reg = <0x00000 0x40000>;
};
partition@40000 {
label = "board_config";
reg = <0x40000 0x10000>;
read-only;
};
partition@60000 {
label = "uboot_env";
reg = <0x60000 0x10000>;
};
partition@80000 {
label = "firmware";
reg = <0x80000 0xf80000>;
// 0x080000 - 0x01b0000 : kernel
// 0x1b0000 - 0x1000000 : rootfs (squashfs)
// 0x390000 - 0x1000000 : rootfs_data
};
};
};
};
};
};