1 * Samsung S5P6442/S5PC110/S5PV210 Clock Controller
3 Samsung S5P6442, S5PC110 and S5PV210 SoCs contain integrated clock
4 controller, which generates and supplies clock to various controllers
9 - compatible: should be one of following:
10 - "samsung,s5pv210-clock" : for clock controller of Samsung
12 - "samsung,s5p6442-clock" : for clock controller of Samsung
15 - reg: physical base address of the controller and length of memory mapped
18 - #clock-cells: should be 1.
20 All available clocks are defined as preprocessor macros in
21 dt-bindings/clock/s5pv210.h header and can be used in device tree sources.
25 There are several clocks that are generated outside the SoC. It is expected
26 that they are defined using standard clock bindings with following
28 - "xxti": external crystal oscillator connected to XXTI and XXTO pins of
30 - "xusbxti": external crystal oscillator connected to XUSBXTI and XUSBXTO
33 A subset of above clocks available on given board shall be specified in
34 board device tree, including the system base clock, as selected by XOM[0]
35 pin of the SoC. Refer to generic fixed rate clock bindings
36 documentation[1] for more information how to specify these clocks.
38 [1] Documentation/devicetree/bindings/clock/fixed-clock.yaml
40 Example: Clock controller node:
42 clock: clock-controller@7e00f000 {
43 compatible = "samsung,s5pv210-clock";
44 reg = <0x7e00f000 0x1000>;
48 Example: Required external clocks:
51 compatible = "fixed-clock";
52 clock-output-names = "xxti";
53 clock-frequency = <24000000>;
57 xusbxti: clock-xusbxti {
58 compatible = "fixed-clock";
59 clock-output-names = "xusbxti";
60 clock-frequency = <24000000>;
64 Example: UART controller node that consumes the clock generated by the clock
65 controller (refer to the standard clock bindings for information about
66 "clocks" and "clock-names" properties):
68 uart0: serial@e2900000 {
69 compatible = "samsung,s5pv210-uart";
70 reg = <0xe2900000 0x400>;
71 interrupt-parent = <&vic1>;
73 clock-names = "uart", "clk_uart_baud0",
75 clocks = <&clocks UART0>, <&clocks UART0>,