Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame^] | 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/timer/thead,c900-aclint-mtimer.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Sophgo CLINT Timer |
| 8 | |
| 9 | maintainers: |
| 10 | - Inochi Amaoto <inochiama@outlook.com> |
| 11 | |
| 12 | properties: |
| 13 | compatible: |
| 14 | items: |
| 15 | - enum: |
| 16 | - sophgo,sg2042-aclint-mtimer |
| 17 | - const: thead,c900-aclint-mtimer |
| 18 | |
| 19 | reg: |
| 20 | maxItems: 1 |
| 21 | |
| 22 | interrupts-extended: |
| 23 | minItems: 1 |
| 24 | maxItems: 4095 |
| 25 | |
| 26 | additionalProperties: false |
| 27 | |
| 28 | required: |
| 29 | - compatible |
| 30 | - reg |
| 31 | - interrupts-extended |
| 32 | |
| 33 | examples: |
| 34 | - | |
| 35 | timer@ac000000 { |
| 36 | compatible = "sophgo,sg2042-aclint-mtimer", "thead,c900-aclint-mtimer"; |
| 37 | interrupts-extended = <&cpu1intc 7>, |
| 38 | <&cpu2intc 7>, |
| 39 | <&cpu3intc 7>, |
| 40 | <&cpu4intc 7>; |
| 41 | reg = <0xac000000 0x00010000>; |
| 42 | }; |
| 43 | ... |