1 * Hisilicon Hi3660 Clock Controller 1 * Hisilicon Hi3660 Clock Controller 2 2 3 The Hi3660 clock controller generates and supp 3 The Hi3660 clock controller generates and supplies clock to various 4 controllers within the Hi3660 SoC. 4 controllers within the Hi3660 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,hi3660-crgctrl" 11 - "hisilicon,hi3660-crgctrl" 12 - "hisilicon,hi3660-pctrl" 12 - "hisilicon,hi3660-pctrl" 13 - "hisilicon,hi3660-pmuctrl" 13 - "hisilicon,hi3660-pmuctrl" 14 - "hisilicon,hi3660-sctrl" 14 - "hisilicon,hi3660-sctrl" 15 - "hisilicon,hi3660-iomcu" 15 - "hisilicon,hi3660-iomcu" 16 - "hisilicon,hi3660-stub-clk" 16 - "hisilicon,hi3660-stub-clk" 17 17 18 - reg: physical base address of the controller 18 - reg: physical base address of the controller and length of memory mapped 19 region. 19 region. 20 20 21 - #clock-cells: should be 1. 21 - #clock-cells: should be 1. 22 22 23 Optional Properties: 23 Optional Properties: 24 24 25 - mboxes: Phandle to the mailbox for sending m 25 - mboxes: Phandle to the mailbox for sending message to MCU. 26 (See: ../mailbox/hisilicon,hi3660- 26 (See: ../mailbox/hisilicon,hi3660-mailbox.txt for more info) 27 27 28 Each clock is assigned an identifier and clien 28 Each clock is assigned an identifier and client nodes use this identifier 29 to specify the clock which they consume. 29 to specify the clock which they consume. 30 30 31 All these identifier could be found in <dt-bin 31 All these identifier could be found in <dt-bindings/clock/hi3660-clock.h>. 32 32 33 Examples: 33 Examples: 34 crg_ctrl: clock-controller@fff35000 { 34 crg_ctrl: clock-controller@fff35000 { 35 compatible = "hisilicon,hi3660 35 compatible = "hisilicon,hi3660-crgctrl", "syscon"; 36 reg = <0x0 0xfff35000 0x0 0x10 36 reg = <0x0 0xfff35000 0x0 0x1000>; 37 #clock-cells = <1>; 37 #clock-cells = <1>; 38 }; 38 }; 39 39 40 uart0: serial@fdf02000 { 40 uart0: serial@fdf02000 { 41 compatible = "arm,pl011", "arm 41 compatible = "arm,pl011", "arm,primecell"; 42 reg = <0x0 0xfdf02000 0x0 0x10 42 reg = <0x0 0xfdf02000 0x0 0x1000>; 43 interrupts = <GIC_SPI 74 IRQ_T 43 interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>; 44 clocks = <&crg_ctrl HI3660_CLK 44 clocks = <&crg_ctrl HI3660_CLK_MUX_UART0>, 45 <&crg_ctrl HI3660_PCL 45 <&crg_ctrl HI3660_PCLK>; 46 clock-names = "uartclk", "apb_ 46 clock-names = "uartclk", "apb_pclk"; 47 }; 47 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.