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

Inochi Amaoto inochiama at gmail.com
Fri Jan 16 16:37:45 PST 2026


On Thu, Jan 15, 2026 at 08:49:54AM +0800, Chen Wang wrote:
> 
> 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 at outlook.com>
> 

Thanks, it should be "focus on", I wrote a wrong word, If it is
OK, I will fix this mistake when merging.

Regards,
Inochi

> > 
> > Signed-off-by: Inochi Amaoto <inochiama at gmail.com>
> > ---
> >   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
> 
> [......]
> 
> 



More information about the linux-riscv mailing list