2020-05-21 13:48:10 -07:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
%YAML 1.2
|
|
|
|
---
|
2020-05-21 13:48:11 -07:00
|
|
|
$id: http://devicetree.org/schemas/timer/snps,dw-apb-timer.yaml#
|
2020-05-21 13:48:10 -07:00
|
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
|
|
|
|
title: Synopsys DesignWare APB Timer
|
|
|
|
|
|
|
|
maintainers:
|
|
|
|
- Daniel Lezcano <daniel.lezcano@linaro.org>
|
|
|
|
|
|
|
|
properties:
|
|
|
|
compatible:
|
|
|
|
oneOf:
|
|
|
|
- const: snps,dw-apb-timer
|
|
|
|
- enum:
|
|
|
|
- snps,dw-apb-timer-sp
|
|
|
|
- snps,dw-apb-timer-osc
|
|
|
|
deprecated: true
|
|
|
|
|
|
|
|
reg:
|
|
|
|
maxItems: 1
|
|
|
|
|
|
|
|
interrupts:
|
|
|
|
maxItems: 1
|
|
|
|
|
2021-02-09 22:02:22 -07:00
|
|
|
resets:
|
|
|
|
maxItems: 1
|
|
|
|
|
2020-05-21 13:48:10 -07:00
|
|
|
clocks:
|
|
|
|
minItems: 1
|
|
|
|
items:
|
2020-04-20 19:24:47 -07:00
|
|
|
- description: Timer ticks reference clock source
|
|
|
|
- description: APB interface clock source
|
2020-05-21 13:48:10 -07:00
|
|
|
|
|
|
|
clock-names:
|
|
|
|
minItems: 1
|
|
|
|
items:
|
|
|
|
- const: timer
|
|
|
|
- const: pclk
|
|
|
|
|
|
|
|
clock-frequency: true
|
|
|
|
|
2020-10-05 11:38:28 -07:00
|
|
|
additionalProperties: false
|
2020-05-21 13:48:10 -07:00
|
|
|
|
|
|
|
required:
|
|
|
|
- compatible
|
|
|
|
- reg
|
|
|
|
- interrupts
|
|
|
|
|
|
|
|
oneOf:
|
|
|
|
- required:
|
|
|
|
- clocks
|
|
|
|
- clock-names
|
|
|
|
- required:
|
|
|
|
- clock-frequency
|
|
|
|
- required:
|
|
|
|
- clock-freq
|
|
|
|
|
|
|
|
examples:
|
|
|
|
- |
|
|
|
|
timer@ffe00000 {
|
|
|
|
compatible = "snps,dw-apb-timer";
|
|
|
|
interrupts = <0 170 4>;
|
|
|
|
reg = <0xffe00000 0x1000>;
|
|
|
|
clocks = <&timer_clk>, <&timer_pclk>;
|
|
|
|
clock-names = "timer", "pclk";
|
|
|
|
};
|
|
|
|
- |
|
|
|
|
timer@ffe00000 {
|
|
|
|
compatible = "snps,dw-apb-timer";
|
|
|
|
interrupts = <0 170 4>;
|
|
|
|
reg = <0xffe00000 0x1000>;
|
|
|
|
clocks = <&timer_clk>;
|
|
|
|
clock-names = "timer";
|
|
|
|
};
|
|
|
|
- |
|
|
|
|
timer@ffe00000 {
|
|
|
|
compatible = "snps,dw-apb-timer";
|
|
|
|
interrupts = <0 170 4>;
|
|
|
|
reg = <0xffe00000 0x1000>;
|
|
|
|
clock-frequency = <25000000>;
|
|
|
|
};
|
|
|
|
...
|