Files
linux/arch/riscv/boot/dts/bosc/kmh-v2-1core-uartlite.dts
gaochengbo 742d223e56 dts: kmh-v2: Fix warning of "riscv-imsic@3b000000: invalid cpuid for parent irq4"
Move interrupts-extended from dtsi to dts files.

Signed-off-by: Chengbo Gao <gaochengbo@bosc.ac.cn>
2025-08-04 15:50:50 +08:00

43 lines
663 B
Plaintext

// SPDX-License-Identifier: (GPL-2.0 OR MIT)
/* Copyright (c) 2023-2024 BOSC */
/dts-v1/;
#include "kmh-v2.dtsi"
/ {
#address-cells = <2>;
#size-cells = <2>;
compatible = "bosc,kmh-v2-dev";
model = "bosc,kmh-v2-1core-uartlite";
chosen {
bootargs = "console=hvc0 earlycon=sbi loglevel=8 drm.debug=0x2";
opensbi-config {
compatible = "opensbi,config";
cold-boot-harts = <&cpu0>;
};
};
};
&cpu0 {
status = "okay";
};
&uart1 {
status = "okay";
};
&clint {
interrupts-extended =
<&intc_cpu0 3>, <&intc_cpu0 7>;
};
&imsics_m {
interrupts-extended =
<&intc_cpu0 0x0b>;
};
&imsics_s {
interrupts-extended =
<&intc_cpu0 0x09>;
};