1* Amlogic AXG Audio Clock Controllers
2
3The Amlogic AXG audio clock controller generates and supplies clock to the
4other elements of the audio subsystem, such as fifos, i2s, spdif and pdm
5devices.
6
7Required Properties:
8
9- compatible	: should be "amlogic,axg-audio-clkc" for the A113X and A113D,
10		  "amlogic,g12a-audio-clkc" for G12A.
11- reg		: physical base address of the clock controller and length of
12		  memory mapped region.
13- clocks	: a list of phandle + clock-specifier pairs for the clocks listed
14		  in clock-names.
15- clock-names	: must contain the following:
16		  * "pclk" - Main peripheral bus clock
17		  may contain the following:
18		  * "mst_in[0-7]" - 8 input plls to generate clock signals
19		  * "slv_sclk[0-9]" - 10 slave bit clocks provided by external
20				      components.
21		  * "slv_lrclk[0-9]" - 10 slave sample clocks provided by external
22				       components.
23- resets	: phandle of the internal reset line
24- #clock-cells	: should be 1.
25
26Each clock is assigned an identifier and client nodes can use this identifier
27to specify the clock which they consume. All available clocks are defined as
28preprocessor macros in the dt-bindings/clock/axg-audio-clkc.h header and can be
29used in device tree sources.
30
31Example:
32
33clkc_audio: clock-controller@0 {
34	compatible = "amlogic,axg-audio-clkc";
35	reg = <0x0 0x0 0x0 0xb4>;
36	#clock-cells = <1>;
37
38	clocks = <&clkc CLKID_AUDIO>,
39		 <&clkc CLKID_MPLL0>,
40		 <&clkc CLKID_MPLL1>,
41		 <&clkc CLKID_MPLL2>,
42		 <&clkc CLKID_MPLL3>,
43		 <&clkc CLKID_HIFI_PLL>,
44		 <&clkc CLKID_FCLK_DIV3>,
45		 <&clkc CLKID_FCLK_DIV4>,
46		 <&clkc CLKID_GP0_PLL>;
47	clock-names = "pclk",
48		      "mst_in0",
49		      "mst_in1",
50		      "mst_in2",
51		      "mst_in3",
52		      "mst_in4",
53		      "mst_in5",
54		      "mst_in6",
55		      "mst_in7";
56	resets = <&reset RESET_AUDIO>;
57};
58