[OpenWrt-Devel] [PATCH 06/11] ath79: MikroTik RB 922UAGS-5HPacD routerboot partitions

Thibaut VARÈNE hacks at slashdirt.org
Sat Mar 28 10:20:27 EDT 2020


Signed-off-by: Thibaut VARÈNE <hacks at slashdirt.org>
---
 .../dts/qca9558_mikrotik_routerboard-922uags-5hpacd.dts  | 16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)

diff --git a/target/linux/ath79/dts/qca9558_mikrotik_routerboard-922uags-5hpacd.dts b/target/linux/ath79/dts/qca9558_mikrotik_routerboard-922uags-5hpacd.dts
index 3f2a1a51a6..9a1bd52948 100644
--- a/target/linux/ath79/dts/qca9558_mikrotik_routerboard-922uags-5hpacd.dts
+++ b/target/linux/ath79/dts/qca9558_mikrotik_routerboard-922uags-5hpacd.dts
@@ -99,32 +99,28 @@
 		spi-max-frequency = <25000000>;
 
 		partitions {
-			compatible = "fixed-partitions";
+			compatible = "mikrotik,routerboot-partitions";
 			#address-cells = <1>;
 			#size-cells = <1>;
 
-			partition at 0 {
+			partition1 at 0 {
 				label = "routerboot";
-				reg = <0x0000000 0x000c000>;
+				reg = <0x0 0x0>;
 				read-only;
 			};
 
-			hard_config: partition at c000 {
+			hard_config: partition2 {
 				label = "hard_config";
-				reg = <0x000c000 0x0001000>;
 				read-only;
 			};
 
-			partition at d000 {
+			partition3 {
 				label = "bios";
-				reg = <0x000d000 0x0001000>;
 				read-only;
 			};
 
-			partition at e000 {
+			partition4 {
 				label = "soft_config";
-				reg = <0x000e000 0x0001000>;
-				read-only;
 			};
 		};
 	};
-- 
2.11.0


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list