brintos

brintos / linux-shallow public Read only

0
0
Text · 2.7 KiB · 5ecb6fa Raw
92 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/interrupt-controller/brcm,bcm7038-l1-intc.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Broadcom BCM7038-style Level 1 interrupt controller8 9description: >10  This block is a first level interrupt controller that is typically connected11  directly to one of the HW INT lines on each CPU.  Every BCM7xxx set-top chip12  since BCM7038 has contained this hardware.13 14  Key elements of the hardware design include:15 16   - 64, 96, 128, or 160 incoming level IRQ lines17 18   - Most onchip peripherals are wired directly to an L1 input19 20   - A separate instance of the register set for each CPU, allowing individual21     peripheral IRQs to be routed to any CPU22 23   - Atomic mask/unmask operations24 25   - No polarity/level/edge settings26 27   - No FIFO or priority encoder logic; software is expected to read all28     2-5 status words to determine which IRQs are pending29 30   If multiple reg ranges and interrupt-parent entries are present on an SMP31   system, the driver will allow IRQ SMP affinity to be set up through the32   /proc/irq/ interface.  In the simplest possible configuration, only one33   reg range and one interrupt-parent is needed.34 35maintainers:36  - Florian Fainelli <f.fainelli@gmail.com>37 38allOf:39  - $ref: /schemas/interrupt-controller.yaml#40 41properties:42  compatible:43    const: brcm,bcm7038-l1-intc44 45  reg:46    description: >47      Specifies the base physical address and size of the registers48      the number of supported IRQs is inferred from the size argument49 50  interrupt-controller: true51 52  "#interrupt-cells":53    const: 154 55  interrupts:56    description: >57     Specifies the interrupt line(s) in the interrupt-parent controller node;58     valid values depend on the type of parent interrupt controller59 60  brcm,irq-can-wake:61    type: boolean62    description: >63      If present, this means the L1 controller can be used as a64      wakeup source for system suspend/resume.65 66  brcm,int-fwd-mask:67    $ref: /schemas/types.yaml#/definitions/uint32-array68    description:69      If present, a bit mask to indicate which interrupts have already been70      configured by the firmware and should be left unmanaged. This should71      have one 32-bit word per status/set/clear/mask group.72 73required:74  - compatible75  - reg76  - interrupt-controller77  - "#interrupt-cells"78  - interrupts79 80additionalProperties: false81 82examples:83  - |84    periph_intc: interrupt-controller@1041a400 {85      compatible = "brcm,bcm7038-l1-intc";86      reg = <0x1041a400 0x30>, <0x1041a600 0x30>;87      interrupt-controller;88      #interrupt-cells = <1>;89      interrupt-parent = <&cpu_intc>;90      interrupts = <2>, <3>;91    };92