85 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only2%YAML 1.23---4$id: http://devicetree.org/schemas/timer/snps,dw-apb-timer.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Synopsys DesignWare APB Timer8 9maintainers:10 - Daniel Lezcano <daniel.lezcano@linaro.org>11 12properties:13 compatible:14 oneOf:15 - const: snps,dw-apb-timer16 - enum:17 - snps,dw-apb-timer-sp18 - snps,dw-apb-timer-osc19 deprecated: true20 21 reg:22 maxItems: 123 24 interrupts:25 maxItems: 126 27 resets:28 maxItems: 129 30 clocks:31 minItems: 132 items:33 - description: Timer ticks reference clock source34 - description: APB interface clock source35 36 clock-names:37 minItems: 138 items:39 - const: timer40 - const: pclk41 42 clock-frequency: true43 44additionalProperties: false45 46required:47 - compatible48 - reg49 - interrupts50 51oneOf:52 - required:53 - clocks54 - clock-names55 - required:56 - clock-frequency57 - required:58 - clock-freq59 60examples:61 - |62 timer@ffe00000 {63 compatible = "snps,dw-apb-timer";64 interrupts = <0 170 4>;65 reg = <0xffe00000 0x1000>;66 clocks = <&timer_clk>, <&timer_pclk>;67 clock-names = "timer", "pclk";68 };69 - |70 timer@ffe00000 {71 compatible = "snps,dw-apb-timer";72 interrupts = <0 170 4>;73 reg = <0xffe00000 0x1000>;74 clocks = <&timer_clk>;75 clock-names = "timer";76 };77 - |78 timer@ffe00000 {79 compatible = "snps,dw-apb-timer";80 interrupts = <0 170 4>;81 reg = <0xffe00000 0x1000>;82 clock-frequency = <25000000>;83 };84...85