What model is the K1 processor’s interrupt controller?

I’m currently trying to port our RTOS to the K1 and need to adapt the interrupt controller driver. What interrupt controller does the K1 use? Is it a PLIC with a base address of 0xe0000000?
Which parts of the kernel code can I refer to when adapting the driver?

求助求助:sos:

  • K1 中断控制器:PLIC ,基地址 0xe0000000 ,compatible = "riscv,plic0"

  • 8 核全连接(cpu0~cpu7 的 M/S 两个 context)

参考驱动:drivers/irqchip/irq-sifive-plic.c

这个驱动同时支持 sifive,plic-1.0.0 和 riscv,plic0 两个 compatible,K1 直接复用这个驱动