brintos

brintos / linux-shallow public Read only

0
0
Text · 1.5 KiB · 6d0eb00 Raw
67 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/timer/rockchip,rk-timer.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Rockchip Timer8 9maintainers:10  - Daniel Lezcano <daniel.lezcano@linaro.org>11 12properties:13  compatible:14    oneOf:15      - const: rockchip,rk3288-timer16      - const: rockchip,rk3399-timer17      - items:18          - enum:19              - rockchip,rv1108-timer20              - rockchip,rv1126-timer21              - rockchip,rk3036-timer22              - rockchip,rk3128-timer23              - rockchip,rk3188-timer24              - rockchip,rk3228-timer25              - rockchip,rk3229-timer26              - rockchip,rk3368-timer27              - rockchip,rk3576-timer28              - rockchip,rk3588-timer29              - rockchip,px30-timer30          - const: rockchip,rk3288-timer31  reg:32    maxItems: 133 34  interrupts:35    maxItems: 136 37  clocks:38    minItems: 239    maxItems: 240 41  clock-names:42    items:43      - const: pclk44      - const: timer45 46required:47  - compatible48  - reg49  - interrupts50  - clocks51  - clock-names52 53additionalProperties: false54 55examples:56  - |57    #include <dt-bindings/interrupt-controller/arm-gic.h>58    #include <dt-bindings/clock/rk3288-cru.h>59 60    timer: timer@ff810000 {61        compatible = "rockchip,rk3288-timer";62        reg = <0xff810000 0x20>;63        interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;64        clocks = <&cru PCLK_TIMER>, <&xin24m>;65        clock-names = "pclk", "timer";66    };67