[PATCH v1 0/9] riscv: add initial support for SpacemiT K1
Yangyu Chen
cyy at cyyself.name
Sun Jun 16 10:18:52 PDT 2024
SpacemiT K1 is an ideal chip for some new extension such as RISC-V Vector
1.0 and Zicond evaluation now. Add initial support for it to allow more
people to participate in building drivers to mainline for it.
This kernel has been tested upon Banana Pi BPI-F3 board on vendor U-Boot
bootflow generated by Armbian SDK[1] and patched OpenSBI[2] to enable
Zicboz, which does not in the vendor dts on its U-Boot. Then successfully
booted to busybox on initrd with this log[3].
[1] https://github.com/BPI-SINOVOIP/armbian-build/tree/v24.04.30
[2] https://gist.github.com/cyyself/a07096e6e99c949ed13f8fa16d884402
[3] https://gist.github.com/cyyself/a2201c01f5c8955a119641f97b7d0280
Yangyu Chen (9):
dt-bindings: vendor-prefixes: add spacemit
dt-bindings: riscv: Add SpacemiT X60 compatibles
dt-bindings: riscv: add SpacemiT K1 bindings
dt-bindings: timer: Add SpacemiT K1 CLINT
dt-bindings: interrupt-controller: Add SpacemiT K1 PLIC
riscv: add SpacemiT SOC family Kconfig support
riscv: dts: add initial SpacemiT K1 SoC device tree
riscv: dts: spacemit: add Banana Pi BPI-F3 board device tree
riscv: defconfig: enable SpacemiT SoC
.../sifive,plic-1.0.0.yaml | 5 +-
.../devicetree/bindings/riscv/cpus.yaml | 1 +
.../devicetree/bindings/riscv/spacemit.yaml | 24 ++
.../bindings/timer/sifive,clint.yaml | 4 +-
.../devicetree/bindings/vendor-prefixes.yaml | 2 +
arch/riscv/Kconfig.socs | 5 +
arch/riscv/boot/dts/Makefile | 1 +
arch/riscv/boot/dts/spacemit/Makefile | 2 +
arch/riscv/boot/dts/spacemit/bananapi-f3.dts | 19 ++
arch/riscv/boot/dts/spacemit/k1.dtsi | 281 ++++++++++++++++++
arch/riscv/configs/defconfig | 1 +
11 files changed, 343 insertions(+), 2 deletions(-)
create mode 100644 Documentation/devicetree/bindings/riscv/spacemit.yaml
create mode 100644 arch/riscv/boot/dts/spacemit/Makefile
create mode 100644 arch/riscv/boot/dts/spacemit/bananapi-f3.dts
create mode 100644 arch/riscv/boot/dts/spacemit/k1.dtsi
--
2.45.1
More information about the linux-riscv
mailing list