1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/interrupt-controller/apple,aic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Apple Interrupt Controller
10 - Hector Martin <marcan@marcan.st>
13 The Apple Interrupt Controller is a simple interrupt controller present on
14 Apple ARM SoC platforms, including various iPhone and iPad devices and the
17 It provides the following features:
19 - Level-triggered hardware IRQs wired to SoC blocks
20 - Single mask bit per IRQ
21 - Per-IRQ affinity setting
22 - Automatic masking on event delivery (auto-ack)
23 - Software triggering (ORed with hw line)
24 - 2 per-CPU IPIs (meant as "self" and "other", but they are interchangeable
26 - Automatic prioritization (single event/ack register per CPU, lower IRQs =
28 - Automatic masking on ack
29 - Default "this CPU" register view and explicit per-CPU views
31 This device also represents the FIQ interrupt sources on platforms using AIC,
32 which do not go through a discrete interrupt controller.
35 - $ref: /schemas/interrupt-controller.yaml#
40 - const: apple,t8103-aic
43 interrupt-controller: true
48 The 1st cell contains the interrupt type:
52 The 2nd cell contains the interrupt number.
53 - HW IRQs: interrupt number
55 - 0: physical HV timer
57 - 2: physical guest timer
58 - 3: virtual guest timer
59 - 4: 'efficient' CPU PMU
60 - 5: 'performance' CPU PMU
62 The 3rd cell contains the interrupt flags. This is normally
63 IRQ_TYPE_LEVEL_HIGH (4).
67 Specifies base physical address and size of the AIC registers.
75 additionalProperties: false
77 FIQ affinity can be expressed as a single "affinities" node,
78 containing a set of sub-nodes, one per FIQ with a non-default
83 additionalProperties: false
87 The interrupt number specified as a FIQ, and for which
88 the affinity is not the default.
89 $ref: /schemas/types.yaml#/definitions/uint32
94 Should be a list of phandles to CPU nodes (as described in
95 Documentation/devicetree/bindings/arm/cpus.yaml).
104 - interrupt-controller
107 additionalProperties: false
112 #address-cells = <2>;
115 aic: interrupt-controller@23b100000 {
116 compatible = "apple,t8103-aic", "apple,aic";
117 #interrupt-cells = <3>;
118 interrupt-controller;
119 reg = <0x2 0x3b100000 0x0 0x8000>;