aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/HPM.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/HPM.dts')
-rw-r--r--target/linux/ramips/dts/HPM.dts50
1 files changed, 27 insertions, 23 deletions
diff --git a/target/linux/ramips/dts/HPM.dts b/target/linux/ramips/dts/HPM.dts
index 2610db8b47..3a262f2b91 100644
--- a/target/linux/ramips/dts/HPM.dts
+++ b/target/linux/ramips/dts/HPM.dts
@@ -88,30 +88,34 @@
compatible = "jedec,spi-nor";
spi-max-frequency = <25000000>;
reg = <0>;
- #address-cells = <1>;
- #size-cells = <1>;
- partition@0 {
- reg = <0x0 0x0030000>;
- label = "u-boot";
- read-only;
- };
-
- partition@30000 {
- reg = <0x00030000 0x00010000>;
- label = "config";
- read-only;
- };
-
- factory: partition@40000 {
- reg = <0x00040000 0x00010000>;
- label = "factory";
- read-only;
- };
-
- partition@50000 {
- reg = <0x00050000 0x00fb0000>;
- label = "firmware";
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ partition@0 {
+ reg = <0x0 0x0030000>;
+ label = "u-boot";
+ read-only;
+ };
+
+ partition@30000 {
+ reg = <0x00030000 0x00010000>;
+ label = "config";
+ read-only;
+ };
+
+ factory: partition@40000 {
+ reg = <0x00040000 0x00010000>;
+ label = "factory";
+ read-only;
+ };
+
+ partition@50000 {
+ reg = <0x00050000 0x00fb0000>;
+ label = "firmware";
+ };
};
};
};