| 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 <[email protected]> |
| 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 |
}; |