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/watchdog/arm,twd-wdt.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: ARM Timer-Watchdog Watchdog |
| 8 | |
| 9 | maintainers: |
| 10 | - Rob Herring <robh@kernel.org> |
| 11 | |
| 12 | description: |
| 13 | ARM 11MP, Cortex-A5 and Cortex-A9 are often associated with a per-core |
| 14 | Timer-Watchdog (aka TWD), which provides both a per-cpu local timer |
| 15 | and watchdog. |
| 16 | |
| 17 | The TWD is usually attached to a GIC to deliver its two per-processor |
| 18 | interrupts. |
| 19 | |
| 20 | properties: |
| 21 | compatible: |
| 22 | enum: |
| 23 | - arm,cortex-a9-twd-wdt |
| 24 | - arm,cortex-a5-twd-wdt |
| 25 | - arm,arm11mp-twd-wdt |
| 26 | |
| 27 | reg: |
| 28 | maxItems: 1 |
| 29 | |
| 30 | interrupts: |
| 31 | maxItems: 1 |
| 32 | |
| 33 | clocks: |
| 34 | maxItems: 1 |
| 35 | |
| 36 | required: |
| 37 | - compatible |
| 38 | - reg |
| 39 | |
| 40 | additionalProperties: false |
| 41 | |
| 42 | examples: |
| 43 | - | |
| 44 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 45 | |
| 46 | watchdog@2c000620 { |
| 47 | compatible = "arm,arm11mp-twd-wdt"; |
| 48 | reg = <0x2c000620 0x20>; |
| 49 | interrupts = <GIC_PPI 14 0xf01>; |
| 50 | }; |