0001 * Samsung S3C2443 Clock Controller
0002
0003 The S3C2443 clock controller generates and supplies clock to various controllers
0004 within the SoC. The clock binding described here is applicable to all SoCs in
0005 the s3c24x family starting with the s3c2443.
0006
0007 Required Properties:
0008
0009 - compatible: should be one of the following.
0010 - "samsung,s3c2416-clock" - controller compatible with S3C2416 SoC.
0011 - "samsung,s3c2443-clock" - controller compatible with S3C2443 SoC.
0012 - "samsung,s3c2450-clock" - controller compatible with S3C2450 SoC.
0013 - reg: physical base address of the controller and length of memory mapped
0014 region.
0015 - #clock-cells: should be 1.
0016
0017 Each clock is assigned an identifier and client nodes can use this identifier
0018 to specify the clock which they consume. Some of the clocks are available only
0019 on a particular SoC.
0020
0021 All available clocks are defined as preprocessor macros in
0022 dt-bindings/clock/s3c2443.h header and can be used in device
0023 tree sources.
0024
0025 External clocks:
0026
0027 There are several clocks that are generated outside the SoC. It is expected
0028 that they are defined using standard clock bindings with following
0029 clock-output-names:
0030 - "xti" - crystal input - required,
0031 - "ext" - external clock source - optional,
0032 - "ext_i2s" - external I2S clock - optional,
0033 - "ext_uart" - external uart clock - optional,
0034
0035 Example: Clock controller node:
0036
0037 clocks: clock-controller@4c000000 {
0038 compatible = "samsung,s3c2416-clock";
0039 reg = <0x4c000000 0x40>;
0040 #clock-cells = <1>;
0041 };
0042
0043 Example: UART controller node that consumes the clock generated by the clock
0044 controller (refer to the standard clock bindings for information about
0045 "clocks" and "clock-names" properties):
0046
0047 serial@50004000 {
0048 compatible = "samsung,s3c2440-uart";
0049 reg = <0x50004000 0x4000>;
0050 interrupts = <1 23 3 4>, <1 23 4 4>;
0051 clock-names = "uart", "clk_uart_baud2",
0052 "clk_uart_baud3";
0053 clocks = <&clocks PCLK_UART0>, <&clocks PCLK_UART0>,
0054 <&clocks SCLK_UART>;
0055 };