summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/mfd/brcm,twd.yaml
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2022-10-28 14:53:53 +0300
committerLee Jones <lee@kernel.org>2022-12-07 16:28:09 +0300
commite112f2de151badd38a9c8a098a1f92f2369349cb (patch)
tree86c0602c7964a92c2f36588bf17adfbdefb7b09c /Documentation/devicetree/bindings/mfd/brcm,twd.yaml
parent727b67e34969ab7ad254a379664bbb492ae0bc5a (diff)
downloadlinux-e112f2de151badd38a9c8a098a1f92f2369349cb.tar.xz
dt-bindings: timer: Add Broadcom's BCMBCA timers
BCA is a big set / family of Broadcom devices sharing multiple hardware blocks. One of them is timer that actually exists in two versions. It's a part of TWD MFD block. Add binding for it so SoCs can be properly described. Linux (and probably any other OS) doesn't really seem to need a driver for it. it may be needed for bootloaders (e.g. U-Boot) though. Especially for SoCs with CPUs other than Cortex-A9 (which contains arch timers). Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Lee Jones <lee@kernel.org> Link: https://lore.kernel.org/r/20221028115353.13881-1-zajec5@gmail.com
Diffstat (limited to 'Documentation/devicetree/bindings/mfd/brcm,twd.yaml')
-rw-r--r--Documentation/devicetree/bindings/mfd/brcm,twd.yaml8
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mfd/brcm,twd.yaml b/Documentation/devicetree/bindings/mfd/brcm,twd.yaml
index 634526f790b8..e5136a37b0a3 100644
--- a/Documentation/devicetree/bindings/mfd/brcm,twd.yaml
+++ b/Documentation/devicetree/bindings/mfd/brcm,twd.yaml
@@ -36,6 +36,9 @@ properties:
const: 1
patternProperties:
+ '^timer@[a-f0-9]+$':
+ $ref: /schemas/timer/brcm,bcmbca-timer.yaml
+
'^watchdog@[a-f0-9]+$':
$ref: /schemas/watchdog/brcm,bcm7038-wdt.yaml
@@ -54,6 +57,11 @@ examples:
#address-cells = <1>;
#size-cells = <1>;
+ timer@0 {
+ compatible = "brcm,bcm63138-timer";
+ reg = <0x0 0x28>;
+ };
+
watchdog@28 {
compatible = "brcm,bcm7038-wdt";
reg = <0x28 0x8>;