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