1 * Meta External Trigger Controller Binding
3 This binding specifies what properties must be available in the device tree
4 representation of a Meta external trigger controller.
8 - compatible: Specifies the compatibility list for the interrupt controller.
9 The type shall be <string> and the value shall include "img,meta-intc".
11 - num-banks: Specifies the number of interrupt banks (each of which can
12 handle 32 interrupt sources).
14 - interrupt-controller: The presence of this property identifies the node
15 as an interrupt controller. No property value shall be defined.
17 - #interrupt-cells: Specifies the number of cells needed to encode an
18 interrupt source. The type shall be a <u32> and the value shall be 2.
20 - #address-cells: Specifies the number of cells needed to encode an
21 address. The type shall be <u32> and the value shall be 0. As such,
22 'interrupt-map' nodes do not have to specify a parent unit address.
26 - no-mask: The controller doesn't have any mask registers.
28 * Interrupt Specifier Definition
30 Interrupt specifiers consists of 2 cells encoded as follows:
32 - <1st-cell>: The interrupt-number that identifies the interrupt source.
34 - <2nd-cell>: The Linux interrupt flags containing level-sense information,
44 * Meta external trigger block
47 // This is an interrupt controller node.
50 // No address cells so that 'interrupt-map' nodes which
51 // reference this interrupt controller node do not need a parent
55 // Two cells to encode interrupt sources.
56 #interrupt-cells = <2>;
58 // Number of interrupt banks
61 // No HWMASKEXT is available (specify on Chorus2 and Comet ES1)
64 // Compatible with Meta hardware trigger block.
65 compatible = "img,meta-intc";
71 * An interrupt generating device that is wired to a Meta external
74 uart1: uart@02004c00 {
75 // Interrupt source '5' that is level-sensitive.
76 // Note that there are only two cells as specified in the
77 // interrupt parent's '#interrupt-cells' property.
78 interrupts = <5 4 /* level */>;
80 // The interrupt controller that this device is wired to.
81 interrupt-parent = <&intc>;