18c2ecf20Sopenharmony_ci* Hisilicon Hi3670 Clock Controller
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciThe Hi3670 clock controller generates and supplies clock to various
48c2ecf20Sopenharmony_cicontrollers within the Hi3670 SoC.
58c2ecf20Sopenharmony_ci
68c2ecf20Sopenharmony_ciRequired Properties:
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci- compatible: the compatible should be one of the following strings to
98c2ecf20Sopenharmony_ci	indicate the clock controller functionality.
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci	- "hisilicon,hi3670-crgctrl"
128c2ecf20Sopenharmony_ci	- "hisilicon,hi3670-pctrl"
138c2ecf20Sopenharmony_ci	- "hisilicon,hi3670-pmuctrl"
148c2ecf20Sopenharmony_ci	- "hisilicon,hi3670-sctrl"
158c2ecf20Sopenharmony_ci	- "hisilicon,hi3670-iomcu"
168c2ecf20Sopenharmony_ci	- "hisilicon,hi3670-media1-crg"
178c2ecf20Sopenharmony_ci	- "hisilicon,hi3670-media2-crg"
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci- reg: physical base address of the controller and length of memory mapped
208c2ecf20Sopenharmony_ci  region.
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ci- #clock-cells: should be 1.
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ciEach clock is assigned an identifier and client nodes use this identifier
258c2ecf20Sopenharmony_cito specify the clock which they consume.
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ciAll these identifier could be found in <dt-bindings/clock/hi3670-clock.h>.
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ciExamples:
308c2ecf20Sopenharmony_ci	crg_ctrl: clock-controller@fff35000 {
318c2ecf20Sopenharmony_ci		compatible = "hisilicon,hi3670-crgctrl", "syscon";
328c2ecf20Sopenharmony_ci		reg = <0x0 0xfff35000 0x0 0x1000>;
338c2ecf20Sopenharmony_ci		#clock-cells = <1>;
348c2ecf20Sopenharmony_ci	};
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ci	uart0: serial@fdf02000 {
378c2ecf20Sopenharmony_ci		compatible = "arm,pl011", "arm,primecell";
388c2ecf20Sopenharmony_ci		reg = <0x0 0xfdf02000 0x0 0x1000>;
398c2ecf20Sopenharmony_ci		interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
408c2ecf20Sopenharmony_ci		clocks = <&crg_ctrl HI3670_CLK_GATE_UART0>,
418c2ecf20Sopenharmony_ci			 <&crg_ctrl HI3670_PCLK>;
428c2ecf20Sopenharmony_ci		clock-names = "uartclk", "apb_pclk";
438c2ecf20Sopenharmony_ci	};
44