Skip to content

Commit 6373a2b

Browse files
neuschaefermaddy-kerneldev
authored andcommitted
powerpc: dts: mpc83xx: Add unit addresses to /memory
This fixes dtschema warnings such as the following: arch/powerpc/boot/dts/mpc8315erdb.dtb: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 134217728]]} Signed-off-by: J. Neuschäfer <[email protected]> Signed-off-by: Madhavan Srinivasan <[email protected]> Link: https://patch.msgid.link/[email protected]
1 parent fde54f1 commit 6373a2b

12 files changed

Lines changed: 12 additions & 12 deletions

arch/powerpc/boot/dts/asp834x-redboot.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
};
3838
};
3939

40-
memory {
40+
memory@0 {
4141
device_type = "memory";
4242
reg = <0x00000000 0x8000000>; // 128MB at 0
4343
};

arch/powerpc/boot/dts/mpc8308_p1m.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
};
3838
};
3939

40-
memory {
40+
memory@0 {
4141
device_type = "memory";
4242
reg = <0x00000000 0x08000000>; // 128MB at 0
4343
};

arch/powerpc/boot/dts/mpc8308rdb.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
};
3939
};
4040

41-
memory {
41+
memory@0 {
4242
device_type = "memory";
4343
reg = <0x00000000 0x08000000>; // 128MB at 0
4444
};

arch/powerpc/boot/dts/mpc8313erdb.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
};
4040
};
4141

42-
memory {
42+
memory@0 {
4343
device_type = "memory";
4444
reg = <0x00000000 0x08000000>; // 128MB at 0
4545
};

arch/powerpc/boot/dts/mpc8315erdb.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
};
4141
};
4242

43-
memory {
43+
memory@0 {
4444
device_type = "memory";
4545
reg = <0x00000000 0x08000000>; // 128MB at 0
4646
};

arch/powerpc/boot/dts/mpc832x_rdb.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
};
3939
};
4040

41-
memory {
41+
memory@0 {
4242
device_type = "memory";
4343
reg = <0x00000000 0x04000000>;
4444
};

arch/powerpc/boot/dts/mpc8349emitx.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
};
4040
};
4141

42-
memory {
42+
memory@0 {
4343
device_type = "memory";
4444
reg = <0x00000000 0x10000000>;
4545
};

arch/powerpc/boot/dts/mpc8349emitxgp.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
};
3838
};
3939

40-
memory {
40+
memory@0 {
4141
device_type = "memory";
4242
reg = <0x00000000 0x10000000>;
4343
};

arch/powerpc/boot/dts/mpc8377_rdb.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
};
4040
};
4141

42-
memory {
42+
memory@0 {
4343
device_type = "memory";
4444
reg = <0x00000000 0x10000000>; // 256MB at 0
4545
};

arch/powerpc/boot/dts/mpc8377_wlan.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
};
4141
};
4242

43-
memory {
43+
memory@0 {
4444
device_type = "memory";
4545
reg = <0x00000000 0x20000000>; // 512MB at 0
4646
};

0 commit comments

Comments
 (0)