[PATCH v6 10/11] riscv: dts: add initial canmv-k230 and k230-evb dts

Jiayu Du jiayu.riscv at isrc.iscas.ac.cn
Wed Dec 24 23:11:27 PST 2025


On Sat, Mar 23, 2024 at 08:12:22PM +0800, Yangyu Chen wrote:
...
> diff --git a/arch/riscv/boot/dts/canaan/k230.dtsi b/arch/riscv/boot/dts/canaan/k230.dtsi
...
> +
> +	aliases {
> +		serial0 = &uart0;
> +	};

The aliases should be set in the board-level dts file,
so please consider removing the aliases.

...
> +
> +		plic: interrupt-controller at f00000000 {
> +			compatible = "canaan,k230-plic" ,"thead,c900-plic";
Incorrect comma separation. It should be: "canaan,k230-plic", "thead,c900-plic";
> +			reg = <0xf 0x00000000 0x0 0x04000000>;
> +			interrupts-extended = <&cpu0_intc 11>, <&cpu0_intc 9>;
> +			interrupt-controller;
> +			#address-cells = <0>;
> +			#interrupt-cells = <2>;
...
> -- 
> 2.43.0
> 




More information about the linux-riscv mailing list