mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
791d3ef2e1
'interrupt-parent' is often documented as part of define bindings, but it is really outside the scope of a device binding. It's never required in a given node as it is often inherited from a parent node. Or it can be implicit if a parent node is an 'interrupt-controller' node. So remove it from all the binding files. Cc: Mark Rutland <mark.rutland@arm.com> Cc: devicetree@vger.kernel.org Signed-off-by: Rob Herring <robh@kernel.org>
49 lines
1.3 KiB
Plaintext
49 lines
1.3 KiB
Plaintext
Sigma Designs SMP86xx/SMP87xx secondary interrupt controller
|
|
|
|
Required properties:
|
|
- compatible: should be "sigma,smp8642-intc"
|
|
- reg: physical address of MMIO region
|
|
- ranges: address space mapping of child nodes
|
|
- interrupt-controller: boolean
|
|
- #address-cells: should be <1>
|
|
- #size-cells: should be <1>
|
|
|
|
One child node per control block with properties:
|
|
- reg: address of registers for this control block
|
|
- interrupt-controller: boolean
|
|
- #interrupt-cells: should be <2>, interrupt index and flags per interrupts.txt
|
|
- interrupts: interrupt spec of primary interrupt controller
|
|
|
|
Example:
|
|
|
|
interrupt-controller@6e000 {
|
|
compatible = "sigma,smp8642-intc";
|
|
reg = <0x6e000 0x400>;
|
|
ranges = <0x0 0x6e000 0x400>;
|
|
interrupt-parent = <&gic>;
|
|
interrupt-controller;
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
irq0: interrupt-controller@0 {
|
|
reg = <0x000 0x100>;
|
|
interrupt-controller;
|
|
#interrupt-cells = <2>;
|
|
interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
|
|
};
|
|
|
|
irq1: interrupt-controller@100 {
|
|
reg = <0x100 0x100>;
|
|
interrupt-controller;
|
|
#interrupt-cells = <2>;
|
|
interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
|
|
};
|
|
|
|
irq2: interrupt-controller@300 {
|
|
reg = <0x300 0x100>;
|
|
interrupt-controller;
|
|
#interrupt-cells = <2>;
|
|
interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
|
|
};
|
|
};
|