[PATCH 1/2] riscv: dts: sophgo: Move PLIC and CLINT node into CPU dtsi
Chen Wang
unicorn_wang at outlook.com
Wed Jan 14 16:49:54 PST 2026
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>
>
> 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