1 # SPDX-License-Identifier: GPL-2.0-only 1 # SPDX-License-Identifier: GPL-2.0-only 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/interrupt-c 4 $id: http://devicetree.org/schemas/interrupt-controller/mrvl,intc.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Marvell MMP/Orion Interrupt controller 7 title: Marvell MMP/Orion Interrupt controller 8 8 9 maintainers: 9 maintainers: 10 - Andrew Lunn <andrew@lunn.ch> 10 - Andrew Lunn <andrew@lunn.ch> 11 - Gregory Clement <gregory.clement@bootlin.co 11 - Gregory Clement <gregory.clement@bootlin.com> 12 12 13 allOf: 13 allOf: 14 - if: 14 - if: 15 properties: 15 properties: 16 compatible: 16 compatible: 17 not: 17 not: 18 contains: 18 contains: 19 const: marvell,orion-intc 19 const: marvell,orion-intc 20 then: 20 then: 21 required: 21 required: 22 - mrvl,intc-nr-irqs 22 - mrvl,intc-nr-irqs 23 - if: 23 - if: 24 properties: 24 properties: 25 compatible: 25 compatible: 26 contains: 26 contains: 27 enum: 27 enum: 28 - mrvl,mmp-intc 28 - mrvl,mmp-intc 29 - mrvl,mmp2-intc 29 - mrvl,mmp2-intc 30 then: 30 then: 31 properties: 31 properties: 32 reg: 32 reg: 33 maxItems: 1 33 maxItems: 1 34 - if: 34 - if: 35 properties: 35 properties: 36 compatible: 36 compatible: 37 contains: 37 contains: 38 enum: 38 enum: 39 - marvell,mmp3-intc 39 - marvell,mmp3-intc 40 - mrvl,mmp2-mux-intc 40 - mrvl,mmp2-mux-intc 41 then: 41 then: 42 properties: 42 properties: 43 reg: 43 reg: 44 minItems: 2 44 minItems: 2 45 - if: 45 - if: 46 properties: 46 properties: 47 compatible: 47 compatible: 48 contains: 48 contains: 49 const: mrvl,mmp2-mux-intc 49 const: mrvl,mmp2-mux-intc 50 then: 50 then: 51 properties: 51 properties: 52 interrupts: 52 interrupts: 53 maxItems: 1 53 maxItems: 1 54 reg-names: 54 reg-names: 55 items: 55 items: 56 - const: mux status 56 - const: mux status 57 - const: mux mask 57 - const: mux mask 58 required: 58 required: 59 - interrupts 59 - interrupts 60 else: 60 else: 61 properties: 61 properties: 62 interrupts: false 62 interrupts: false 63 63 64 properties: 64 properties: 65 '#interrupt-cells': 65 '#interrupt-cells': 66 const: 1 66 const: 1 67 67 68 compatible: 68 compatible: 69 enum: 69 enum: 70 - mrvl,mmp-intc 70 - mrvl,mmp-intc 71 - mrvl,mmp2-intc 71 - mrvl,mmp2-intc 72 - marvell,mmp3-intc 72 - marvell,mmp3-intc 73 - marvell,orion-intc 73 - marvell,orion-intc 74 - mrvl,mmp2-mux-intc 74 - mrvl,mmp2-mux-intc 75 75 76 reg: 76 reg: 77 minItems: 1 77 minItems: 1 78 maxItems: 2 78 maxItems: 2 79 79 80 reg-names: true 80 reg-names: true 81 81 82 interrupts: true 82 interrupts: true 83 83 84 interrupt-controller: true 84 interrupt-controller: true 85 85 86 mrvl,intc-nr-irqs: 86 mrvl,intc-nr-irqs: 87 description: | 87 description: | 88 Specifies the number of interrupts in th 88 Specifies the number of interrupts in the interrupt controller. 89 $ref: /schemas/types.yaml#/definitions/uin 89 $ref: /schemas/types.yaml#/definitions/uint32 90 90 91 mrvl,clr-mfp-irq: 91 mrvl,clr-mfp-irq: 92 description: | 92 description: | 93 Specifies the interrupt that needs to cl 93 Specifies the interrupt that needs to clear MFP edge detection first. 94 $ref: /schemas/types.yaml#/definitions/uin 94 $ref: /schemas/types.yaml#/definitions/uint32 95 95 96 required: 96 required: 97 - '#interrupt-cells' 97 - '#interrupt-cells' 98 - compatible 98 - compatible 99 - reg 99 - reg 100 - interrupt-controller 100 - interrupt-controller 101 101 102 additionalProperties: false 102 additionalProperties: false 103 103 104 examples: 104 examples: 105 - | 105 - | 106 interrupt-controller@d4282000 { 106 interrupt-controller@d4282000 { 107 compatible = "mrvl,mmp2-intc"; 107 compatible = "mrvl,mmp2-intc"; 108 interrupt-controller; 108 interrupt-controller; 109 #interrupt-cells = <1>; 109 #interrupt-cells = <1>; 110 reg = <0xd4282000 0x1000>; 110 reg = <0xd4282000 0x1000>; 111 mrvl,intc-nr-irqs = <64>; 111 mrvl,intc-nr-irqs = <64>; 112 }; 112 }; 113 113 114 interrupt-controller@d4282150 { 114 interrupt-controller@d4282150 { 115 compatible = "mrvl,mmp2-mux-intc"; 115 compatible = "mrvl,mmp2-mux-intc"; 116 interrupts = <4>; 116 interrupts = <4>; 117 interrupt-controller; 117 interrupt-controller; 118 #interrupt-cells = <1>; 118 #interrupt-cells = <1>; 119 reg = <0x150 0x4>, <0x168 0x4>; 119 reg = <0x150 0x4>, <0x168 0x4>; 120 reg-names = "mux status", "mux mask"; 120 reg-names = "mux status", "mux mask"; 121 mrvl,intc-nr-irqs = <2>; 121 mrvl,intc-nr-irqs = <2>; 122 }; 122 }; 123 - | 123 - | 124 interrupt-controller@fed20204 { 124 interrupt-controller@fed20204 { 125 compatible = "marvell,orion-intc"; 125 compatible = "marvell,orion-intc"; 126 interrupt-controller; 126 interrupt-controller; 127 #interrupt-cells = <1>; 127 #interrupt-cells = <1>; 128 reg = <0xfed20204 0x04>, 128 reg = <0xfed20204 0x04>, 129 <0xfed20214 0x04>; 129 <0xfed20214 0x04>; 130 }; 130 }; 131 131 132 ... 132 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.