linux-loongson/Documentation/devicetree/bindings/interrupt-controller/marvell,orion-bridge-intc.yaml
Rob Herring (Arm) bac0fb596e dt-bindings: interrupt-controller: Convert marvell,orion-bridge-intc to DT schema
Convert the Marvell Orion bridge interrupt controller binding to schema
format.

marvell,orion-intc is already covered by mrvl,intc.yaml schema, so it
can be dropped.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20250505144743.1290672-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
2025-05-13 16:20:03 -05:00

53 lines
1.2 KiB
YAML

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
---
$id: http://devicetree.org/schemas/interrupt-controller/marvell,orion-bridge-intc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Marvell Orion SoC Bridge Interrupt Controller
maintainers:
- Andrew Lunn <andrew@lunn.ch>
- Gregory Clement <gregory.clement@bootlin.com>
properties:
compatible:
const: marvell,orion-bridge-intc
reg:
minItems: 1
maxItems: 2
interrupt-controller: true
'#interrupt-cells':
const: 1
interrupts:
description: Bridge interrupt of the main interrupt controller
marvell,#interrupts:
description: Number of interrupts provided by bridge interrupt controller.
$ref: /schemas/types.yaml#/definitions/uint32
default: 32
required:
- compatible
- reg
- interrupt-controller
- '#interrupt-cells'
- interrupts
additionalProperties: false
examples:
- |
interrupt-controller@20110 {
compatible = "marvell,orion-bridge-intc";
reg = <0x20110 0x8>;
interrupt-controller;
#interrupt-cells = <1>;
interrupts = <0>;
/* Dove bridge provides 5 interrupts */
marvell,#interrupts = <5>;
};