Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/timer/arm,global_timer.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: ARM Global Timer |
| 8 | |
| 9 | maintainers: |
| 10 | - Stuart Menefy <stuart.menefy@st.com> |
| 11 | |
| 12 | description: |
| 13 | Cortex-A9 are often associated with a per-core Global timer. |
| 14 | |
| 15 | properties: |
| 16 | compatible: |
| 17 | items: |
| 18 | - enum: |
| 19 | - arm,cortex-a5-global-timer |
| 20 | - arm,cortex-a9-global-timer |
| 21 | |
| 22 | description: driver supports versions r2p0 and above. |
| 23 | |
| 24 | reg: |
| 25 | maxItems: 1 |
| 26 | |
| 27 | interrupts: |
| 28 | maxItems: 1 |
| 29 | |
| 30 | clocks: |
| 31 | maxItems: 1 |
| 32 | |
| 33 | required: |
| 34 | - compatible |
| 35 | - reg |
| 36 | - clocks |
| 37 | |
| 38 | additionalProperties: false |
| 39 | |
| 40 | examples: |
| 41 | - | |
| 42 | timer@2c000600 { |
| 43 | compatible = "arm,cortex-a9-global-timer"; |
| 44 | reg = <0x2c000600 0x20>; |
| 45 | interrupts = <1 13 0xf01>; |
| 46 | clocks = <&arm_periph_clk>; |
| 47 | }; |
| 48 | ... |