1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/interrupt-controller/apple,aic2.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Apple Interrupt Controller 2
10 - Hector Martin <marcan@marcan.st>
13 The Apple Interrupt Controller 2 is a simple interrupt controller present on
14 Apple ARM SoC platforms starting with t600x (M1 Pro and Max).
16 It provides the following features:
18 - Level-triggered hardware IRQs wired to SoC blocks
19 - Single mask bit per IRQ
20 - Automatic masking on event delivery (auto-ack)
21 - Software triggering (ORed with hw line)
22 - Automatic prioritization (single event/ack register per CPU, lower IRQs =
24 - Automatic masking on ack
25 - Support for multiple dies
27 This device also represents the FIQ interrupt sources on platforms using AIC,
28 which do not go through a discrete interrupt controller. It also handles
39 interrupt-controller: true
45 The 1st cell contains the interrupt type:
49 The 2nd cell contains the die ID (only present on apple,t6000-aic).
51 The next cell contains the interrupt number.
52 - HW IRQs: interrupt number
54 - 0: physical HV timer
56 - 2: physical guest timer
57 - 3: virtual guest timer
59 The last cell contains the interrupt flags. This is normally
60 IRQ_TYPE_LEVEL_HIGH (4).
64 - description: Address and size of the main AIC2 registers.
65 - description: Address and size of the AIC2 Event register.
77 additionalProperties: false
79 FIQ affinity can be expressed as a single "affinities" node,
80 containing a set of sub-nodes, one per FIQ with a non-default
85 additionalProperties: false
89 The interrupt number specified as a FIQ, and for which
90 the affinity is not the default.
91 $ref: /schemas/types.yaml#/definitions/uint32
95 $ref: /schemas/types.yaml#/definitions/phandle-array
97 Should be a list of phandles to CPU nodes (as described in
98 Documentation/devicetree/bindings/arm/cpus.yaml).
107 - interrupt-controller
111 additionalProperties: false
114 - $ref: /schemas/interrupt-controller.yaml#
119 const: apple,t8112-aic
132 #address-cells = <2>;
135 aic: interrupt-controller@28e100000 {
136 compatible = "apple,t6000-aic", "apple,aic2";
137 #interrupt-cells = <4>;
138 interrupt-controller;
139 reg = <0x2 0x8e100000 0x0 0xc000>,
140 <0x2 0x8e10c000 0x0 0x4>;
141 reg-names = "core", "event";