xref: /freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/thead,c900-aclint-mswi.yaml (revision ae5de77ed78ae54d86cead5604869212e8008e6b)
184943d6fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
284943d6fSEmmanuel Vadot%YAML 1.2
384943d6fSEmmanuel Vadot---
484943d6fSEmmanuel Vadot$id: http://devicetree.org/schemas/interrupt-controller/thead,c900-aclint-mswi.yaml#
584943d6fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
684943d6fSEmmanuel Vadot
784943d6fSEmmanuel Vadottitle: Sophgo sg2042 CLINT Machine-level Software Interrupt Device
884943d6fSEmmanuel Vadot
984943d6fSEmmanuel Vadotmaintainers:
1084943d6fSEmmanuel Vadot  - Inochi Amaoto <inochiama@outlook.com>
1184943d6fSEmmanuel Vadot
1284943d6fSEmmanuel Vadotproperties:
1384943d6fSEmmanuel Vadot  compatible:
1484943d6fSEmmanuel Vadot    items:
1584943d6fSEmmanuel Vadot      - enum:
1684943d6fSEmmanuel Vadot          - sophgo,sg2042-aclint-mswi
17*ae5de77eSEmmanuel Vadot          - sophgo,sg2044-aclint-mswi
1884943d6fSEmmanuel Vadot      - const: thead,c900-aclint-mswi
1984943d6fSEmmanuel Vadot
2084943d6fSEmmanuel Vadot  reg:
2184943d6fSEmmanuel Vadot    maxItems: 1
2284943d6fSEmmanuel Vadot
2384943d6fSEmmanuel Vadot  interrupts-extended:
2484943d6fSEmmanuel Vadot    minItems: 1
2584943d6fSEmmanuel Vadot    maxItems: 4095
2684943d6fSEmmanuel Vadot
2784943d6fSEmmanuel VadotadditionalProperties: false
2884943d6fSEmmanuel Vadot
2984943d6fSEmmanuel Vadotrequired:
3084943d6fSEmmanuel Vadot  - compatible
3184943d6fSEmmanuel Vadot  - reg
3284943d6fSEmmanuel Vadot  - interrupts-extended
3384943d6fSEmmanuel Vadot
3484943d6fSEmmanuel Vadotexamples:
3584943d6fSEmmanuel Vadot  - |
3684943d6fSEmmanuel Vadot    interrupt-controller@94000000 {
3784943d6fSEmmanuel Vadot      compatible = "sophgo,sg2042-aclint-mswi", "thead,c900-aclint-mswi";
3884943d6fSEmmanuel Vadot      interrupts-extended = <&cpu1intc 3>,
3984943d6fSEmmanuel Vadot                            <&cpu2intc 3>,
4084943d6fSEmmanuel Vadot                            <&cpu3intc 3>,
4184943d6fSEmmanuel Vadot                            <&cpu4intc 3>;
4284943d6fSEmmanuel Vadot      reg = <0x94000000 0x00010000>;
4384943d6fSEmmanuel Vadot    };
4484943d6fSEmmanuel Vadot...
45