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/brcm,bcmbca-timer.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Broadcom Broadband SoC timer |
| 8 | |
| 9 | maintainers: |
| 10 | - Rafał Miłecki <rafal@milecki.pl> |
| 11 | |
| 12 | properties: |
| 13 | compatible: |
| 14 | oneOf: |
| 15 | - const: brcm,bcm6345-timer |
| 16 | description: > |
| 17 | An old block with 3 timers. |
| 18 | |
| 19 | It can be found in BCM6345, BCM6838 and BCM63268. |
| 20 | - const: brcm,bcm63138-timer |
| 21 | description: > |
| 22 | Updated block with 4 timers and control regs at the beginning. |
| 23 | |
| 24 | It can be found in newer SoCs, e.g. BCM63138, BCM63148, BCM63381, |
| 25 | BCM68360, BCM6848, BCM6858, BCM4908. |
| 26 | |
| 27 | reg: |
| 28 | maxItems: 1 |
| 29 | |
| 30 | additionalProperties: false |
| 31 | |
| 32 | required: |
| 33 | - reg |
| 34 | |
| 35 | examples: |
| 36 | - | |
| 37 | timer@fffe0200 { |
| 38 | compatible = "brcm,bcm6345-timer"; |
| 39 | reg = <0xfffe0200 0x1c>; |
| 40 | }; |