xref: /freebsd-src/sys/contrib/device-tree/src/arm/ti/omap/omap36xx-clocks.dtsi (revision 01950c46b8155250f64374fb72fc11faa44bf099)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * Device Tree Source for OMAP36xx clock data
4f126890aSEmmanuel Vadot *
5f126890aSEmmanuel Vadot * Copyright (C) 2013 Texas Instruments, Inc.
6f126890aSEmmanuel Vadot */
7f126890aSEmmanuel Vadot&cm_clocks {
8f126890aSEmmanuel Vadot	dpll4_ck: dpll4_ck@d00 {
9f126890aSEmmanuel Vadot		#clock-cells = <0>;
10f126890aSEmmanuel Vadot		compatible = "ti,omap3-dpll-per-j-type-clock";
11f126890aSEmmanuel Vadot		clocks = <&sys_ck>, <&sys_ck>;
12f126890aSEmmanuel Vadot		reg = <0x0d00>, <0x0d20>, <0x0d44>, <0x0d30>;
13f126890aSEmmanuel Vadot	};
14f126890aSEmmanuel Vadot
15f126890aSEmmanuel Vadot	dpll4_m5x2_ck: dpll4_m5x2_ck@d00 {
16f126890aSEmmanuel Vadot		#clock-cells = <0>;
17f126890aSEmmanuel Vadot		compatible = "ti,hsdiv-gate-clock";
18f126890aSEmmanuel Vadot		clocks = <&dpll4_m5x2_mul_ck>;
19f126890aSEmmanuel Vadot		ti,bit-shift = <0x1e>;
20f126890aSEmmanuel Vadot		reg = <0x0d00>;
21f126890aSEmmanuel Vadot		ti,set-rate-parent;
22f126890aSEmmanuel Vadot		ti,set-bit-to-disable;
23f126890aSEmmanuel Vadot	};
24f126890aSEmmanuel Vadot
25f126890aSEmmanuel Vadot	dpll4_m2x2_ck: dpll4_m2x2_ck@d00 {
26f126890aSEmmanuel Vadot		#clock-cells = <0>;
27f126890aSEmmanuel Vadot		compatible = "ti,hsdiv-gate-clock";
28f126890aSEmmanuel Vadot		clocks = <&dpll4_m2x2_mul_ck>;
29f126890aSEmmanuel Vadot		ti,bit-shift = <0x1b>;
30f126890aSEmmanuel Vadot		reg = <0x0d00>;
31f126890aSEmmanuel Vadot		ti,set-bit-to-disable;
32f126890aSEmmanuel Vadot	};
33f126890aSEmmanuel Vadot
34f126890aSEmmanuel Vadot	dpll3_m3x2_ck: dpll3_m3x2_ck@d00 {
35f126890aSEmmanuel Vadot		#clock-cells = <0>;
36f126890aSEmmanuel Vadot		compatible = "ti,hsdiv-gate-clock";
37f126890aSEmmanuel Vadot		clocks = <&dpll3_m3x2_mul_ck>;
38f126890aSEmmanuel Vadot		ti,bit-shift = <0xc>;
39f126890aSEmmanuel Vadot		reg = <0x0d00>;
40f126890aSEmmanuel Vadot		ti,set-bit-to-disable;
41f126890aSEmmanuel Vadot	};
42f126890aSEmmanuel Vadot
43f126890aSEmmanuel Vadot	dpll4_m3x2_ck: dpll4_m3x2_ck@d00 {
44f126890aSEmmanuel Vadot		#clock-cells = <0>;
45f126890aSEmmanuel Vadot		compatible = "ti,hsdiv-gate-clock";
46f126890aSEmmanuel Vadot		clocks = <&dpll4_m3x2_mul_ck>;
47f126890aSEmmanuel Vadot		ti,bit-shift = <0x1c>;
48f126890aSEmmanuel Vadot		reg = <0x0d00>;
49f126890aSEmmanuel Vadot		ti,set-bit-to-disable;
50f126890aSEmmanuel Vadot	};
51f126890aSEmmanuel Vadot
52f126890aSEmmanuel Vadot	dpll4_m6x2_ck: dpll4_m6x2_ck@d00 {
53f126890aSEmmanuel Vadot		#clock-cells = <0>;
54f126890aSEmmanuel Vadot		compatible = "ti,hsdiv-gate-clock";
55f126890aSEmmanuel Vadot		clocks = <&dpll4_m6x2_mul_ck>;
56f126890aSEmmanuel Vadot		ti,bit-shift = <0x1f>;
57f126890aSEmmanuel Vadot		reg = <0x0d00>;
58f126890aSEmmanuel Vadot		ti,set-bit-to-disable;
59f126890aSEmmanuel Vadot	};
60f126890aSEmmanuel Vadot
61f126890aSEmmanuel Vadot	clock@1000 {
62f126890aSEmmanuel Vadot		compatible = "ti,clksel";
63f126890aSEmmanuel Vadot		reg = <0x1000>;
64f126890aSEmmanuel Vadot		#clock-cells = <2>;
65*01950c46SEmmanuel Vadot		#address-cells = <1>;
66*01950c46SEmmanuel Vadot		#size-cells = <0>;
67f126890aSEmmanuel Vadot
68*01950c46SEmmanuel Vadot		uart4_fck: clock-uart4-fck@18 {
69*01950c46SEmmanuel Vadot			reg = <18>;
70f126890aSEmmanuel Vadot			#clock-cells = <0>;
71f126890aSEmmanuel Vadot			compatible = "ti,wait-gate-clock";
72f126890aSEmmanuel Vadot			clock-output-names = "uart4_fck";
73f126890aSEmmanuel Vadot			clocks = <&per_48m_fck>;
74f126890aSEmmanuel Vadot		};
75f126890aSEmmanuel Vadot	};
76f126890aSEmmanuel Vadot};
77f126890aSEmmanuel Vadot
78f126890aSEmmanuel Vadot&dpll4_m2x2_mul_ck {
79f126890aSEmmanuel Vadot	clock-mult = <1>;
80f126890aSEmmanuel Vadot};
81f126890aSEmmanuel Vadot
82f126890aSEmmanuel Vadot&dpll4_m3x2_mul_ck {
83f126890aSEmmanuel Vadot	clock-mult = <1>;
84f126890aSEmmanuel Vadot};
85f126890aSEmmanuel Vadot
86f126890aSEmmanuel Vadot&dpll4_m4x2_mul_ck {
87f126890aSEmmanuel Vadot	ti,clock-mult = <1>;
88f126890aSEmmanuel Vadot};
89f126890aSEmmanuel Vadot
90f126890aSEmmanuel Vadot&dpll4_m5x2_mul_ck {
91f126890aSEmmanuel Vadot	ti,clock-mult = <1>;
92f126890aSEmmanuel Vadot};
93f126890aSEmmanuel Vadot
94f126890aSEmmanuel Vadot&dpll4_m6x2_mul_ck {
95f126890aSEmmanuel Vadot	clock-mult = <1>;
96f126890aSEmmanuel Vadot};
97f126890aSEmmanuel Vadot
98f126890aSEmmanuel Vadot&cm_clockdomains {
99f126890aSEmmanuel Vadot	dpll4_clkdm: dpll4_clkdm {
100f126890aSEmmanuel Vadot		compatible = "ti,clockdomain";
101f126890aSEmmanuel Vadot		clocks = <&dpll4_ck>;
102f126890aSEmmanuel Vadot	};
103f126890aSEmmanuel Vadot
104f126890aSEmmanuel Vadot	per_clkdm: per_clkdm {
105f126890aSEmmanuel Vadot		compatible = "ti,clockdomain";
106f126890aSEmmanuel Vadot		clocks = <&uart3_fck>, <&gpio6_dbck>, <&gpio5_dbck>,
107f126890aSEmmanuel Vadot			 <&gpio4_dbck>, <&gpio3_dbck>, <&gpio2_dbck>,
108f126890aSEmmanuel Vadot			 <&wdt3_fck>, <&gpio6_ick>, <&gpio5_ick>, <&gpio4_ick>,
109f126890aSEmmanuel Vadot			 <&gpio3_ick>, <&gpio2_ick>, <&wdt3_ick>, <&uart3_ick>,
110f126890aSEmmanuel Vadot			 <&uart4_ick>, <&gpt9_ick>, <&gpt8_ick>, <&gpt7_ick>,
111f126890aSEmmanuel Vadot			 <&gpt6_ick>, <&gpt5_ick>, <&gpt4_ick>, <&gpt3_ick>,
112f126890aSEmmanuel Vadot			 <&gpt2_ick>, <&mcbsp2_ick>, <&mcbsp3_ick>,
113f126890aSEmmanuel Vadot			 <&mcbsp4_ick>, <&uart4_fck>;
114f126890aSEmmanuel Vadot	};
115f126890aSEmmanuel Vadot};
116f126890aSEmmanuel Vadot
117f126890aSEmmanuel Vadot&dpll4_m4_ck {
118f126890aSEmmanuel Vadot	ti,max-div = <31>;
119f126890aSEmmanuel Vadot};
120