openwrt_archive/target/linux/lantiq/dts/VGV7519BRN.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

40 lines
698 B
Plaintext

/dts-v1/;
/include/ "VGV7519.dtsi"
/ {
fpi@10000000 {
localbus@0 {
nor-flash@0 {
compatible = "lantiq,nor", "cfi-flash";
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@40000 {
label = "board_config";
reg = <0x40000 0x10000>;
read-only;
};
partition@80000 {
label = "firmware";
reg = <0x80000 0x780000>;
read-only;
};
partition@880000 {
label = "rootfs_data";
reg = <0x880000 0x780000>;
};
};
};
};
};
};