mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 05:55:18 +07:00
48c926cd34
Improve the binding example by removing all the leading zeros to fix the following dtc warnings: Warning (unit_address_format): Node /XXX unit name should not have leading 0s Converted using the following command: perl -p -i -e 's/\@0+([0-9a-f])/\@$1/g' `find ./Documentation/devicetree/bindings "*.txt"` Some unnecessary changes were manually fixed. Signed-off-by: Marco Franchi <marco.franchi@nxp.com> Signed-off-by: Rob Herring <robh@kernel.org>
37 lines
1.2 KiB
Plaintext
37 lines
1.2 KiB
Plaintext
Keystone 2 IRQ controller IP
|
|
|
|
On Keystone SOCs, DSP cores can send interrupts to ARM
|
|
host using the IRQ controller IP. It provides 28 IRQ signals to ARM.
|
|
The IRQ handler running on HOST OS can identify DSP signal source by
|
|
analyzing SRCCx bits in IPCARx registers. This is one of the component
|
|
used by the IPC mechanism used on Keystone SOCs.
|
|
|
|
Required Properties:
|
|
- compatible: should be "ti,keystone-irq"
|
|
- ti,syscon-dev : phandle and offset pair. The phandle to syscon used to
|
|
access device control registers and the offset inside
|
|
device control registers range.
|
|
- interrupt-controller : Identifies the node as an interrupt controller
|
|
- #interrupt-cells : Specifies the number of cells needed to encode interrupt
|
|
source should be 1.
|
|
- interrupts: interrupt reference to primary interrupt controller
|
|
|
|
Please refer to interrupts.txt in this directory for details of the common
|
|
Interrupt Controllers bindings used by client devices.
|
|
|
|
Example:
|
|
kirq0: keystone_irq0@26202a0 {
|
|
compatible = "ti,keystone-irq";
|
|
ti,syscon-dev = <&devctrl 0x2a0>;
|
|
interrupts = <GIC_SPI 4 IRQ_TYPE_EDGE_RISING>;
|
|
interrupt-controller;
|
|
#interrupt-cells = <1>;
|
|
};
|
|
|
|
dsp0: dsp0 {
|
|
compatible = "linux,rproc-user";
|
|
...
|
|
interrupt-parent = <&kirq0>;
|
|
interrupts = <10 2>;
|
|
};
|