dt-bindings: interrupt-controller: Convert qca,ar7100-misc-intc to DT schema
Subsystems (2)
Rob Herring (Arm)
maintainerPATCH 1/1 dt-bindings: interrupt-controller: Convert qca,ar7100-misc-intc to DT schema
Convert the Qualcomm Atheros ath79 Misc interrupt controller binding to schema format.
Adjust the compatible values to match what's actually in use.
Signed-off-by Rob Herring (Arm) <[email protected]>
--- .../qca,ar7100-misc-intc.yaml | 52 +++++++++++++++++++ .../qca,ath79-misc-intc.txt | 45 ---------------- 2 files changed, 52 insertions(+), 45 deletions(-) create mode 100644 Documentation/devicetree/bindings/interrupt-controller/qca,ar7100-misc-intc.yaml delete mode 100644 Documentation/devicetree/bindings/interrupt-controller/qca,ath79-misc-intc.txt
Documentation/devicetree/bindings/interrupt-controller/qca,ar7100-misc-intc.yaml new file +52 -0
@@ -0,0 +1,52 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/interrupt-controller/qca,ar7100-misc-intc.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm Atheros AR7xxx/AR9XXX MISC interrupt controller + +maintainers: + - Alban Bedel <[email protected]> + - Alexander Couzens <[email protected]> + +description: + The Qualcomm Atheros AR7xxx/AR9XXX MISC interrupt controller is a secondary + controller for lower priority interrupts. + +properties: + compatible: + oneOf: + - items: + - const: qca,ar9132-misc-intc + - const: qca,ar7100-misc-intc + - const: qca,ar7240-misc-intc + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + interrupt-controller: true + + '#interrupt-cells': + const: 1 + +additionalProperties: false + +required: + - compatible + - reg + - interrupts + - interrupt-controller + - "#interrupt-cells" + +examples: + - | + interrupt-controller@18060010 { + compatible = "qca,ar9132-misc-intc", "qca,ar7100-misc-intc"; + reg = <0x18060010 0x4>; + interrupts = <6>; + interrupt-controller; + #interrupt-cells = <1>; + };
Documentation/devicetree/bindings/interrupt-controller/qca,ath79-misc-intc.txt deleted +0 -45
45 lines not on this page · raw message
Signature · 1 line
2.47.2