From: Alexey Charkov <alchark@gmail.com>
To: "Krzysztof Kozlowski" <krzk@kernel.org>,
"Andi Shyti" <andi.shyti@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Thomas Gleixner" <tglx@linutronix.de>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Ulf Hansson" <ulf.hansson@linaro.org>,
"Andrew Lunn" <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
"Eric Dumazet" <edumazet@google.com>,
"Jakub Kicinski" <kuba@kernel.org>,
"Paolo Abeni" <pabeni@redhat.com>,
"Uwe Kleine-König" <ukleinek@kernel.org>,
"Daniel Lezcano" <daniel.lezcano@linaro.org>
Cc: linux-arm-kernel@lists.infradead.org, linux-i2c@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-mmc@vger.kernel.org, netdev@vger.kernel.org,
linux-pwm@vger.kernel.org, Alexey Charkov <alchark@gmail.com>
Subject: [PATCH 09/13] ARM: dts: vt8500: Move memory nodes to board dts and fix addr/size
Date: Wed, 16 Apr 2025 12:21:34 +0400 [thread overview]
Message-ID: <20250416-wmt-updates-v1-9-f9af689cdfc2@gmail.com> (raw)
In-Reply-To: <20250416-wmt-updates-v1-0-f9af689cdfc2@gmail.com>
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>
---
arch/arm/boot/dts/vt8500/vt8500-bv07.dts | 5 +++++
arch/arm/boot/dts/vt8500/vt8500.dtsi | 5 -----
arch/arm/boot/dts/vt8500/wm8505-ref.dts | 5 +++++
arch/arm/boot/dts/vt8500/wm8505.dtsi | 5 -----
arch/arm/boot/dts/vt8500/wm8650-mid.dts | 5 +++++
arch/arm/boot/dts/vt8500/wm8650.dtsi | 5 -----
arch/arm/boot/dts/vt8500/wm8750-apc8750.dts | 5 +++++
arch/arm/boot/dts/vt8500/wm8750.dtsi | 5 -----
arch/arm/boot/dts/vt8500/wm8850-w70v2.dts | 5 +++++
arch/arm/boot/dts/vt8500/wm8850.dtsi | 5 -----
10 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/arch/arm/boot/dts/vt8500/vt8500-bv07.dts b/arch/arm/boot/dts/vt8500/vt8500-bv07.dts
index 38a2da5e2c5d64477f04e1da9d98cb97be0d95e4..c8c07c2b4acf92e977704437de88550391c8679f 100644
--- a/arch/arm/boot/dts/vt8500/vt8500-bv07.dts
+++ b/arch/arm/boot/dts/vt8500/vt8500-bv07.dts
@@ -10,6 +10,11 @@
/ {
model = "Benign BV07 Netbook";
+
+ memory@0 {
+ device_type = "memory";
+ reg = <0x0 0x8000000>;
+ };
};
&fb {
diff --git a/arch/arm/boot/dts/vt8500/vt8500.dtsi b/arch/arm/boot/dts/vt8500/vt8500.dtsi
index 1138940ce16cb8603d196b6e935d54df53b9a229..143daf983d1d926c2c837c43002d1a86cff3866a 100644
--- a/arch/arm/boot/dts/vt8500/vt8500.dtsi
+++ b/arch/arm/boot/dts/vt8500/vt8500.dtsi
@@ -21,11 +21,6 @@ cpu@0 {
};
};
- memory {
- device_type = "memory";
- reg = <0x0 0x0>;
- };
-
aliases {
serial0 = &uart0;
serial1 = &uart1;
diff --git a/arch/arm/boot/dts/vt8500/wm8505-ref.dts b/arch/arm/boot/dts/vt8500/wm8505-ref.dts
index 8ce9e2ef0a81097e7143a5392ee5b42bf8028ec1..d4ff99c700120fbf3401335168ed88b190335005 100644
--- a/arch/arm/boot/dts/vt8500/wm8505-ref.dts
+++ b/arch/arm/boot/dts/vt8500/wm8505-ref.dts
@@ -10,6 +10,11 @@
/ {
model = "Wondermedia WM8505 Netbook";
+
+ memory@0 {
+ device_type = "memory";
+ reg = <0x0 0x8000000>;
+ };
};
&fb {
diff --git a/arch/arm/boot/dts/vt8500/wm8505.dtsi b/arch/arm/boot/dts/vt8500/wm8505.dtsi
index fa76df2830c79a695753c85397d4e916592f6a51..69d2351a81dbc816efd19ffe3ba5ef80eaa4e9dc 100644
--- a/arch/arm/boot/dts/vt8500/wm8505.dtsi
+++ b/arch/arm/boot/dts/vt8500/wm8505.dtsi
@@ -21,11 +21,6 @@ cpu@0 {
};
};
- memory {
- device_type = "memory";
- reg = <0x0 0x0>;
- };
-
aliases {
serial0 = &uart0;
serial1 = &uart1;
diff --git a/arch/arm/boot/dts/vt8500/wm8650-mid.dts b/arch/arm/boot/dts/vt8500/wm8650-mid.dts
index 7977b6c1e8ebf215df210dee703e470b9159d329..bfc570e80073d5e6907978dfc5d2413e1ceb2983 100644
--- a/arch/arm/boot/dts/vt8500/wm8650-mid.dts
+++ b/arch/arm/boot/dts/vt8500/wm8650-mid.dts
@@ -10,6 +10,11 @@
/ {
model = "Wondermedia WM8650-MID Tablet";
+
+ memory@0 {
+ device_type = "memory";
+ reg = <0x0 0x10000000>;
+ };
};
&fb {
diff --git a/arch/arm/boot/dts/vt8500/wm8650.dtsi b/arch/arm/boot/dts/vt8500/wm8650.dtsi
index 5b6affda3b6b8d8be9f3100b36cb303d015f19b5..deebe9b933876bc1eb188f82ce8c1c17098d04a2 100644
--- a/arch/arm/boot/dts/vt8500/wm8650.dtsi
+++ b/arch/arm/boot/dts/vt8500/wm8650.dtsi
@@ -21,11 +21,6 @@ cpu@0 {
};
};
- memory {
- device_type = "memory";
- reg = <0x0 0x0>;
- };
-
aliases {
serial0 = &uart0;
serial1 = &uart1;
diff --git a/arch/arm/boot/dts/vt8500/wm8750-apc8750.dts b/arch/arm/boot/dts/vt8500/wm8750-apc8750.dts
index 136e812bc1e498d48c7fc61154bc66a48888b117..72d633bedff04401c40f4d3772fbcfe45e1c0e31 100644
--- a/arch/arm/boot/dts/vt8500/wm8750-apc8750.dts
+++ b/arch/arm/boot/dts/vt8500/wm8750-apc8750.dts
@@ -11,6 +11,11 @@
/ {
model = "VIA APC8750";
+
+ memory@0 {
+ device_type = "memory";
+ reg = <0x0 0x20000000>;
+ };
};
&pinctrl {
diff --git a/arch/arm/boot/dts/vt8500/wm8750.dtsi b/arch/arm/boot/dts/vt8500/wm8750.dtsi
index 14e1d4f7c093a8ae9cce5acfeba3755f6df93a24..bde825b59074eb74af4ab296895a3968e992aefe 100644
--- a/arch/arm/boot/dts/vt8500/wm8750.dtsi
+++ b/arch/arm/boot/dts/vt8500/wm8750.dtsi
@@ -21,11 +21,6 @@ cpu@0 {
};
};
- memory {
- device_type = "memory";
- reg = <0x0 0x0>;
- };
-
aliases {
serial0 = &uart0;
serial1 = &uart1;
diff --git a/arch/arm/boot/dts/vt8500/wm8850-w70v2.dts b/arch/arm/boot/dts/vt8500/wm8850-w70v2.dts
index 5d409323b10cb94a5694722de1e31cff5be390ce..eb16991a2cccf35da23c4a0a8ac2ad02665b2109 100644
--- a/arch/arm/boot/dts/vt8500/wm8850-w70v2.dts
+++ b/arch/arm/boot/dts/vt8500/wm8850-w70v2.dts
@@ -22,6 +22,11 @@ backlight {
brightness-levels = <0 40 60 80 100 130 190 255>;
default-brightness-level = <5>;
};
+
+ memory@0 {
+ device_type = "memory";
+ reg = <0x0 0x20000000>;
+ };
};
&fb {
diff --git a/arch/arm/boot/dts/vt8500/wm8850.dtsi b/arch/arm/boot/dts/vt8500/wm8850.dtsi
index 3f4a514d65e2ac7658b73cc9c4f3cae1407265bc..e8385c03e04bf5644c86a85aeb41e1cc1eedb202 100644
--- a/arch/arm/boot/dts/vt8500/wm8850.dtsi
+++ b/arch/arm/boot/dts/vt8500/wm8850.dtsi
@@ -21,11 +21,6 @@ cpu@0 {
};
};
- memory {
- device_type = "memory";
- reg = <0x0 0x0>;
- };
-
aliases {
serial0 = &uart0;
serial1 = &uart1;
--
2.49.0
next prev parent reply other threads:[~2025-04-16 8:22 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-16 8:21 [PATCH 00/13] ARM: vt8500: DT bindings and dts updates Alexey Charkov
2025-04-16 8:21 ` [PATCH 01/13] dt-bindings: i2c: i2c-wmt: Convert to YAML Alexey Charkov
2025-04-23 11:50 ` Alexey Charkov
2025-04-25 11:42 ` Krzysztof Kozlowski
2025-04-16 8:21 ` [PATCH 02/13] dt-bindings: interrupt-controller: via,vt8500-intc: " Alexey Charkov
2025-04-16 20:10 ` Rob Herring
2025-04-17 6:15 ` Alexey Charkov
2025-04-16 8:21 ` [PATCH 03/13] dt-bindings: mmc: vt8500-sdmmc: " Alexey Charkov
2025-04-16 20:14 ` Rob Herring
2025-04-17 6:25 ` Alexey Charkov
2025-04-18 12:38 ` Alexey Charkov
2025-04-22 8:08 ` Krzysztof Kozlowski
2025-04-22 9:01 ` Alexey Charkov
2025-04-16 8:21 ` [PATCH 04/13] dt-bindings: net: via-rhine: " Alexey Charkov
2025-04-23 11:49 ` Alexey Charkov
2025-04-16 8:21 ` [PATCH 05/13] dt-bindings: pwm: vt8500-pwm: " Alexey Charkov
2025-04-16 20:15 ` Rob Herring
2025-04-17 6:27 ` Alexey Charkov
2025-04-16 8:21 ` [PATCH 06/13] dt-bindings: timer: via,vt8500-timer: " Alexey Charkov
2025-04-16 20:16 ` Rob Herring
2025-04-17 6:34 ` Alexey Charkov
2025-04-16 8:21 ` [PATCH 07/13] dt-bindings: arm: vt8500: Add VIA APC Rock/Paper boards Alexey Charkov
2025-04-16 20:17 ` Rob Herring
2025-04-16 8:21 ` [PATCH 08/13] ARM: dts: vt8500: Add node address and reg in CPU nodes Alexey Charkov
2025-04-16 8:21 ` Alexey Charkov [this message]
2025-04-16 8:21 ` [PATCH 10/13] ARM: dts: vt8500: Use generic compatibles for EHCI Alexey Charkov
2025-04-17 5:34 ` Krzysztof Kozlowski
2025-04-17 5:54 ` Alexey Charkov
2025-04-16 8:21 ` [PATCH 11/13] ARM: dts: vt8500: Use generic node name for the SD/MMC controller Alexey Charkov
2025-04-16 8:21 ` [PATCH 12/13] ARM: dts: vt8500: Add VIA APC Rock/Paper board Alexey Charkov
2025-04-17 5:36 ` Krzysztof Kozlowski
2025-04-17 6:01 ` Alexey Charkov
2025-04-17 6:07 ` Krzysztof Kozlowski
2025-04-16 8:21 ` [PATCH 13/13] ARM: dts: vt8500: Add L2 cache controller on WM8850/WM8950 Alexey Charkov
2025-04-16 15:54 ` [PATCH 00/13] ARM: vt8500: DT bindings and dts updates Rob Herring
2025-04-16 18:55 ` Alexey Charkov
2025-04-16 20:09 ` Rob Herring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250416-wmt-updates-v1-9-f9af689cdfc2@gmail.com \
--to=alchark@gmail.com \
--cc=andi.shyti@kernel.org \
--cc=andrew+netdev@lunn.ch \
--cc=conor+dt@kernel.org \
--cc=daniel.lezcano@linaro.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-pwm@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=robh@kernel.org \
--cc=tglx@linutronix.de \
--cc=ukleinek@kernel.org \
--cc=ulf.hansson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®