| 1 |
# SPDX-License-Identifier: BSD-2-Clause |
| 2 |
# Copyright 2018 Linaro Ltd. |
| 3 |
# Copyright 2018 Arm Ltd. |
| 4 |
$id: http://devicetree.org/schemas/interrupt-controller.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/base.yaml# |
| 6 |
|
| 7 |
title: Interrupt Controller Common Properties |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Rob Herring <[email protected]> |
| 11 |
|
| 12 |
properties: |
| 13 |
$nodename: |
| 14 |
pattern: "^interrupt-controller(@[0-9a-f,]+)*$" |
| 15 |
|
| 16 |
"#interrupt-cells": true |
| 17 |
|
| 18 |
"#address-cells": true |
| 19 |
|
| 20 |
interrupt-controller: |
| 21 |
$ref: types.yaml#/definitions/flag |
| 22 |
|
| 23 |
interrupt-map: |
| 24 |
$ref: /schemas/types.yaml#/definitions/uint32-matrix |
| 25 |
|
| 26 |
interrupt-map-mask: |
| 27 |
$ref: types.yaml#/definitions/uint32-array |
| 28 |
|
| 29 |
wakeup-parent: |
| 30 |
$ref: types.yaml#/definitions/phandle |
| 31 |
description: |
| 32 |
Some interrupt controllers in a SoC, are always powered on and have a |
| 33 |
select interrupts routed to them, so that they can wakeup the SoC from |
| 34 |
suspend. These interrupt controllers do not fall into the category of a |
| 35 |
parent interrupt controller and can be specified by the "wakeup-parent" |
| 36 |
property and contain a single phandle referring to the wakeup capable |
| 37 |
interrupt controller. |
| 38 |
|
| 39 |
dependencies: |
| 40 |
interrupt-controller: ['#interrupt-cells'] |
| 41 |
interrupt-map: ['#interrupt-cells' ] |
| 42 |
interrupt-map-mask: [ interrupt-map ] |
| 43 |
"#interrupt-cells": |
| 44 |
anyOf: |
| 45 |
- required: |
| 46 |
- interrupt-controller |
| 47 |
- required: |
| 48 |
- interrupt-map |
| 49 |
|
| 50 |
additionalProperties: true |
| 51 |
|
| 52 |
... |