xref: /freebsd/sys/contrib/device-tree/Bindings/timer/thead,c900-aclint-mtimer.yaml (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
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/timer/thead,c900-aclint-mtimer.yaml#
584943d6fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
684943d6fSEmmanuel Vadot
784943d6fSEmmanuel Vadottitle: Sophgo CLINT Timer
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-mtimer
1784943d6fSEmmanuel Vadot      - const: thead,c900-aclint-mtimer
1884943d6fSEmmanuel Vadot
1984943d6fSEmmanuel Vadot  reg:
20*8d13bc63SEmmanuel Vadot    items:
21*8d13bc63SEmmanuel Vadot      - description: MTIMECMP Registers
22*8d13bc63SEmmanuel Vadot
23*8d13bc63SEmmanuel Vadot  reg-names:
24*8d13bc63SEmmanuel Vadot    items:
25*8d13bc63SEmmanuel Vadot      - const: mtimecmp
2684943d6fSEmmanuel Vadot
2784943d6fSEmmanuel Vadot  interrupts-extended:
2884943d6fSEmmanuel Vadot    minItems: 1
2984943d6fSEmmanuel Vadot    maxItems: 4095
3084943d6fSEmmanuel Vadot
3184943d6fSEmmanuel VadotadditionalProperties: false
3284943d6fSEmmanuel Vadot
3384943d6fSEmmanuel Vadotrequired:
3484943d6fSEmmanuel Vadot  - compatible
3584943d6fSEmmanuel Vadot  - reg
36*8d13bc63SEmmanuel Vadot  - reg-names
3784943d6fSEmmanuel Vadot  - interrupts-extended
3884943d6fSEmmanuel Vadot
3984943d6fSEmmanuel Vadotexamples:
4084943d6fSEmmanuel Vadot  - |
4184943d6fSEmmanuel Vadot    timer@ac000000 {
4284943d6fSEmmanuel Vadot      compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer";
4384943d6fSEmmanuel Vadot      interrupts-extended = <&cpu1intc 7>,
4484943d6fSEmmanuel Vadot                            <&cpu2intc 7>,
4584943d6fSEmmanuel Vadot                            <&cpu3intc 7>,
4684943d6fSEmmanuel Vadot                            <&cpu4intc 7>;
4784943d6fSEmmanuel Vadot      reg = <0xac000000 0x00010000>;
48*8d13bc63SEmmanuel Vadot      reg-names = "mtimecmp";
4984943d6fSEmmanuel Vadot    };
5084943d6fSEmmanuel Vadot...
51