1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only 2c66ec88fSEmmanuel Vadot%YAML 1.2 3c66ec88fSEmmanuel Vadot--- 4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/timer/snps,dw-apb-timer.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 7c66ec88fSEmmanuel Vadottitle: Synopsys DesignWare APB Timer 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotmaintainers: 10c66ec88fSEmmanuel Vadot - Daniel Lezcano <daniel.lezcano@linaro.org> 11c66ec88fSEmmanuel Vadot 12c66ec88fSEmmanuel Vadotproperties: 13c66ec88fSEmmanuel Vadot compatible: 14c66ec88fSEmmanuel Vadot oneOf: 15c66ec88fSEmmanuel Vadot - const: snps,dw-apb-timer 16c66ec88fSEmmanuel Vadot - enum: 17c66ec88fSEmmanuel Vadot - snps,dw-apb-timer-sp 18c66ec88fSEmmanuel Vadot - snps,dw-apb-timer-osc 19c66ec88fSEmmanuel Vadot deprecated: true 20c66ec88fSEmmanuel Vadot 21c66ec88fSEmmanuel Vadot reg: 22c66ec88fSEmmanuel Vadot maxItems: 1 23c66ec88fSEmmanuel Vadot 24c66ec88fSEmmanuel Vadot interrupts: 25c66ec88fSEmmanuel Vadot maxItems: 1 26c66ec88fSEmmanuel Vadot 27*5def4c47SEmmanuel Vadot resets: 28*5def4c47SEmmanuel Vadot maxItems: 1 29*5def4c47SEmmanuel Vadot 30c66ec88fSEmmanuel Vadot clocks: 31c66ec88fSEmmanuel Vadot minItems: 1 32c66ec88fSEmmanuel Vadot items: 33c66ec88fSEmmanuel Vadot - description: Timer ticks reference clock source 34c66ec88fSEmmanuel Vadot - description: APB interface clock source 35c66ec88fSEmmanuel Vadot 36c66ec88fSEmmanuel Vadot clock-names: 37c66ec88fSEmmanuel Vadot minItems: 1 38c66ec88fSEmmanuel Vadot items: 39c66ec88fSEmmanuel Vadot - const: timer 40c66ec88fSEmmanuel Vadot - const: pclk 41c66ec88fSEmmanuel Vadot 42c66ec88fSEmmanuel Vadot clock-frequency: true 43c66ec88fSEmmanuel Vadot 446be33864SEmmanuel VadotadditionalProperties: false 45c66ec88fSEmmanuel Vadot 46c66ec88fSEmmanuel Vadotrequired: 47c66ec88fSEmmanuel Vadot - compatible 48c66ec88fSEmmanuel Vadot - reg 49c66ec88fSEmmanuel Vadot - interrupts 50c66ec88fSEmmanuel Vadot 51c66ec88fSEmmanuel VadotoneOf: 52c66ec88fSEmmanuel Vadot - required: 53c66ec88fSEmmanuel Vadot - clocks 54c66ec88fSEmmanuel Vadot - clock-names 55c66ec88fSEmmanuel Vadot - required: 56c66ec88fSEmmanuel Vadot - clock-frequency 57c66ec88fSEmmanuel Vadot - required: 58c66ec88fSEmmanuel Vadot - clock-freq 59c66ec88fSEmmanuel Vadot 60c66ec88fSEmmanuel Vadotexamples: 61c66ec88fSEmmanuel Vadot - | 62c66ec88fSEmmanuel Vadot timer@ffe00000 { 63c66ec88fSEmmanuel Vadot compatible = "snps,dw-apb-timer"; 64c66ec88fSEmmanuel Vadot interrupts = <0 170 4>; 65c66ec88fSEmmanuel Vadot reg = <0xffe00000 0x1000>; 66c66ec88fSEmmanuel Vadot clocks = <&timer_clk>, <&timer_pclk>; 67c66ec88fSEmmanuel Vadot clock-names = "timer", "pclk"; 68c66ec88fSEmmanuel Vadot }; 69c66ec88fSEmmanuel Vadot - | 70c66ec88fSEmmanuel Vadot timer@ffe00000 { 71c66ec88fSEmmanuel Vadot compatible = "snps,dw-apb-timer"; 72c66ec88fSEmmanuel Vadot interrupts = <0 170 4>; 73c66ec88fSEmmanuel Vadot reg = <0xffe00000 0x1000>; 74c66ec88fSEmmanuel Vadot clocks = <&timer_clk>; 75c66ec88fSEmmanuel Vadot clock-names = "timer"; 76c66ec88fSEmmanuel Vadot }; 77c66ec88fSEmmanuel Vadot - | 78c66ec88fSEmmanuel Vadot timer@ffe00000 { 79c66ec88fSEmmanuel Vadot compatible = "snps,dw-apb-timer"; 80c66ec88fSEmmanuel Vadot interrupts = <0 170 4>; 81c66ec88fSEmmanuel Vadot reg = <0xffe00000 0x1000>; 82c66ec88fSEmmanuel Vadot clock-frequency = <25000000>; 83c66ec88fSEmmanuel Vadot }; 84c66ec88fSEmmanuel Vadot... 85