Commit ea526e21 authored by Nick Hawkins's avatar Nick Hawkins Committed by Arnd Bergmann
Browse files

dt-bindings: timer: hpe,gxp-timer: Add HPE GXP Timer and Watchdog



Add support for the HPE GXP Timer and Watchdog. There are multiple
timers on the SoC but only one is enabled at this time.

Signed-off-by: default avatarNick Hawkins <nick.hawkins@hpe.com>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
parent 5184f4bf
Loading
Loading
Loading
Loading
+47 −0
Original line number Diff line number Diff line
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/timer/hpe,gxp-timer.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: HPE GXP Timer

maintainers:
  - Nick Hawkins <nick.hawkins@hpe.com>
  - Jean-Marie Verdun <verdun@hpe.com>

properties:
  compatible:
    const: hpe,gxp-timer

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  clocks:
    maxItems: 1

  clock-names:
    const: iop

required:
  - compatible
  - reg
  - interrupts
  - clocks
  - clock-names

additionalProperties: false

examples:
  - |
    timer@c0000000 {
        compatible = "hpe,gxp-timer";
        reg = <0x80 0x16>;
        interrupts = <0>;
        interrupt-parent = <&vic0>;
        clocks = <&iopclk>;
        clock-names = "iop";
    };