forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dt-bindings: interrupt-controller: add Ralink SoCs interrupt controller
Add YAML doc for the interrupt controller which is present on Ralink SoCs. Reviewed-by: Conor Dooley <[email protected]> Signed-off-by: Sergio Paracuellos <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
- Loading branch information
1 parent
3216cee
commit ecdb004
Showing
1 changed file
with
54 additions
and
0 deletions.
There are no files selected for viewing
54 changes: 54 additions & 0 deletions
54
Documentation/devicetree/bindings/interrupt-controller/ralink,rt2880-intc.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/interrupt-controller/ralink,rt2880-intc.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Ralink SoCs Interrupt Controller | ||
|
||
maintainers: | ||
- Sergio Paracuellos <[email protected]> | ||
|
||
allOf: | ||
- $ref: /schemas/interrupt-controller.yaml# | ||
|
||
description: | ||
This interrupt controller support a central point for interrupt aggregation | ||
for platform related blocks. | ||
|
||
properties: | ||
compatible: | ||
const: ralink,rt2880-intc | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
interrupts: | ||
maxItems: 1 | ||
|
||
interrupt-controller: true | ||
|
||
'#interrupt-cells': | ||
const: 1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- interrupts | ||
- interrupt-controller | ||
- '#interrupt-cells' | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
interrupt-controller@200 { | ||
compatible = "ralink,rt2880-intc"; | ||
reg = <0x200 0x100>; | ||
interrupt-controller; | ||
#interrupt-cells = <1>; | ||
interrupt-parent = <&cpuintc>; | ||
interrupts = <2>; | ||
}; | ||
... |