Chanwoo Choi | 664c658 | 2014-05-17 07:37:37 +0900 | [diff] [blame^] | 1 | * Samsung Exynos3250 Clock Controller |
| 2 | |
| 3 | The Exynos3250 clock controller generates and supplies clock to various |
| 4 | controllers within the Exynos3250 SoC. |
| 5 | |
| 6 | Required Properties: |
| 7 | |
| 8 | - compatible: should be one of the following. |
| 9 | - "samsung,exynos3250-cmu" - controller compatible with Exynos3250 SoC. |
| 10 | |
| 11 | - reg: physical base address of the controller and length of memory mapped |
| 12 | region. |
| 13 | |
| 14 | - #clock-cells: should be 1. |
| 15 | |
| 16 | Each clock is assigned an identifier and client nodes can use this identifier |
| 17 | to specify the clock which they consume. |
| 18 | |
| 19 | All available clocks are defined as preprocessor macros in |
| 20 | dt-bindings/clock/exynos3250.h header and can be used in device |
| 21 | tree sources. |
| 22 | |
| 23 | Example 1: An example of a clock controller node is listed below. |
| 24 | |
| 25 | cmu: clock-controller@10030000 { |
| 26 | compatible = "samsung,exynos3250-cmu"; |
| 27 | reg = <0x10030000 0x20000>; |
| 28 | #clock-cells = <1>; |
| 29 | }; |
| 30 | |
| 31 | Example 2: UART controller node that consumes the clock generated by the clock |
| 32 | controller. Refer to the standard clock bindings for information |
| 33 | about 'clocks' and 'clock-names' property. |
| 34 | |
| 35 | serial@13800000 { |
| 36 | compatible = "samsung,exynos4210-uart"; |
| 37 | reg = <0x13800000 0x100>; |
| 38 | interrupts = <0 109 0>; |
| 39 | clocks = <&cmu CLK_UART0>, <&cmu CLK_SCLK_UART0>; |
| 40 | clock-names = "uart", "clk_uart_baud0"; |
| 41 | }; |