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

dt-bindings: timer: Convert marvell,orion-timer to DT schema

Convert the Marvell Orion Timer binding to DT schema format. It's a
straight-forward conversion.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20250506022305.2588431-1-robh@kernel.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>

authored by

Rob Herring (Arm) and committed by
Daniel Lezcano
ea1ab43e 39b27ddf

+43 -16
-16
Documentation/devicetree/bindings/timer/marvell,orion-timer.txt
··· 1 - Marvell Orion SoC timer 2 - 3 - Required properties: 4 - - compatible: shall be "marvell,orion-timer" 5 - - reg: base address of the timer register starting with TIMERS CONTROL register 6 - - interrupts: should contain the interrupts for Timer0 and Timer1 7 - - clocks: phandle of timer reference clock (tclk) 8 - 9 - Example: 10 - timer: timer { 11 - compatible = "marvell,orion-timer"; 12 - reg = <0x20300 0x20>; 13 - interrupt-parent = <&bridge_intc>; 14 - interrupts = <1>, <2>; 15 - clocks = <&core_clk 0>; 16 - };
+43
Documentation/devicetree/bindings/timer/marvell,orion-timer.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/marvell,orion-timer.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Marvell Orion SoC timer 8 + 9 + maintainers: 10 + - Andrew Lunn <andrew@lunn.ch> 11 + - Gregory Clement <gregory.clement@bootlin.com> 12 + 13 + properties: 14 + compatible: 15 + const: marvell,orion-timer 16 + 17 + reg: 18 + maxItems: 1 19 + 20 + clocks: 21 + maxItems: 1 22 + 23 + interrupts: 24 + items: 25 + - description: Timer0 interrupt 26 + - description: Timer1 interrupt 27 + 28 + required: 29 + - compatible 30 + - reg 31 + - interrupts 32 + - clocks 33 + 34 + additionalProperties: false 35 + 36 + examples: 37 + - | 38 + timer@20300 { 39 + compatible = "marvell,orion-timer"; 40 + reg = <0x20300 0x20>; 41 + interrupts = <1>, <2>; 42 + clocks = <&core_clk 0>; 43 + };