1354d7675SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0 2354d7675SEmmanuel Vadot%YAML 1.2 3354d7675SEmmanuel Vadot--- 4354d7675SEmmanuel Vadot$id: http://devicetree.org/schemas/timer/rockchip,rk-timer.yaml# 5354d7675SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6354d7675SEmmanuel Vadot 77ef62cebSEmmanuel Vadottitle: Rockchip Timer 8354d7675SEmmanuel Vadot 9354d7675SEmmanuel Vadotmaintainers: 10354d7675SEmmanuel Vadot - Daniel Lezcano <daniel.lezcano@linaro.org> 11354d7675SEmmanuel Vadot 12354d7675SEmmanuel Vadotproperties: 13354d7675SEmmanuel Vadot compatible: 14354d7675SEmmanuel Vadot oneOf: 15354d7675SEmmanuel Vadot - const: rockchip,rk3288-timer 16354d7675SEmmanuel Vadot - const: rockchip,rk3399-timer 17354d7675SEmmanuel Vadot - items: 18354d7675SEmmanuel Vadot - enum: 19354d7675SEmmanuel Vadot - rockchip,rv1108-timer 20cb7aa33aSEmmanuel Vadot - rockchip,rv1126-timer 21354d7675SEmmanuel Vadot - rockchip,rk3036-timer 228bab661aSEmmanuel Vadot - rockchip,rk3128-timer 23354d7675SEmmanuel Vadot - rockchip,rk3188-timer 24354d7675SEmmanuel Vadot - rockchip,rk3228-timer 25354d7675SEmmanuel Vadot - rockchip,rk3229-timer 26354d7675SEmmanuel Vadot - rockchip,rk3368-timer 27*fac71e4eSEmmanuel Vadot - rockchip,rk3588-timer 28354d7675SEmmanuel Vadot - rockchip,px30-timer 29354d7675SEmmanuel Vadot - const: rockchip,rk3288-timer 30354d7675SEmmanuel Vadot reg: 31354d7675SEmmanuel Vadot maxItems: 1 32354d7675SEmmanuel Vadot 33354d7675SEmmanuel Vadot interrupts: 34354d7675SEmmanuel Vadot maxItems: 1 35354d7675SEmmanuel Vadot 36354d7675SEmmanuel Vadot clocks: 37354d7675SEmmanuel Vadot minItems: 2 38354d7675SEmmanuel Vadot maxItems: 2 39354d7675SEmmanuel Vadot 40354d7675SEmmanuel Vadot clock-names: 41354d7675SEmmanuel Vadot items: 42354d7675SEmmanuel Vadot - const: pclk 43354d7675SEmmanuel Vadot - const: timer 44354d7675SEmmanuel Vadot 45354d7675SEmmanuel Vadotrequired: 46354d7675SEmmanuel Vadot - compatible 47354d7675SEmmanuel Vadot - reg 48354d7675SEmmanuel Vadot - interrupts 49354d7675SEmmanuel Vadot - clocks 50354d7675SEmmanuel Vadot - clock-names 51354d7675SEmmanuel Vadot 52354d7675SEmmanuel VadotadditionalProperties: false 53354d7675SEmmanuel Vadot 54354d7675SEmmanuel Vadotexamples: 55354d7675SEmmanuel Vadot - | 56354d7675SEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 57354d7675SEmmanuel Vadot #include <dt-bindings/clock/rk3288-cru.h> 58354d7675SEmmanuel Vadot 59354d7675SEmmanuel Vadot timer: timer@ff810000 { 60354d7675SEmmanuel Vadot compatible = "rockchip,rk3288-timer"; 61354d7675SEmmanuel Vadot reg = <0xff810000 0x20>; 62354d7675SEmmanuel Vadot interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>; 63354d7675SEmmanuel Vadot clocks = <&cru PCLK_TIMER>, <&xin24m>; 64354d7675SEmmanuel Vadot clock-names = "pclk", "timer"; 65354d7675SEmmanuel Vadot }; 66