About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / clock / samsung,s3c2443-clock.txt




Custom Search

Based on kernel version 3.16. Page generated on 2014-08-06 21:36 EST.

1	* Samsung S3C2443 Clock Controller
2	
3	The S3C2443 clock controller generates and supplies clock to various controllers
4	within the SoC. The clock binding described here is applicable to all SoCs in
5	the s3c24x family starting with the s3c2443.
6	
7	Required Properties:
8	
9	- compatible: should be one of the following.
10	  - "samsung,s3c2416-clock" - controller compatible with S3C2416 SoC.
11	  - "samsung,s3c2443-clock" - controller compatible with S3C2443 SoC.
12	  - "samsung,s3c2450-clock" - controller compatible with S3C2450 SoC.
13	- reg: physical base address of the controller and length of memory mapped
14	  region.
15	- #clock-cells: should be 1.
16	
17	Each clock is assigned an identifier and client nodes can use this identifier
18	to specify the clock which they consume. Some of the clocks are available only
19	on a particular SoC.
20	
21	All available clocks are defined as preprocessor macros in
22	dt-bindings/clock/s3c2443.h header and can be used in device
23	tree sources.
24	
25	External clocks:
26	
27	There are several clocks that are generated outside the SoC. It is expected
28	that they are defined using standard clock bindings with following
29	clock-output-names:
30	 - "xti" - crystal input - required,
31	 - "ext" - external clock source - optional,
32	 - "ext_i2s" - external I2S clock - optional,
33	 - "ext_uart" - external uart clock - optional,
34	
35	Example: Clock controller node:
36	
37		clocks: clock-controller@4c000000 {
38			compatible = "samsung,s3c2416-clock";
39			reg = <0x4c000000 0x40>;
40			#clock-cells = <1>;
41		};
42	
43	Example: UART controller node that consumes the clock generated by the clock
44	  controller (refer to the standard clock bindings for information about
45	  "clocks" and "clock-names" properties):
46	
47		serial@50004000 {
48			compatible = "samsung,s3c2440-uart";
49			reg = <0x50004000 0x4000>;
50			interrupts = <1 23 3 4>, <1 23 4 4>;
51			clock-names = "uart", "clk_uart_baud2",
52					"clk_uart_baud3";
53			clocks = <&clocks PCLK_UART0>, <&clocks PCLK_UART0>,
54					<&clocks SCLK_UART>;
55			status = "disabled";
56		};
Hide Line Numbers
About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Information is copyright its respective author. All material is available from the Linux Kernel Source distributed under a GPL License. This page is provided as a free service by mjmwired.net.