lede/target/linux/phytium/files-5.10/Documentation/devicetree/bindings/interrupt-controller/phytium,ixic.yaml
HunZI a462d2b757
target: add phytium support (#11798)
* target: add phytium support

* kernel/video: add phytium platform ARM GPU support

* config: add EFI support to phytium armv8

* target: phytium: remove rtl8821cs driver

* target: phytium: refresh dts
2024-01-18 15:16:24 +08:00

67 lines
1.6 KiB
YAML
Executable File

# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/interrupt-controller/phytium,ixic.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Phytium INTx interrupt controller (IXIC)
description: |
This is a psuedo interrupt controller to handle PCI legacy interrupt on
Phytium D2000 and FT-2000/4C SoC, which sits between the PCI INTx devices
and the GIC and forwards the 4 INTx input signals to 4 adjacent GICv3 SPIs.
maintainers:
- Chen Baozi <chenbaozi@phytium.com.cn>
allOf:
- $ref: /schemas/interrupt-controller.yaml#
properties:
compatible:
enum:
- phytium,d2000-ixic
- phytium,ft2004c-ixic
reg:
description: |
Specifies two regions of the register set, which are called
'ctr' and 'hpb'
minItems: 2
maxItems: 2
interrupt-controller: true
'#interrupt-cells':
description: |
Specifies the number of cells needed to encode an interrupt source.
const: 3
intx-spi-base:
$ref: /schemas/types.yaml#/definitions/uint32
description: |
The SPI number of the first SPI of the 4 adjacent ones the IXIC
forwards its interrupts to.
required:
- compatible
- reg
- interrupt-controller
- '#interrupt-cells'
- intx-spi-base
additionalProperties: false
examples:
- |
ixic: interrupt-controller@29000000 {
compatible = "phytium,d2000-ixic";
reg-names = "ctr", "hpb";
reg = <0x0 0x29000000 0x0 0x00060000>,
<0x0 0x29100000 0x0 0x00002000>;
interrupt-controller;
interrupt-parent = <&gic>;
#interrupt-cells = <3>;
intx-spi-base = <28>;
};