brintos

brintos / linux-shallow public Read only

0
0
Text · 1.5 KiB · e5136a3 Raw
70 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/mfd/brcm,twd.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Broadcom's Timer-Watchdog (aka TWD)8 9maintainers:10  - Rafał Miłecki <rafal@milecki.pl>11 12description: |13  Broadcom has a Timer-Watchdog block used in multiple SoCs (e.g., BCM4908,14  BCM63xx, BCM7038). There are few variants available (they differ slightly in15  registers layout). This block consists of: timers, watchdog and optionally a16  software reset handler.17 18properties:19  compatible:20    items:21      - enum:22          - brcm,bcm4908-twd23          - brcm,bcm7038-twd24      - const: simple-mfd25      - const: syscon26 27  reg:28    maxItems: 129 30  ranges: true31 32  "#address-cells":33    const: 134 35  "#size-cells":36    const: 137 38patternProperties:39  '^timer@[a-f0-9]+$':40    $ref: /schemas/timer/brcm,bcmbca-timer.yaml41 42  '^watchdog@[a-f0-9]+$':43    $ref: /schemas/watchdog/brcm,bcm7038-wdt.yaml44 45additionalProperties: false46 47required:48  - reg49 50examples:51  - |52    timer-mfd@ff800400 {53        compatible = "brcm,bcm4908-twd", "simple-mfd", "syscon";54        reg = <0xff800400 0x4c>;55        ranges = <0x00000000 0xff800400 0x4c>;56 57        #address-cells = <1>;58        #size-cells = <1>;59 60        timer@0 {61            compatible = "brcm,bcm63138-timer";62            reg = <0x0 0x28>;63        };64 65        watchdog@28 {66            compatible = "brcm,bcm7038-wdt";67            reg = <0x28 0x8>;68        };69    };70