[PATCH 0/4] riscv: sophgo: cv18xx: dts rework, part 1
Inochi Amaoto
inochiama at gmail.com
Tue Apr 29 18:26:49 PDT 2025
It is a hard time to maintain cv18xx/sg200x device tree file, as
it uses something that dts override, shared peripheral header
and something hard to migrate arm64 arch. So it is time to rework
the device tree file and reduce potential problems.
The part 1 change mainly focus on the format of the current dts
file, and try to make them easy to understand and adpat for the
arm64 arch.
Inochi Amaoto (4):
riscv: dts: sophgo: Move all soc specific device into soc dtsi file
riscv: dts: sophgo: Move riscv cpu definition to a separate file
riscv: dts: sophgo: rename header file cv18xx.dtsi to cv180x.dtsi
riscv: dts: sopgho: use SOC_PERIPHERAL_IRQ to calculate interrupt
number
arch/riscv/boot/dts/sophgo/cv1800b.dtsi | 43 ++++++---
arch/riscv/boot/dts/sophgo/cv180x-cpus.dtsi | 36 +++++++
.../dts/sophgo/{cv18xx.dtsi => cv180x.dtsi} | 95 +++++--------------
arch/riscv/boot/dts/sophgo/cv1812h.dtsi | 43 ++++++---
arch/riscv/boot/dts/sophgo/cv181x.dtsi | 2 +-
arch/riscv/boot/dts/sophgo/sg2002.dtsi | 43 ++++++---
6 files changed, 149 insertions(+), 113 deletions(-)
create mode 100644 arch/riscv/boot/dts/sophgo/cv180x-cpus.dtsi
rename arch/riscv/boot/dts/sophgo/{cv18xx.dtsi => cv180x.dtsi} (75%)
--
2.49.0
More information about the linux-riscv
mailing list