1
0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2026-01-12 01:20:14 +00:00

ARM: dts: vt8500: Move memory nodes to board dts and fix addr/size

VIA/WonderMedia SoCs don't have on-chip memory, so their memory
nodes are better placed in per-board dts rather than per-SoC dtsi.

Move them accordingly, and also add correct node addresses and
sizes for each of the boards. Some boards were also available with
more memory than included in this commit - those would need a
separate DT or an appropriate kernel cmdline argument to reflect it,
as the bootloader on these devices doesn't handle DT at all nor does
it any runtime discovery of available memory size.

Signed-off-by: Alexey Charkov <alchark@gmail.com>
Link: https://lore.kernel.org/r/20250515-wmt-dts-updates-v2-2-246937484cc8@gmail.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
This commit is contained in:
Alexey Charkov 2025-05-15 22:38:41 +03:00 committed by Krzysztof Kozlowski
parent 4ce310e733
commit ab46710603
10 changed files with 25 additions and 25 deletions

View File

@ -10,6 +10,11 @@
/ {
model = "Benign BV07 Netbook";
memory@0 {
device_type = "memory";
reg = <0x0 0x8000000>;
};
};
&fb {

View File

@ -21,11 +21,6 @@
};
};
memory {
device_type = "memory";
reg = <0x0 0x0>;
};
aliases {
serial0 = &uart0;
serial1 = &uart1;

View File

@ -10,6 +10,11 @@
/ {
model = "Wondermedia WM8505 Netbook";
memory@0 {
device_type = "memory";
reg = <0x0 0x8000000>;
};
};
&fb {

View File

@ -21,11 +21,6 @@
};
};
memory {
device_type = "memory";
reg = <0x0 0x0>;
};
aliases {
serial0 = &uart0;
serial1 = &uart1;

View File

@ -10,6 +10,11 @@
/ {
model = "Wondermedia WM8650-MID Tablet";
memory@0 {
device_type = "memory";
reg = <0x0 0x10000000>;
};
};
&fb {

View File

@ -21,11 +21,6 @@
};
};
memory {
device_type = "memory";
reg = <0x0 0x0>;
};
aliases {
serial0 = &uart0;
serial1 = &uart1;

View File

@ -11,6 +11,11 @@
/ {
model = "VIA APC8750";
memory@0 {
device_type = "memory";
reg = <0x0 0x20000000>;
};
};
&pinctrl {

View File

@ -21,11 +21,6 @@
};
};
memory {
device_type = "memory";
reg = <0x0 0x0>;
};
aliases {
serial0 = &uart0;
serial1 = &uart1;

View File

@ -22,6 +22,11 @@
brightness-levels = <0 40 60 80 100 130 190 255>;
default-brightness-level = <5>;
};
memory@0 {
device_type = "memory";
reg = <0x0 0x20000000>;
};
};
&fb {

View File

@ -21,11 +21,6 @@
};
};
memory {
device_type = "memory";
reg = <0x0 0x0>;
};
aliases {
serial0 = &uart0;
serial1 = &uart1;