Tested-by: Roger Pueyo Centelles <[email protected]>
Signed-off-by: Thibaut VARÈNE <[email protected]>
---
 .../qca9556_mikrotik_routerboard-wap-g-5hact2hnd.dts | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

diff --git 
a/target/linux/ath79/dts/qca9556_mikrotik_routerboard-wap-g-5hact2hnd.dts 
b/target/linux/ath79/dts/qca9556_mikrotik_routerboard-wap-g-5hact2hnd.dts
index 5fd4623726..ebb2465e15 100644
--- a/target/linux/ath79/dts/qca9556_mikrotik_routerboard-wap-g-5hact2hnd.dts
+++ b/target/linux/ath79/dts/qca9556_mikrotik_routerboard-wap-g-5hact2hnd.dts
@@ -84,37 +84,35 @@
                                label = "RouterBoot";
                                reg = <0x0 0x20000>;
                                read-only;
-                               compatible = "fixed-partitions";
+                               compatible = "mikrotik,routerboot-partitions";
                                #address-cells = <1>;
                                #size-cells = <1>;
 
-                               partition@0 {
+                               partition1@0 {
                                        label = "bootloader1";
-                                       reg = <0x0 0xe000>;
+                                       reg = <0x0 0x0>;
                                        read-only;
                                };
 
-                               hard_config: partition@e000 {
+                               hard_config: partition2 {
                                        label = "hard_config";
-                                       reg = <0xe000 0x1000>;
                                        read-only;
                                };
 
-                               partition@f000 {
+                               partition3 {
                                        label = "bios";
-                                       reg = <0xf000 0x1000>;
+                                       size = <0x1000>;
                                        read-only;
                                };
 
-                               partition@10000 {
+                               partition4@10000 {
                                        label = "bootloader2";
-                                       reg = <0x10000 0xf000>;
+                                       reg = <0x10000 0x0>;
                                        read-only;
                                };
 
-                               partition@1f000 {
+                               partition5 {
                                        label = "soft_config";
-                                       reg = <0x1f000 0x1000>;
                                };
                        };
 
-- 
2.11.0


_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to