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

From: Jiayu Du
Date: Thu Dec 25 2025 - 02:12:37 EST


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@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
>