162306a36Sopenharmony_ciKeystone 2 IRQ controller IP
262306a36Sopenharmony_ci
362306a36Sopenharmony_ciOn Keystone SOCs, DSP cores can send interrupts to ARM
462306a36Sopenharmony_cihost using the IRQ controller IP. It provides 28 IRQ signals to ARM.
562306a36Sopenharmony_ciThe IRQ handler running on HOST OS can identify DSP signal source by
662306a36Sopenharmony_cianalyzing SRCCx bits in IPCARx registers. This is one of the component
762306a36Sopenharmony_ciused by the IPC mechanism used on Keystone SOCs.
862306a36Sopenharmony_ci
962306a36Sopenharmony_ciRequired Properties:
1062306a36Sopenharmony_ci- compatible: should be "ti,keystone-irq"
1162306a36Sopenharmony_ci- ti,syscon-dev : phandle and offset pair. The phandle to syscon used to
1262306a36Sopenharmony_ci			access device control registers and the offset inside
1362306a36Sopenharmony_ci			device control registers range.
1462306a36Sopenharmony_ci- interrupt-controller : Identifies the node as an interrupt controller
1562306a36Sopenharmony_ci- #interrupt-cells : Specifies the number of cells needed to encode interrupt
1662306a36Sopenharmony_ci					 source should be 1.
1762306a36Sopenharmony_ci- interrupts: interrupt reference to primary interrupt controller
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ciPlease refer to interrupts.txt in this directory for details of the common
2062306a36Sopenharmony_ciInterrupt Controllers bindings used by client devices.
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ciExample:
2362306a36Sopenharmony_ci	kirq0: keystone_irq0@26202a0 {
2462306a36Sopenharmony_ci		compatible = "ti,keystone-irq";
2562306a36Sopenharmony_ci		ti,syscon-dev = <&devctrl 0x2a0>;
2662306a36Sopenharmony_ci		interrupts = <GIC_SPI 4 IRQ_TYPE_EDGE_RISING>;
2762306a36Sopenharmony_ci		interrupt-controller;
2862306a36Sopenharmony_ci		#interrupt-cells = <1>;
2962306a36Sopenharmony_ci	};
3062306a36Sopenharmony_ci
3162306a36Sopenharmony_ci	dsp0: dsp0 {
3262306a36Sopenharmony_ci		compatible = "linux,rproc-user";
3362306a36Sopenharmony_ci		...
3462306a36Sopenharmony_ci		interrupt-parent = <&kirq0>;
3562306a36Sopenharmony_ci		interrupts = <10 2>;
3662306a36Sopenharmony_ci	};
37