0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/interrupt-controller/brcm,l2-intc.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Broadcom Generic Level 2 Interrupt Controller
0008
0009 maintainers:
0010 - Florian Fainelli <f.fainelli@gmail.com>
0011
0012 allOf:
0013 - $ref: /schemas/interrupt-controller.yaml#
0014
0015 properties:
0016 compatible:
0017 oneOf:
0018 - items:
0019 - enum:
0020 - brcm,hif-spi-l2-intc
0021 - brcm,upg-aux-aon-l2-intc
0022 - const: brcm,l2-intc
0023 - items:
0024 - enum:
0025 - brcm,bcm2711-l2-intc
0026 - const: brcm,l2-intc
0027 - items:
0028 - const: brcm,bcm7271-l2-intc
0029 - items:
0030 - const: brcm,l2-intc
0031
0032 reg:
0033 maxItems: 1
0034 description: >
0035 Specifies the base physical address and size of the registers
0036
0037 interrupt-controller: true
0038
0039 "#interrupt-cells":
0040 const: 1
0041
0042 interrupts:
0043 maxItems: 1
0044
0045 interrupt-names:
0046 maxItems: 1
0047
0048 brcm,irq-can-wake:
0049 type: boolean
0050 description: >
0051 If present, this means the L2 controller can be used as a wakeup source
0052 for system suspend/resume.
0053
0054 additionalProperties: false
0055
0056 required:
0057 - compatible
0058 - reg
0059 - interrupt-controller
0060 - "#interrupt-cells"
0061 - interrupts
0062
0063 examples:
0064 - |
0065 hif_intr2_intc: interrupt-controller@f0441000 {
0066 compatible = "brcm,l2-intc";
0067 reg = <0xf0441000 0x30>;
0068 interrupt-controller;
0069 #interrupt-cells = <1>;
0070 interrupt-parent = <&intc>;
0071 interrupts = <0x0 0x20 0x0>;
0072 };