Re: [PATCH 1/2] riscv: dts: sophgo: Move PLIC and CLINT node into CPU dtsi

From: Chen Wang

Date: Wed Jan 14 2026 - 19:50:09 EST



On 1/13/2026 10:38 AM, Inochi Amaoto wrote:
As we have a separate CPU dtsi file, move the PLIC and CLINT
node to the CPU dtsi file. This will make the sg2042.dtsi force
peripheral devices, and make the CPU dtsi force CPU related
devices.
LGTM, except for the word "force" in the commit message; it seems a bit odd. Perhaps it would be better to write: "This will make all peripheral devices are defined in the sg2042.dtsi

and all CPU-related are defined in the CPU dtsi."

Reviewed-by: Chen Wang <unicorn_wang@xxxxxxxxxxx>


Signed-off-by: Inochi Amaoto <inochiama@xxxxxxxxx>
---
arch/riscv/boot/dts/sophgo/sg2042-cpus.dtsi | 305 ++++++++++++++++++++
arch/riscv/boot/dts/sophgo/sg2042.dtsi | 303 -------------------
2 files changed, 305 insertions(+), 303 deletions(-)

diff --git a/arch/riscv/boot/dts/sophgo/sg2042-cpus.dtsi b/arch/riscv/boot/dts/sophgo/sg2042-cpus.dtsi
index 94a4b71acad3..509488eee432 100644
--- a/arch/riscv/boot/dts/sophgo/sg2042-cpus.dtsi
+++ b/arch/riscv/boot/dts/sophgo/sg2042-cpus.dtsi

[......]