1 * Hisilicon Hi3670 Clock Controller 1 * Hisilicon Hi3670 Clock Controller 2 2 3 The Hi3670 clock controller generates and supp 3 The Hi3670 clock controller generates and supplies clock to various 4 controllers within the Hi3670 SoC. 4 controllers within the Hi3670 SoC. 5 5 6 Required Properties: 6 Required Properties: 7 7 8 - compatible: the compatible should be one of 8 - compatible: the compatible should be one of the following strings to 9 indicate the clock controller function 9 indicate the clock controller functionality. 10 10 11 - "hisilicon,hi3670-crgctrl" 11 - "hisilicon,hi3670-crgctrl" 12 - "hisilicon,hi3670-pctrl" 12 - "hisilicon,hi3670-pctrl" 13 - "hisilicon,hi3670-pmuctrl" 13 - "hisilicon,hi3670-pmuctrl" 14 - "hisilicon,hi3670-sctrl" 14 - "hisilicon,hi3670-sctrl" 15 - "hisilicon,hi3670-iomcu" 15 - "hisilicon,hi3670-iomcu" 16 - "hisilicon,hi3670-media1-crg" 16 - "hisilicon,hi3670-media1-crg" 17 - "hisilicon,hi3670-media2-crg" 17 - "hisilicon,hi3670-media2-crg" 18 18 19 - reg: physical base address of the controller 19 - reg: physical base address of the controller and length of memory mapped 20 region. 20 region. 21 21 22 - #clock-cells: should be 1. 22 - #clock-cells: should be 1. 23 23 24 Each clock is assigned an identifier and clien 24 Each clock is assigned an identifier and client nodes use this identifier 25 to specify the clock which they consume. 25 to specify the clock which they consume. 26 26 27 All these identifier could be found in <dt-bin 27 All these identifier could be found in <dt-bindings/clock/hi3670-clock.h>. 28 28 29 Examples: 29 Examples: 30 crg_ctrl: clock-controller@fff35000 { 30 crg_ctrl: clock-controller@fff35000 { 31 compatible = "hisilicon,hi3670 31 compatible = "hisilicon,hi3670-crgctrl", "syscon"; 32 reg = <0x0 0xfff35000 0x0 0x10 32 reg = <0x0 0xfff35000 0x0 0x1000>; 33 #clock-cells = <1>; 33 #clock-cells = <1>; 34 }; 34 }; 35 35 36 uart0: serial@fdf02000 { 36 uart0: serial@fdf02000 { 37 compatible = "arm,pl011", "arm 37 compatible = "arm,pl011", "arm,primecell"; 38 reg = <0x0 0xfdf02000 0x0 0x10 38 reg = <0x0 0xfdf02000 0x0 0x1000>; 39 interrupts = <GIC_SPI 74 IRQ_T 39 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>; 40 clocks = <&crg_ctrl HI3670_CLK 40 clocks = <&crg_ctrl HI3670_CLK_GATE_UART0>, 41 <&crg_ctrl HI3670_PCL 41 <&crg_ctrl HI3670_PCLK>; 42 clock-names = "uartclk", "apb_ 42 clock-names = "uartclk", "apb_pclk"; 43 }; 43 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.