aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2018-08-03 20:14:49 +0200
committerMathias Kresin <dev@kresin.me>2018-08-04 08:39:35 +0200
commit6dd94c2781b79ffd20f1a57a48fa2314d67ee190 (patch)
tree793ff25c6472451313f9c0d27bc1a89d8e114bef /target
parentbfd65fc4ab71b9504a9280e91a67698ac4e1e06d (diff)
downloadupstream-6dd94c2781b79ffd20f1a57a48fa2314d67ee190.tar.gz
upstream-6dd94c2781b79ffd20f1a57a48fa2314d67ee190.tar.bz2
upstream-6dd94c2781b79ffd20f1a57a48fa2314d67ee190.zip
ramips: unify partition node names in dts files
Use partition@ as name for all partition nodes. Add a label where necessary. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/dts/AR670W.dts6
-rw-r--r--target/linux/ramips/dts/AR725W.dts8
-rw-r--r--target/linux/ramips/dts/K2G.dts15
3 files changed, 17 insertions, 12 deletions
diff --git a/target/linux/ramips/dts/AR670W.dts b/target/linux/ramips/dts/AR670W.dts
index cc15317b85..9e12ffc374 100644
--- a/target/linux/ramips/dts/AR670W.dts
+++ b/target/linux/ramips/dts/AR670W.dts
@@ -20,19 +20,19 @@
#address-cells = <1>;
#size-cells = <1>;
- u-boot@0 {
+ partition@0 {
reg = <0x0 0x30000>;
label = "u-boot";
read-only;
};
- factory: factory@30000 {
+ factory: partition@30000 {
reg = <0x30000 0x10000>;
label = "factory";
read-only;
};
- firmware@40000 {
+ partition@40000 {
reg = <0x40000 0x3c0000>;
label = "firmware";
};
diff --git a/target/linux/ramips/dts/AR725W.dts b/target/linux/ramips/dts/AR725W.dts
index 3c459aa2fc..52b1520418 100644
--- a/target/linux/ramips/dts/AR725W.dts
+++ b/target/linux/ramips/dts/AR725W.dts
@@ -20,24 +20,24 @@
#address-cells = <1>;
#size-cells = <1>;
- u-boot@0 {
+ partition@0 {
reg = <0x0 0x30000>;
label = "u-boot";
read-only;
};
- u-boot-env@30000 {
+ partition@30000 {
reg = <0x30000 0x10000>;
label = "u-boot-env";
};
- factory: factory@40000 {
+ factory: partition@40000 {
reg = <0x40000 0x10000>;
label = "factory";
read-only;
};
- firmware@50000 {
+ partition@50000 {
reg = <0x50000 0x3B0000>;
label = "firmware";
};
diff --git a/target/linux/ramips/dts/K2G.dts b/target/linux/ramips/dts/K2G.dts
index bd5d960fef..891b089980 100644
--- a/target/linux/ramips/dts/K2G.dts
+++ b/target/linux/ramips/dts/K2G.dts
@@ -58,28 +58,33 @@
#address-cells = <1>;
#size-cells = <1>;
- u-boot@0 {
+ partition@0 {
reg = <0x0 0x30000>;
+ label = "u-boot";
read-only;
};
- u-boot-env@30000 {
+ partition@30000 {
reg = <0x30000 0x10000>;
+ label = "u-boot-env";
read-only;
};
- factory: factory@40000 {
+ factory: partition@40000 {
reg = <0x40000 0x10000>;
+ label = "factory";
read-only;
};
- permanent_config@50000 {
+ partition@50000 {
reg = <0x50000 0x50000>;
+ label = "permanent_config";
read-only;
};
- firmware@a0000 {
+ partition@a0000 {
reg = <0xa0000 0x760000>;
+ label = "firmware";
};
};
};