mirror of https://github.com/Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.2 KiB
57 lines
1.2 KiB
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
|
%YAML 1.2 |
|
--- |
|
$id: http://devicetree.org/schemas/interrupt-controller/realtek,rtl-intc.yaml# |
|
$schema: http://devicetree.org/meta-schemas/core.yaml# |
|
|
|
title: Realtek RTL SoC interrupt controller devicetree bindings |
|
|
|
maintainers: |
|
- Birger Koblitz <[email protected]> |
|
- Bert Vermeulen <[email protected]> |
|
- John Crispin <[email protected]> |
|
|
|
properties: |
|
compatible: |
|
const: realtek,rtl-intc |
|
|
|
"#interrupt-cells": |
|
const: 1 |
|
|
|
reg: |
|
maxItems: 1 |
|
|
|
interrupts: |
|
maxItems: 1 |
|
|
|
interrupt-controller: true |
|
|
|
"#address-cells": |
|
const: 0 |
|
|
|
interrupt-map: |
|
description: Describes mapping from SoC interrupts to CPU interrupts |
|
|
|
required: |
|
- compatible |
|
- reg |
|
- "#interrupt-cells" |
|
- interrupt-controller |
|
- "#address-cells" |
|
- interrupt-map |
|
|
|
additionalProperties: false |
|
|
|
examples: |
|
- | |
|
intc: interrupt-controller@3000 { |
|
compatible = "realtek,rtl-intc"; |
|
#interrupt-cells = <1>; |
|
interrupt-controller; |
|
reg = <0x3000 0x20>; |
|
#address-cells = <0>; |
|
interrupt-map = |
|
<31 &cpuintc 2>, |
|
<30 &cpuintc 1>, |
|
<29 &cpuintc 5>; |
|
};
|
|
|