xref: /freebsd/sys/contrib/device-tree/Bindings/soc/amlogic/clk-measure.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotAmlogic Internal Clock Measurer
2*c66ec88fSEmmanuel Vadot===============================
3*c66ec88fSEmmanuel Vadot
4*c66ec88fSEmmanuel VadotThe Amlogic SoCs contains an IP to measure the internal clocks.
5*c66ec88fSEmmanuel VadotThe precision is multiple of MHz, useful to debug the clock states.
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel VadotRequired properties:
8*c66ec88fSEmmanuel Vadot- compatible: Shall contain one of the following :
9*c66ec88fSEmmanuel Vadot			"amlogic,meson-gx-clk-measure" for GX SoCs
10*c66ec88fSEmmanuel Vadot			"amlogic,meson8-clk-measure" for Meson8 SoCs
11*c66ec88fSEmmanuel Vadot			"amlogic,meson8b-clk-measure" for Meson8b SoCs
12*c66ec88fSEmmanuel Vadot			"amlogic,meson-axg-clk-measure" for AXG SoCs
13*c66ec88fSEmmanuel Vadot			"amlogic,meson-g12a-clk-measure" for G12a SoCs
14*c66ec88fSEmmanuel Vadot			"amlogic,meson-sm1-clk-measure" for SM1 SoCs
15*c66ec88fSEmmanuel Vadot- reg: base address and size of the Clock Measurer register space.
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel VadotExample:
18*c66ec88fSEmmanuel Vadot	clock-measure@8758 {
19*c66ec88fSEmmanuel Vadot		compatible = "amlogic,meson-gx-clk-measure";
20*c66ec88fSEmmanuel Vadot		reg = <0x0 0x8758 0x0 0x10>;
21*c66ec88fSEmmanuel Vadot	};
22