Andrew Davis | 855bb44 | 2023-04-11 13:24:59 -0500 | [diff] [blame^] | 1 | // SPDX-License-Identifier: GPL-2.0-only |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 2 | /* |
| 3 | * Device Tree Source for OMAP36xx/AM35xx/OMAP34xx clock data |
| 4 | * |
| 5 | * Copyright (C) 2013 Texas Instruments, Inc. |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 6 | */ |
| 7 | &prm_clocks { |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 8 | corex2_d3_fck: corex2_d3_fck { |
| 9 | #clock-cells = <0>; |
| 10 | compatible = "fixed-factor-clock"; |
| 11 | clocks = <&corex2_fck>; |
| 12 | clock-mult = <1>; |
| 13 | clock-div = <3>; |
| 14 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 15 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 16 | corex2_d5_fck: corex2_d5_fck { |
| 17 | #clock-cells = <0>; |
| 18 | compatible = "fixed-factor-clock"; |
| 19 | clocks = <&corex2_fck>; |
| 20 | clock-mult = <1>; |
| 21 | clock-div = <5>; |
| 22 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 23 | }; |
| 24 | &cm_clocks { |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 25 | dpll5_ck: dpll5_ck@d04 { |
| 26 | #clock-cells = <0>; |
| 27 | compatible = "ti,omap3-dpll-clock"; |
| 28 | clocks = <&sys_ck>, <&sys_ck>; |
| 29 | reg = <0x0d04>, <0x0d24>, <0x0d4c>, <0x0d34>; |
| 30 | ti,low-power-stop; |
| 31 | ti,lock; |
| 32 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 33 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 34 | dpll5_m2_ck: dpll5_m2_ck@d50 { |
| 35 | #clock-cells = <0>; |
| 36 | compatible = "ti,divider-clock"; |
| 37 | clocks = <&dpll5_ck>; |
| 38 | ti,max-div = <31>; |
| 39 | reg = <0x0d50>; |
| 40 | ti,index-starts-at-one; |
| 41 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 42 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 43 | sgx_gate_fck: sgx_gate_fck@b00 { |
| 44 | #clock-cells = <0>; |
| 45 | compatible = "ti,composite-gate-clock"; |
| 46 | clocks = <&core_ck>; |
| 47 | ti,bit-shift = <1>; |
| 48 | reg = <0x0b00>; |
| 49 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 50 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 51 | core_d3_ck: core_d3_ck { |
| 52 | #clock-cells = <0>; |
| 53 | compatible = "fixed-factor-clock"; |
| 54 | clocks = <&core_ck>; |
| 55 | clock-mult = <1>; |
| 56 | clock-div = <3>; |
| 57 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 58 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 59 | core_d4_ck: core_d4_ck { |
| 60 | #clock-cells = <0>; |
| 61 | compatible = "fixed-factor-clock"; |
| 62 | clocks = <&core_ck>; |
| 63 | clock-mult = <1>; |
| 64 | clock-div = <4>; |
| 65 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 66 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 67 | core_d6_ck: core_d6_ck { |
| 68 | #clock-cells = <0>; |
| 69 | compatible = "fixed-factor-clock"; |
| 70 | clocks = <&core_ck>; |
| 71 | clock-mult = <1>; |
| 72 | clock-div = <6>; |
| 73 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 74 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 75 | omap_192m_alwon_fck: omap_192m_alwon_fck { |
| 76 | #clock-cells = <0>; |
| 77 | compatible = "fixed-factor-clock"; |
| 78 | clocks = <&dpll4_m2x2_ck>; |
| 79 | clock-mult = <1>; |
| 80 | clock-div = <1>; |
| 81 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 82 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 83 | core_d2_ck: core_d2_ck { |
| 84 | #clock-cells = <0>; |
| 85 | compatible = "fixed-factor-clock"; |
| 86 | clocks = <&core_ck>; |
| 87 | clock-mult = <1>; |
| 88 | clock-div = <2>; |
| 89 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 90 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 91 | sgx_mux_fck: sgx_mux_fck@b40 { |
| 92 | #clock-cells = <0>; |
| 93 | compatible = "ti,composite-mux-clock"; |
| 94 | clocks = <&core_d3_ck>, <&core_d4_ck>, <&core_d6_ck>, <&cm_96m_fck>, <&omap_192m_alwon_fck>, <&core_d2_ck>, <&corex2_d3_fck>, <&corex2_d5_fck>; |
| 95 | reg = <0x0b40>; |
| 96 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 97 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 98 | sgx_fck: sgx_fck { |
| 99 | #clock-cells = <0>; |
| 100 | compatible = "ti,composite-clock"; |
| 101 | clocks = <&sgx_gate_fck>, <&sgx_mux_fck>; |
| 102 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 103 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 104 | sgx_ick: sgx_ick@b10 { |
| 105 | #clock-cells = <0>; |
| 106 | compatible = "ti,wait-gate-clock"; |
| 107 | clocks = <&l3_ick>; |
| 108 | reg = <0x0b10>; |
| 109 | ti,bit-shift = <0>; |
| 110 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 111 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 112 | cpefuse_fck: cpefuse_fck@a08 { |
| 113 | #clock-cells = <0>; |
| 114 | compatible = "ti,gate-clock"; |
| 115 | clocks = <&sys_ck>; |
| 116 | reg = <0x0a08>; |
| 117 | ti,bit-shift = <0>; |
| 118 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 119 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 120 | ts_fck: ts_fck@a08 { |
| 121 | #clock-cells = <0>; |
| 122 | compatible = "ti,gate-clock"; |
| 123 | clocks = <&omap_32k_fck>; |
| 124 | reg = <0x0a08>; |
| 125 | ti,bit-shift = <1>; |
| 126 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 127 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 128 | usbtll_fck: usbtll_fck@a08 { |
| 129 | #clock-cells = <0>; |
| 130 | compatible = "ti,wait-gate-clock"; |
| 131 | clocks = <&dpll5_m2_ck>; |
| 132 | reg = <0x0a08>; |
| 133 | ti,bit-shift = <2>; |
| 134 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 135 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 136 | usbtll_ick: usbtll_ick@a18 { |
| 137 | #clock-cells = <0>; |
| 138 | compatible = "ti,omap3-interface-clock"; |
| 139 | clocks = <&core_l4_ick>; |
| 140 | reg = <0x0a18>; |
| 141 | ti,bit-shift = <2>; |
| 142 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 143 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 144 | mmchs3_ick: mmchs3_ick@a10 { |
| 145 | #clock-cells = <0>; |
| 146 | compatible = "ti,omap3-interface-clock"; |
| 147 | clocks = <&core_l4_ick>; |
| 148 | reg = <0x0a10>; |
| 149 | ti,bit-shift = <30>; |
| 150 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 151 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 152 | mmchs3_fck: mmchs3_fck@a00 { |
| 153 | #clock-cells = <0>; |
| 154 | compatible = "ti,wait-gate-clock"; |
| 155 | clocks = <&core_96m_fck>; |
| 156 | reg = <0x0a00>; |
| 157 | ti,bit-shift = <30>; |
| 158 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 159 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 160 | dss1_alwon_fck: dss1_alwon_fck_3430es2@e00 { |
| 161 | #clock-cells = <0>; |
| 162 | compatible = "ti,dss-gate-clock"; |
| 163 | clocks = <&dpll4_m4x2_ck>; |
| 164 | ti,bit-shift = <0>; |
| 165 | reg = <0x0e00>; |
| 166 | ti,set-rate-parent; |
| 167 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 168 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 169 | dss_ick: dss_ick_3430es2@e10 { |
| 170 | #clock-cells = <0>; |
| 171 | compatible = "ti,omap3-dss-interface-clock"; |
| 172 | clocks = <&l4_ick>; |
| 173 | reg = <0x0e10>; |
| 174 | ti,bit-shift = <0>; |
| 175 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 176 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 177 | usbhost_120m_fck: usbhost_120m_fck@1400 { |
| 178 | #clock-cells = <0>; |
| 179 | compatible = "ti,gate-clock"; |
| 180 | clocks = <&dpll5_m2_ck>; |
| 181 | reg = <0x1400>; |
| 182 | ti,bit-shift = <1>; |
| 183 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 184 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 185 | usbhost_48m_fck: usbhost_48m_fck@1400 { |
| 186 | #clock-cells = <0>; |
| 187 | compatible = "ti,dss-gate-clock"; |
| 188 | clocks = <&omap_48m_fck>; |
| 189 | reg = <0x1400>; |
| 190 | ti,bit-shift = <0>; |
| 191 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 192 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 193 | usbhost_ick: usbhost_ick@1410 { |
| 194 | #clock-cells = <0>; |
| 195 | compatible = "ti,omap3-dss-interface-clock"; |
| 196 | clocks = <&l4_ick>; |
| 197 | reg = <0x1410>; |
| 198 | ti,bit-shift = <0>; |
| 199 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 200 | }; |
| 201 | |
| 202 | &cm_clockdomains { |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 203 | dpll5_clkdm: dpll5_clkdm { |
| 204 | compatible = "ti,clockdomain"; |
| 205 | clocks = <&dpll5_ck>; |
| 206 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 207 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 208 | sgx_clkdm: sgx_clkdm { |
| 209 | compatible = "ti,clockdomain"; |
| 210 | clocks = <&sgx_ick>; |
| 211 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 212 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 213 | dss_clkdm: dss_clkdm { |
| 214 | compatible = "ti,clockdomain"; |
| 215 | clocks = <&dss_tv_fck>, <&dss_96m_fck>, <&dss2_alwon_fck>, |
| 216 | <&dss1_alwon_fck>, <&dss_ick>; |
| 217 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 218 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 219 | core_l4_clkdm: core_l4_clkdm { |
| 220 | compatible = "ti,clockdomain"; |
| 221 | clocks = <&mmchs2_fck>, <&mmchs1_fck>, <&i2c3_fck>, <&i2c2_fck>, |
| 222 | <&i2c1_fck>, <&mcspi4_fck>, <&mcspi3_fck>, |
| 223 | <&mcspi2_fck>, <&mcspi1_fck>, <&uart2_fck>, |
| 224 | <&uart1_fck>, <&hdq_fck>, <&mmchs2_ick>, <&mmchs1_ick>, |
| 225 | <&hdq_ick>, <&mcspi4_ick>, <&mcspi3_ick>, |
| 226 | <&mcspi2_ick>, <&mcspi1_ick>, <&i2c3_ick>, <&i2c2_ick>, |
| 227 | <&i2c1_ick>, <&uart2_ick>, <&uart1_ick>, <&gpt11_ick>, |
| 228 | <&gpt10_ick>, <&mcbsp5_ick>, <&mcbsp1_ick>, |
| 229 | <&omapctrl_ick>, <&aes2_ick>, <&sha12_ick>, |
| 230 | <&cpefuse_fck>, <&ts_fck>, <&usbtll_fck>, |
| 231 | <&usbtll_ick>, <&mmchs3_ick>, <&mmchs3_fck>; |
| 232 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 233 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 234 | usbhost_clkdm: usbhost_clkdm { |
| 235 | compatible = "ti,clockdomain"; |
| 236 | clocks = <&usbhost_120m_fck>, <&usbhost_48m_fck>, |
| 237 | <&usbhost_ick>; |
| 238 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 239 | }; |