xref: /linux/Documentation/devicetree/bindings/soc/amlogic/amlogic,meson-gx-clk-measure.yaml (revision 297d9111e9fcf47dd1dcc6f79bba915f35378d01)
12227e738SNeil Armstrong# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
22227e738SNeil Armstrong%YAML 1.2
32227e738SNeil Armstrong---
42227e738SNeil Armstrong$id: http://devicetree.org/schemas/soc/amlogic/amlogic,meson-gx-clk-measure.yaml#
52227e738SNeil Armstrong$schema: http://devicetree.org/meta-schemas/core.yaml#
62227e738SNeil Armstrong
72227e738SNeil Armstrongtitle: Amlogic Internal Clock Measurer
82227e738SNeil Armstrong
92227e738SNeil Armstrongdescription:
102227e738SNeil Armstrong  The Amlogic SoCs contains an IP to measure the internal clocks.
112227e738SNeil Armstrong  The precision is multiple of MHz, useful to debug the clock states.
122227e738SNeil Armstrong
132227e738SNeil Armstrongmaintainers:
142227e738SNeil Armstrong  - Neil Armstrong <neil.armstrong@linaro.org>
152227e738SNeil Armstrong
162227e738SNeil Armstrongproperties:
172227e738SNeil Armstrong  compatible:
182227e738SNeil Armstrong    enum:
192227e738SNeil Armstrong      - amlogic,meson-gx-clk-measure
202227e738SNeil Armstrong      - amlogic,meson8-clk-measure
212227e738SNeil Armstrong      - amlogic,meson8b-clk-measure
222227e738SNeil Armstrong      - amlogic,meson-axg-clk-measure
232227e738SNeil Armstrong      - amlogic,meson-g12a-clk-measure
242227e738SNeil Armstrong      - amlogic,meson-sm1-clk-measure
25ddcbc9d3SChuan Liu      - amlogic,c3-clk-measure
26*fb80ff25SChuan Liu      - amlogic,s4-clk-measure
272227e738SNeil Armstrong
282227e738SNeil Armstrong  reg:
292227e738SNeil Armstrong    maxItems: 1
302227e738SNeil Armstrong
312227e738SNeil Armstrongrequired:
322227e738SNeil Armstrong  - compatible
332227e738SNeil Armstrong  - reg
342227e738SNeil Armstrong
352227e738SNeil ArmstrongunevaluatedProperties: false
362227e738SNeil Armstrong
372227e738SNeil Armstrongexamples:
382227e738SNeil Armstrong  - |
392227e738SNeil Armstrong    clock-measure@8758 {
402227e738SNeil Armstrong        compatible = "amlogic,meson-gx-clk-measure";
412227e738SNeil Armstrong        reg = <0x8758 0x10>;
422227e738SNeil Armstrong    };
43