Skip to content

Commit f7c17ce

Browse files
committed
dt-bindings: interrupt-controller: Convert marvell,armada-8k-pic to DT schema
Convert the Marvell 7K/8K PIC interrupt controller binding to schema format. It's a straight-forward conversion of the typical interrupt controller. Link: https://lore.kernel.org/r/20250505144715.1289866-1-robh@kernel.org Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
1 parent 4f87995 commit f7c17ce

2 files changed

Lines changed: 52 additions & 25 deletions

File tree

Documentation/devicetree/bindings/interrupt-controller/marvell,armada-8k-pic.txt

Lines changed: 0 additions & 25 deletions
This file was deleted.
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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/marvell,armada-8k-pic.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Marvell Armada 7K/8K PIC Interrupt controller
8+
9+
maintainers:
10+
- Thomas Petazzoni <thomas.petazzoni@bootlin.com>
11+
12+
description:
13+
The Marvell Armada 7K/8K PIC is a secondary interrupt controller available on
14+
the Marvell Armada 7K/8K ARM64 SoCs, and typically connected to the GIC as the
15+
primary interrupt controller.
16+
17+
properties:
18+
compatible:
19+
const: marvell,armada-8k-pic
20+
21+
reg:
22+
maxItems: 1
23+
24+
"#interrupt-cells":
25+
const: 1
26+
27+
interrupt-controller: true
28+
29+
interrupts:
30+
maxItems: 1
31+
description: Interrupt to the primary interrupt controller (GIC).
32+
33+
required:
34+
- compatible
35+
- reg
36+
- "#interrupt-cells"
37+
- interrupt-controller
38+
- interrupts
39+
40+
additionalProperties: false
41+
42+
examples:
43+
- |
44+
#include <dt-bindings/interrupt-controller/arm-gic.h>
45+
46+
interrupt-controller@3f0100 {
47+
compatible = "marvell,armada-8k-pic";
48+
reg = <0x3f0100 0x10>;
49+
#interrupt-cells = <1>;
50+
interrupt-controller;
51+
interrupts = <GIC_PPI 15 IRQ_TYPE_LEVEL_HIGH>;
52+
};

0 commit comments

Comments
 (0)