Commit 6d0d4df8 authored by Sergio Paracuellos's avatar Sergio Paracuellos Committed by Daniel Lezcano
Browse files

dt-bindings: timers: Add Ralink SoCs timer



Add YAML documentation for the timer which is present on Ralink SoCs.

Signed-off-by: default avatarSergio Paracuellos <sergio.paracuellos@gmail.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20230620100231.1412582-1-sergio.paracuellos@gmail.com
parent e5313f1c
Loading
Loading
Loading
Loading
+44 −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/ralink,rt2880-timer.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Timer present in Ralink family SoCs

maintainers:
  - Sergio Paracuellos <sergio.paracuellos@gmail.com>

properties:
  compatible:
    const: ralink,rt2880-timer

  reg:
    maxItems: 1

  clocks:
    maxItems: 1

  interrupts:
    maxItems: 1

required:
  - compatible
  - reg
  - clocks
  - interrupts

additionalProperties: false

examples:
  - |
    timer@100 {
        compatible = "ralink,rt2880-timer";
        reg = <0x100 0x20>;

        clocks = <&sysc 3>;

        interrupt-parent = <&intc>;
        interrupts = <1>;
    };
...