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