~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/interrupt-controller/brcm,bcm7120-l2-intc.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/interrupt-controller/brcm,bcm7120-l2-intc.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Broadcom BCM7120-style Level 2 and Broadcom BCM3380 Level 1 / Level 2
  8 
  9 maintainers:
 10   - Florian Fainelli <f.fainelli@gmail.com>
 11 
 12 description: >
 13   This interrupt controller hardware is a second level interrupt controller that
 14   is hooked to a parent interrupt controller: e.g: ARM GIC for ARM-based
 15   platforms. It can be found on BCM7xxx products starting with BCM7120.
 16 
 17   Such an interrupt controller has the following hardware design:
 18 
 19   - outputs multiple interrupts signals towards its interrupt controller parent
 20 
 21   - controls how some of the interrupts will be flowing, whether they will
 22     directly output an interrupt signal towards the interrupt controller parent,
 23     or if they will output an interrupt signal at this 2nd level interrupt
 24     controller, in particular for UARTs
 25 
 26   - has one 32-bit enable word and one 32-bit status word
 27 
 28   - no atomic set/clear operations
 29 
 30   - not all bits within the interrupt controller actually map to an interrupt
 31 
 32   The typical hardware layout for this controller is represented below:
 33 
 34   2nd level interrupt line              Outputs for the parent controller (e.g: ARM GIC)
 35 
 36   0 -----[ MUX ] ------------|==========> GIC interrupt 75
 37             \-----------\
 38                          |
 39   1 -----[ MUX ] --------)---|==========> GIC interrupt 76
 40             \------------|
 41                          |
 42   2 -----[ MUX ] --------)---|==========> GIC interrupt 77
 43             \------------|
 44                          |
 45   3 ---------------------|
 46   4 ---------------------|
 47   5 ---------------------|
 48   7 ---------------------|---|===========> GIC interrupt 66
 49   9 ---------------------|
 50   10 --------------------|
 51   11 --------------------/
 52 
 53   6 ------------------------\
 54                             |===========> GIC interrupt 64
 55   8 ------------------------/
 56 
 57   12 ........................ X
 58   13 ........................ X           (not connected)
 59   ..
 60   31 ........................ X
 61 
 62   The BCM3380 Level 1 / Level 2 interrupt controller shows up in various forms
 63   on many BCM338x/BCM63xx chipsets. It has the following properties:
 64 
 65   - outputs a single interrupt signal to its interrupt controller parent
 66 
 67   - contains one or more enable/status word pairs, which often appear at
 68     different offsets in different blocks
 69 
 70   - no atomic set/clear operations
 71 
 72 allOf:
 73   - $ref: /schemas/interrupt-controller.yaml#
 74 
 75 properties:
 76   compatible:
 77     items:
 78       - enum:
 79           - brcm,bcm7120-l2-intc
 80           - brcm,bcm3380-l2-intc
 81 
 82   reg:
 83     minItems: 1
 84     maxItems: 4
 85     description: >
 86       Specifies the base physical address and size of the registers
 87 
 88   interrupt-controller: true
 89 
 90   "#interrupt-cells":
 91     const: 1
 92 
 93   interrupts:
 94     minItems: 1
 95     maxItems: 32
 96 
 97   brcm,int-map-mask:
 98     $ref: /schemas/types.yaml#/definitions/uint32-array
 99     description: >
100       32-bits bit mask describing how many and which interrupts are wired to
101       this 2nd level interrupt controller, and how they match their respective
102       interrupt parents. Should match exactly the number of interrupts
103       specified in the 'interrupts' property.
104 
105   brcm,irq-can-wake:
106     type: boolean
107     description: >
108       If present, this means the L2 controller can be used as a wakeup source
109       for system suspend/resume.
110 
111   brcm,int-fwd-mask:
112     $ref: /schemas/types.yaml#/definitions/uint32-array
113     maxItems: 1
114     description: >
115       if present, a bit mask to configure the interrupts which have a mux gate,
116       typically UARTs. Setting these bits will make their respective interrupt
117       outputs bypass this 2nd level interrupt controller completely; it is
118       completely transparent for the interrupt controller parent. This should
119       have one 32-bit word per enable/status pair.
120 
121 additionalProperties: false
122 
123 required:
124   - compatible
125   - reg
126   - interrupt-controller
127   - "#interrupt-cells"
128   - interrupts
129 
130 examples:
131   - |
132     irq0_intc: interrupt-controller@f0406800 {
133       compatible = "brcm,bcm7120-l2-intc";
134       interrupt-parent = <&intc>;
135       #interrupt-cells = <1>;
136       reg = <0xf0406800 0x8>;
137       interrupt-controller;
138       interrupts = <0x0 0x42 0x0>, <0x0 0x40 0x0>;
139       brcm,int-map-mask = <0xeb8>, <0x140>;
140       brcm,int-fwd-mask = <0x7>;
141     };
142 
143   - |
144     irq1_intc: interrupt-controller@10000020 {
145        compatible = "brcm,bcm3380-l2-intc";
146        reg = <0x10000024 0x4>, <0x1000002c 0x4>,
147              <0x10000020 0x4>, <0x10000028 0x4>;
148        interrupt-controller;
149        #interrupt-cells = <1>;
150        interrupt-parent = <&cpu_intc>;
151        interrupts = <2>;
152     };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php