1*354d7675SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0 2*354d7675SEmmanuel Vadot%YAML 1.2 3*354d7675SEmmanuel Vadot--- 4*354d7675SEmmanuel Vadot$id: http://devicetree.org/schemas/timer/rockchip,rk-timer.yaml# 5*354d7675SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*354d7675SEmmanuel Vadot 7*354d7675SEmmanuel Vadottitle: Rockchip Timer Device Tree Bindings 8*354d7675SEmmanuel Vadot 9*354d7675SEmmanuel Vadotmaintainers: 10*354d7675SEmmanuel Vadot - Daniel Lezcano <daniel.lezcano@linaro.org> 11*354d7675SEmmanuel Vadot 12*354d7675SEmmanuel Vadotproperties: 13*354d7675SEmmanuel Vadot compatible: 14*354d7675SEmmanuel Vadot oneOf: 15*354d7675SEmmanuel Vadot - const: rockchip,rk3288-timer 16*354d7675SEmmanuel Vadot - const: rockchip,rk3399-timer 17*354d7675SEmmanuel Vadot - items: 18*354d7675SEmmanuel Vadot - enum: 19*354d7675SEmmanuel Vadot - rockchip,rv1108-timer 20*354d7675SEmmanuel Vadot - rockchip,rk3036-timer 21*354d7675SEmmanuel Vadot - rockchip,rk3066-timer 22*354d7675SEmmanuel Vadot - rockchip,rk3188-timer 23*354d7675SEmmanuel Vadot - rockchip,rk3228-timer 24*354d7675SEmmanuel Vadot - rockchip,rk3229-timer 25*354d7675SEmmanuel Vadot - rockchip,rk3288-timer 26*354d7675SEmmanuel Vadot - rockchip,rk3368-timer 27*354d7675SEmmanuel Vadot - rockchip,px30-timer 28*354d7675SEmmanuel Vadot - const: rockchip,rk3288-timer 29*354d7675SEmmanuel Vadot reg: 30*354d7675SEmmanuel Vadot maxItems: 1 31*354d7675SEmmanuel Vadot 32*354d7675SEmmanuel Vadot interrupts: 33*354d7675SEmmanuel Vadot maxItems: 1 34*354d7675SEmmanuel Vadot 35*354d7675SEmmanuel Vadot clocks: 36*354d7675SEmmanuel Vadot minItems: 2 37*354d7675SEmmanuel Vadot maxItems: 2 38*354d7675SEmmanuel Vadot 39*354d7675SEmmanuel Vadot clock-names: 40*354d7675SEmmanuel Vadot items: 41*354d7675SEmmanuel Vadot - const: pclk 42*354d7675SEmmanuel Vadot - const: timer 43*354d7675SEmmanuel Vadot 44*354d7675SEmmanuel Vadotrequired: 45*354d7675SEmmanuel Vadot - compatible 46*354d7675SEmmanuel Vadot - reg 47*354d7675SEmmanuel Vadot - interrupts 48*354d7675SEmmanuel Vadot - clocks 49*354d7675SEmmanuel Vadot - clock-names 50*354d7675SEmmanuel Vadot 51*354d7675SEmmanuel VadotadditionalProperties: false 52*354d7675SEmmanuel Vadot 53*354d7675SEmmanuel Vadotexamples: 54*354d7675SEmmanuel Vadot - | 55*354d7675SEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 56*354d7675SEmmanuel Vadot #include <dt-bindings/clock/rk3288-cru.h> 57*354d7675SEmmanuel Vadot 58*354d7675SEmmanuel Vadot timer: timer@ff810000 { 59*354d7675SEmmanuel Vadot compatible = "rockchip,rk3288-timer"; 60*354d7675SEmmanuel Vadot reg = <0xff810000 0x20>; 61*354d7675SEmmanuel Vadot interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>; 62*354d7675SEmmanuel Vadot clocks = <&cru PCLK_TIMER>, <&xin24m>; 63*354d7675SEmmanuel Vadot clock-names = "pclk", "timer"; 64*354d7675SEmmanuel Vadot }; 65