| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- From 4a2b92a5d3519fc2c1edda4d4aa0e05bff41e8de Mon Sep 17 00:00:00 2001
- From: Bert Vermeulen <[email protected]>
- Date: Fri, 22 Jan 2021 21:42:23 +0100
- Subject: dt-bindings: interrupt-controller: Add Realtek RTL838x/RTL839x
- support
- Document the binding for the Realtek RTL838x/RTL839x interrupt controller.
- Reviewed-by: Rob Herring <[email protected]>
- Signed-off-by: Bert Vermeulen <[email protected]>
- [maz: Add a commit message, as the author couldn't be bothered...]
- Signed-off-by: Marc Zyngier <[email protected]>
- Link: https://lore.kernel.org/r/[email protected]
- ---
- .../interrupt-controller/realtek,rtl-intc.yaml | 57 ++++++++++++++++++++++
- 1 file changed, 57 insertions(+)
- create mode 100644 Documentation/devicetree/bindings/interrupt-controller/realtek,rtl-intc.yaml
- --- /dev/null
- +++ b/Documentation/devicetree/bindings/interrupt-controller/realtek,rtl-intc.yaml
- @@ -0,0 +1,57 @@
- +# 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>;
- + };
|