summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2016-05-26 23:08:24 +0200
committerJohn Crispin <john@phrozen.org>2016-05-27 15:50:17 +0200
commita9f7586ad2ffb377f3cdf429af71bc7b886797d2 (patch)
treea4df009d5d6b78c91be1686816adddb32707e37d
parent28faa3f292a3ba417bab5d7327dd54a6a086a198 (diff)
downloadmtk-20170518-a9f7586ad2ffb377f3cdf429af71bc7b886797d2.zip
mtk-20170518-a9f7586ad2ffb377f3cdf429af71bc7b886797d2.tar.gz
mtk-20170518-a9f7586ad2ffb377f3cdf429af71bc7b886797d2.tar.bz2
lantiq: VGV7519 - fix brn partition layout
Use the brnboot partition layout as it is listed in the OpenWrt wiki article for this board. Configure the brnboot root selector for this device as well. Signed-off-by: Mathias Kresin <dev@kresin.me>
-rw-r--r--target/linux/lantiq/dts/VGV7519BRN.dts54
1 files changed, 50 insertions, 4 deletions
diff --git a/target/linux/lantiq/dts/VGV7519BRN.dts b/target/linux/lantiq/dts/VGV7519BRN.dts
index cc365ec..b225acf 100644
--- a/target/linux/lantiq/dts/VGV7519BRN.dts
+++ b/target/linux/lantiq/dts/VGV7519BRN.dts
@@ -8,14 +8,60 @@
localbus@0 {
nor-boot@0 {
partitions {
+ partition@0 {
+ label = "Boot";
+ reg = <0x00000 0x40000>;
+ read-only;
+ };
+
+ partition@50000 {
+ label = "Certificate";
+ reg = <0x50000 0x10000>;
+ read-only;
+ };
+ partition@60000 {
+ label = "Special_Area";
+ reg = <0x60000 0x10000>;
+ read-only;
+ };
+
+ partition@70000 {
+ label = " Reserve_0";
+ reg = <0x70000 0x10000>;
+ read-only;
+ };
+
partition@80000 {
- label = "firmware";
+ label = "Code_Image_0";
reg = <0x80000 0x780000>;
+ brnboot,root-id = <0x00>;
read-only;
};
- partition@880000 {
- label = "rootfs_data";
- reg = <0x880000 0x780000>;
+
+ partition@4000000 {
+ compatible = "brnboot,root-selector";
+ label = "Primary_Setting";
+ reg = <0x4000000 0x10000>;
+ read-only;
+ };
+
+ partition@4010000 {
+ label = "Configuration";
+ reg = <0x4010000 0x60000>;
+ read-only;
+ };
+
+ partition@4070000 {
+ label = " Reserve_1";
+ reg = <0x4070000 0x10000>;
+ read-only;
+ };
+
+ partition@4080000 {
+ label = "Code_Image_1";
+ reg = <0x4080000 0x780000>;
+ brnboot,root-id = <0x01>;
+ read-only;
};
};
};