diff mbox series

[OpenWrt-Devel,05/11] ath79: MikroTik WAP G-5HacT2HnD routerboot partitions

Message ID 20200328142032.37734-6-hacks@slashdirt.org
State Superseded
Delegated to: Koen Vandeputte
Headers show
Series MTD parser for RouterBoot partitions | expand

Commit Message

Thibaut March 28, 2020, 2:20 p.m. UTC
Tested-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
Signed-off-by: Thibaut VARĂˆNE <hacks@slashdirt.org>
---
 .../qca9556_mikrotik_routerboard-wap-g-5hact2hnd.dts | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)
diff mbox series

Patch

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>;
 				};
 			};