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

dt-bindings: timer: Add fsl,timrot.yaml

Add fsl,timrot.yaml for i.MX23/i.MX28 timer.

Also add a generic fallback compatible string "fsl,timrot" for legacy
devices, which have existed for over 15 years.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20250528165351.691848-1-Frank.Li@nxp.com

authored by

Frank Li and committed by
Daniel Lezcano
ffc5870f 409f8fe0

+48
+48
Documentation/devicetree/bindings/timer/fsl,timrot.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/timer/fsl,timrot.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Freescale MXS Timer 8 + 9 + maintainers: 10 + - Frank Li <Frank.Li@nxp.com> 11 + 12 + properties: 13 + compatible: 14 + items: 15 + - enum: 16 + - fsl,imx23-timrot 17 + - fsl,imx28-timrot 18 + - const: fsl,timrot 19 + 20 + reg: 21 + maxItems: 1 22 + 23 + interrupts: 24 + items: 25 + - description: irq for timer0 26 + - description: irq for timer1 27 + - description: irq for timer2 28 + - description: irq for timer3 29 + 30 + clocks: 31 + maxItems: 1 32 + 33 + required: 34 + - compatible 35 + - reg 36 + - interrupts 37 + - clocks 38 + 39 + additionalProperties: false 40 + 41 + examples: 42 + - | 43 + timer: timer@80068000 { 44 + compatible = "fsl,imx28-timrot", "fsl,timrot"; 45 + reg = <0x80068000 0x2000>; 46 + interrupts = <48>, <49>, <50>, <51>; 47 + clocks = <&clks 26>; 48 + };