Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: mfd: Add Broadcom's Timer-Watchdog block

It's a block implementing few time related functions depending on a
(SoC specific) variant. At this point there is ready binding for a
watchdog only. Work on remaining subblocks (e.g. "reg" based reboot) is
in progress.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20211115055354.6089-2-zajec5@gmail.com

authored by

Rafał Miłecki and committed by
Lee Jones
ad4ddfac 8ae4069a

+61
+61
Documentation/devicetree/bindings/mfd/brcm,twd.yaml
··· 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 + };