| 
     1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/mfd/brcm,twd.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Broadcom's Timer-Watchdog (aka TWD)
    8 
    9 maintainers:
   10   - Rafał Miłecki <rafal@milecki.pl>
   11 
   12 description: |
   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 in
   15   registers layout). This block consists of: timers, watchdog and optionally a
   16   software reset handler.
   17 
   18 properties:
   19   compatible:
   20     items:
   21       - enum:
   22           - brcm,bcm4908-twd
   23           - brcm,bcm7038-twd
   24       - const: simple-mfd
   25       - const: syscon
   26 
   27   reg:
   28     maxItems: 1
   29 
   30   ranges: true
   31 
   32   "#address-cells":
   33     const: 1
   34 
   35   "#size-cells":
   36     const: 1
   37 
   38 patternProperties:
   39   '^watchdog@[a-f0-9]+$':
   40     $ref: /schemas/watchdog/brcm,bcm7038-wdt.yaml
   41 
   42 additionalProperties: false
   43 
   44 required:
   45   - reg
   46 
   47 examples:
   48   - |
   49     timer-mfd@ff800400 {
   50         compatible = "brcm,bcm4908-twd", "simple-mfd", "syscon";
   51         reg = <0xff800400 0x4c>;
   52         ranges = <0x00000000 0xff800400 0x4c>;
   53 
   54         #address-cells = <1>;
   55         #size-cells = <1>;
   56 
   57         watchdog@28 {
   58             compatible = "brcm,bcm7038-wdt";
   59             reg = <0x28 0x8>;
   60         };
   61     };
Cache object: f7ff3c7295b04a84d9713db4ee06394e 
 
 |