K230 is an ideal chip for testing RISC-V Vector 1.0 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 factory SDK [1] with k230_evb_only_linux_defconfig and patched mainline opensbi [2] to skip locked pmp and successfully booted to busybox on initrd with this log [3]. [1] https://github.com/kendryte/k230_sdk [2] https://github.com/cyyself/opensbi/tree/k230 [3] https://gist.github.com/cyyself/b9445f38cc3ba1094924bd41c9086176 Yangyu Chen (5): dt-bindings: riscv: Add T-HEAD C908 compatible dt-bindings: add Canaan K230 boards compatible strings riscv: Kconfig.socs: Allow SOC_CANAAN with MMU for K230 riscv: dts: add initial canmv-k230 and k230-evb dts riscv: config: enable SOC_CANAAN in defconfig .../devicetree/bindings/riscv/canaan.yaml | 13 +- .../devicetree/bindings/riscv/cpus.yaml | 1 + arch/riscv/Kconfig.socs | 5 +- arch/riscv/boot/dts/canaan/Makefile | 2 + arch/riscv/boot/dts/canaan/canmv-k230.dts | 23 +++ arch/riscv/boot/dts/canaan/k230-evb.dts | 23 +++ arch/riscv/boot/dts/canaan/k230.dtsi | 146 ++++++++++++++++++ arch/riscv/configs/defconfig | 1 + 8 files changed, 210 insertions(+), 4 deletions(-) create mode 100644 arch/riscv/boot/dts/canaan/canmv-k230.dts create mode 100644 arch/riscv/boot/dts/canaan/k230-evb.dts create mode 100644 arch/riscv/boot/dts/canaan/k230.dtsi base-commit: 45e0b0fd6dc574101825ac2738b890da024e4cda prerequisite-patch-id: 2374c56c0032e616e45854d2bc2bb1073996313d Dependencies: https://lore.kernel.org/linux-riscv/tencent_88FEE0A2C5E0852436A2F1A1087E6803380A@xxxxxx/ -- 2.43.0