xref: /linux/Documentation/devicetree/bindings/soc/amlogic/amlogic,meson-gx-clk-measure.yaml (revision 34dc1baba215b826e454b8d19e4f24adbeb7d00d)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/soc/amlogic/amlogic,meson-gx-clk-measure.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Amlogic Internal Clock Measurer
8
9description:
10  The Amlogic SoCs contains an IP to measure the internal clocks.
11  The precision is multiple of MHz, useful to debug the clock states.
12
13maintainers:
14  - Neil Armstrong <neil.armstrong@linaro.org>
15
16properties:
17  compatible:
18    enum:
19      - amlogic,meson-gx-clk-measure
20      - amlogic,meson8-clk-measure
21      - amlogic,meson8b-clk-measure
22      - amlogic,meson-axg-clk-measure
23      - amlogic,meson-g12a-clk-measure
24      - amlogic,meson-sm1-clk-measure
25
26  reg:
27    maxItems: 1
28
29required:
30  - compatible
31  - reg
32
33unevaluatedProperties: false
34
35examples:
36  - |
37    clock-measure@8758 {
38        compatible = "amlogic,meson-gx-clk-measure";
39        reg = <0x8758 0x10>;
40    };
41