Skip to content

Commit b88727d

Browse files
lyctwpalmer-dabbelt
authored andcommitted
dt-bindings: riscv: Add Andes interrupt controller compatible string
Add "andestech,cpu-intc" compatible string to indicate that Andes specific local interrupt is supported on the core, e.g. AX45MP cores have 3 types of non-standard local interrupt which can be handled in supervisor mode: - Slave port ECC error interrupt - Bus write transaction error interrupt - Performance monitor overflow interrupt These interrupts are enabled/disabled via a custom register SLIE instead of the standard interrupt enable register SIE. Signed-off-by: Yu Chien Peter Lin <peterlin@andestech.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Link: https://lore.kernel.org/r/20240222083946.3977135-5-peterlin@andestech.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
1 parent be5e887 commit b88727d

File tree

1 file changed

+5
-1
lines changed
  • Documentation/devicetree/bindings/riscv

1 file changed

+5
-1
lines changed

Documentation/devicetree/bindings/riscv/cpus.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,11 @@ properties:
106106
const: 1
107107

108108
compatible:
109-
const: riscv,cpu-intc
109+
oneOf:
110+
- items:
111+
- const: andestech,cpu-intc
112+
- const: riscv,cpu-intc
113+
- const: riscv,cpu-intc
110114

111115
interrupt-controller: true
112116

0 commit comments

Comments
 (0)