Commit c55cddf6 authored by Rob Herring (Arm)'s avatar Rob Herring (Arm) Committed by Daniel Lezcano
Browse files

dt-bindings: timer: Convert cnxt,cx92755-timer to DT schema



Convert the Conexant Digicolor SoCs Timer binding to DT schema format.
It's a straight-forward conversion.

Signed-off-by: default avatarRob Herring (Arm) <robh@kernel.org>
Acked-by: default avatarBaruch Siach <baruch@tkos.co.il>
Link: https://lore.kernel.org/r/20250506022232.2587186-1-robh@kernel.org


Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
parent c3205f0f
Loading
Loading
Loading
Loading
+49 −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/cnxt,cx92755-timer.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Conexant Digicolor SoCs Timer Controller

maintainers:
  - Baruch Siach <baruch@tkos.co.il>

properties:
  compatible:
    const: cnxt,cx92755-timer

  reg:
    maxItems: 1

  interrupts:
    description: Contains 8 interrupts, one for each timer
    items:
      - description: interrupt for timer 0
      - description: interrupt for timer 1
      - description: interrupt for timer 2
      - description: interrupt for timer 3
      - description: interrupt for timer 4
      - description: interrupt for timer 5
      - description: interrupt for timer 6
      - description: interrupt for timer 7

  clocks:
    maxItems: 1

required:
  - compatible
  - reg
  - interrupts
  - clocks

additionalProperties: false

examples:
  - |
    timer@f0000fc0 {
      compatible = "cnxt,cx92755-timer";
      reg = <0xf0000fc0 0x40>;
      interrupts = <19>, <31>, <34>, <35>, <52>, <53>, <54>, <55>;
      clocks = <&main_clk>;
    };
+0 −18
Original line number Diff line number Diff line
Conexant Digicolor SoCs Timer Controller

Required properties:

- compatible : should be "cnxt,cx92755-timer"
- reg : Specifies base physical address and size of the "Agent Communication"
  timer registers
- interrupts : Contains 8 interrupts, one for each timer
- clocks: phandle to the main clock

Example:

	timer@f0000fc0 {
		compatible = "cnxt,cx92755-timer";
		reg = <0xf0000fc0 0x40>;
		interrupts = <19>, <31>, <34>, <35>, <52>, <53>, <54>, <55>;
		clocks = <&main_clk>;
	};