1*70c497deSZhangfei Gao* Hisilicon Hi3660 Clock Controller 2*70c497deSZhangfei Gao 3*70c497deSZhangfei GaoThe Hi3660 clock controller generates and supplies clock to various 4*70c497deSZhangfei Gaocontrollers within the Hi3660 SoC. 5*70c497deSZhangfei Gao 6*70c497deSZhangfei GaoRequired Properties: 7*70c497deSZhangfei Gao 8*70c497deSZhangfei Gao- compatible: the compatible should be one of the following strings to 9*70c497deSZhangfei Gao indicate the clock controller functionality. 10*70c497deSZhangfei Gao 11*70c497deSZhangfei Gao - "hisilicon,hi3660-crgctrl" 12*70c497deSZhangfei Gao - "hisilicon,hi3660-pctrl" 13*70c497deSZhangfei Gao - "hisilicon,hi3660-pmuctrl" 14*70c497deSZhangfei Gao - "hisilicon,hi3660-sctrl" 15*70c497deSZhangfei Gao - "hisilicon,hi3660-iomcu" 16*70c497deSZhangfei Gao 17*70c497deSZhangfei Gao- reg: physical base address of the controller and length of memory mapped 18*70c497deSZhangfei Gao region. 19*70c497deSZhangfei Gao 20*70c497deSZhangfei Gao- #clock-cells: should be 1. 21*70c497deSZhangfei Gao 22*70c497deSZhangfei GaoEach clock is assigned an identifier and client nodes use this identifier 23*70c497deSZhangfei Gaoto specify the clock which they consume. 24*70c497deSZhangfei Gao 25*70c497deSZhangfei GaoAll these identifier could be found in <dt-bindings/clock/hi3660-clock.h>. 26*70c497deSZhangfei Gao 27*70c497deSZhangfei GaoExamples: 28*70c497deSZhangfei Gao crg_ctrl: clock-controller@fff35000 { 29*70c497deSZhangfei Gao compatible = "hisilicon,hi3660-crgctrl", "syscon"; 30*70c497deSZhangfei Gao reg = <0x0 0xfff35000 0x0 0x1000>; 31*70c497deSZhangfei Gao #clock-cells = <1>; 32*70c497deSZhangfei Gao }; 33*70c497deSZhangfei Gao 34*70c497deSZhangfei Gao uart0: serial@fdf02000 { 35*70c497deSZhangfei Gao compatible = "arm,pl011", "arm,primecell"; 36*70c497deSZhangfei Gao reg = <0x0 0xfdf02000 0x0 0x1000>; 37*70c497deSZhangfei Gao interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>; 38*70c497deSZhangfei Gao clocks = <&crg_ctrl HI3660_CLK_MUX_UART0>, 39*70c497deSZhangfei Gao <&crg_ctrl HI3660_PCLK>; 40*70c497deSZhangfei Gao clock-names = "uartclk", "apb_pclk"; 41*70c497deSZhangfei Gao status = "disabled"; 42*70c497deSZhangfei Gao }; 43