1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-13 10:49:13 +02:00

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>
This commit is contained in:
Mathias Kresin 2018-08-03 20:14:49 +02:00
parent bfd65fc4ab
commit 6dd94c2781
3 changed files with 17 additions and 12 deletions

View File

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

View File

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

View File

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