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 OMAP34xx/OMAP36xx clock data |
| 4 | * |
| 5 | * Copyright (C) 2013 Texas Instruments, Inc. |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 6 | */ |
| 7 | &cm_clocks { |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 8 | ssi_ssr_gate_fck_3430es2: ssi_ssr_gate_fck_3430es2@a00 { |
| 9 | #clock-cells = <0>; |
| 10 | compatible = "ti,composite-no-wait-gate-clock"; |
| 11 | clocks = <&corex2_fck>; |
| 12 | ti,bit-shift = <0>; |
| 13 | reg = <0x0a00>; |
| 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 | ssi_ssr_div_fck_3430es2: ssi_ssr_div_fck_3430es2@a40 { |
| 17 | #clock-cells = <0>; |
| 18 | compatible = "ti,composite-divider-clock"; |
| 19 | clocks = <&corex2_fck>; |
| 20 | ti,bit-shift = <8>; |
| 21 | reg = <0x0a40>; |
| 22 | ti,dividers = <0>, <1>, <2>, <3>, <4>, <0>, <6>, <0>, <8>; |
| 23 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 24 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 25 | ssi_ssr_fck: ssi_ssr_fck_3430es2 { |
| 26 | #clock-cells = <0>; |
| 27 | compatible = "ti,composite-clock"; |
| 28 | clocks = <&ssi_ssr_gate_fck_3430es2>, <&ssi_ssr_div_fck_3430es2>; |
| 29 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 30 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 31 | ssi_sst_fck: ssi_sst_fck_3430es2 { |
| 32 | #clock-cells = <0>; |
| 33 | compatible = "fixed-factor-clock"; |
| 34 | clocks = <&ssi_ssr_fck>; |
| 35 | clock-mult = <1>; |
| 36 | clock-div = <2>; |
| 37 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 38 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 39 | hsotgusb_ick_3430es2: hsotgusb_ick_3430es2@a10 { |
| 40 | #clock-cells = <0>; |
| 41 | compatible = "ti,omap3-hsotgusb-interface-clock"; |
| 42 | clocks = <&core_l3_ick>; |
| 43 | reg = <0x0a10>; |
| 44 | ti,bit-shift = <4>; |
| 45 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 46 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 47 | ssi_l4_ick: ssi_l4_ick { |
| 48 | #clock-cells = <0>; |
| 49 | compatible = "fixed-factor-clock"; |
| 50 | clocks = <&l4_ick>; |
| 51 | clock-mult = <1>; |
| 52 | clock-div = <1>; |
| 53 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 54 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 55 | ssi_ick: ssi_ick_3430es2@a10 { |
| 56 | #clock-cells = <0>; |
| 57 | compatible = "ti,omap3-ssi-interface-clock"; |
| 58 | clocks = <&ssi_l4_ick>; |
| 59 | reg = <0x0a10>; |
| 60 | ti,bit-shift = <0>; |
| 61 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 62 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 63 | usim_gate_fck: usim_gate_fck@c00 { |
| 64 | #clock-cells = <0>; |
| 65 | compatible = "ti,composite-gate-clock"; |
| 66 | clocks = <&omap_96m_fck>; |
| 67 | ti,bit-shift = <9>; |
| 68 | reg = <0x0c00>; |
| 69 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 70 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 71 | sys_d2_ck: sys_d2_ck { |
| 72 | #clock-cells = <0>; |
| 73 | compatible = "fixed-factor-clock"; |
| 74 | clocks = <&sys_ck>; |
| 75 | clock-mult = <1>; |
| 76 | clock-div = <2>; |
| 77 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 78 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 79 | omap_96m_d2_fck: omap_96m_d2_fck { |
| 80 | #clock-cells = <0>; |
| 81 | compatible = "fixed-factor-clock"; |
| 82 | clocks = <&omap_96m_fck>; |
| 83 | clock-mult = <1>; |
| 84 | clock-div = <2>; |
| 85 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 86 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 87 | omap_96m_d4_fck: omap_96m_d4_fck { |
| 88 | #clock-cells = <0>; |
| 89 | compatible = "fixed-factor-clock"; |
| 90 | clocks = <&omap_96m_fck>; |
| 91 | clock-mult = <1>; |
| 92 | clock-div = <4>; |
| 93 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 94 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 95 | omap_96m_d8_fck: omap_96m_d8_fck { |
| 96 | #clock-cells = <0>; |
| 97 | compatible = "fixed-factor-clock"; |
| 98 | clocks = <&omap_96m_fck>; |
| 99 | clock-mult = <1>; |
| 100 | clock-div = <8>; |
| 101 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 102 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 103 | omap_96m_d10_fck: omap_96m_d10_fck { |
| 104 | #clock-cells = <0>; |
| 105 | compatible = "fixed-factor-clock"; |
| 106 | clocks = <&omap_96m_fck>; |
| 107 | clock-mult = <1>; |
| 108 | clock-div = <10>; |
| 109 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 110 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 111 | dpll5_m2_d4_ck: dpll5_m2_d4_ck { |
| 112 | #clock-cells = <0>; |
| 113 | compatible = "fixed-factor-clock"; |
| 114 | clocks = <&dpll5_m2_ck>; |
| 115 | clock-mult = <1>; |
| 116 | clock-div = <4>; |
| 117 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 118 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 119 | dpll5_m2_d8_ck: dpll5_m2_d8_ck { |
| 120 | #clock-cells = <0>; |
| 121 | compatible = "fixed-factor-clock"; |
| 122 | clocks = <&dpll5_m2_ck>; |
| 123 | clock-mult = <1>; |
| 124 | clock-div = <8>; |
| 125 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 126 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 127 | dpll5_m2_d16_ck: dpll5_m2_d16_ck { |
| 128 | #clock-cells = <0>; |
| 129 | compatible = "fixed-factor-clock"; |
| 130 | clocks = <&dpll5_m2_ck>; |
| 131 | clock-mult = <1>; |
| 132 | clock-div = <16>; |
| 133 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 134 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 135 | dpll5_m2_d20_ck: dpll5_m2_d20_ck { |
| 136 | #clock-cells = <0>; |
| 137 | compatible = "fixed-factor-clock"; |
| 138 | clocks = <&dpll5_m2_ck>; |
| 139 | clock-mult = <1>; |
| 140 | clock-div = <20>; |
| 141 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 142 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 143 | usim_mux_fck: usim_mux_fck@c40 { |
| 144 | #clock-cells = <0>; |
| 145 | compatible = "ti,composite-mux-clock"; |
| 146 | clocks = <&sys_ck>, <&sys_d2_ck>, <&omap_96m_d2_fck>, <&omap_96m_d4_fck>, <&omap_96m_d8_fck>, <&omap_96m_d10_fck>, <&dpll5_m2_d4_ck>, <&dpll5_m2_d8_ck>, <&dpll5_m2_d16_ck>, <&dpll5_m2_d20_ck>; |
| 147 | ti,bit-shift = <3>; |
| 148 | reg = <0x0c40>; |
| 149 | ti,index-starts-at-one; |
| 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 | usim_fck: usim_fck { |
| 153 | #clock-cells = <0>; |
| 154 | compatible = "ti,composite-clock"; |
| 155 | clocks = <&usim_gate_fck>, <&usim_mux_fck>; |
| 156 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 157 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 158 | usim_ick: usim_ick@c10 { |
| 159 | #clock-cells = <0>; |
| 160 | compatible = "ti,omap3-interface-clock"; |
| 161 | clocks = <&wkup_l4_ick>; |
| 162 | reg = <0x0c10>; |
| 163 | ti,bit-shift = <9>; |
| 164 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 165 | }; |
| 166 | |
| 167 | &cm_clockdomains { |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 168 | core_l3_clkdm: core_l3_clkdm { |
| 169 | compatible = "ti,clockdomain"; |
| 170 | clocks = <&sdrc_ick>, <&hsotgusb_ick_3430es2>; |
| 171 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 172 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 173 | wkup_clkdm: wkup_clkdm { |
| 174 | compatible = "ti,clockdomain"; |
| 175 | clocks = <&gpio1_dbck>, <&wdt2_fck>, <&wdt2_ick>, <&wdt1_ick>, |
| 176 | <&gpio1_ick>, <&omap_32ksync_ick>, <&gpt12_ick>, |
| 177 | <&gpt1_ick>, <&usim_ick>; |
| 178 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 179 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 180 | core_l4_clkdm: core_l4_clkdm { |
| 181 | compatible = "ti,clockdomain"; |
| 182 | clocks = <&cpefuse_fck>, <&ts_fck>, <&usbtll_fck>, |
| 183 | <&usbtll_ick>, <&mmchs3_ick>, <&mmchs3_fck>, |
| 184 | <&mmchs2_fck>, <&mmchs1_fck>, <&i2c3_fck>, <&i2c2_fck>, |
| 185 | <&i2c1_fck>, <&mcspi4_fck>, <&mcspi3_fck>, |
| 186 | <&mcspi2_fck>, <&mcspi1_fck>, <&uart2_fck>, |
| 187 | <&uart1_fck>, <&hdq_fck>, <&mmchs2_ick>, <&mmchs1_ick>, |
| 188 | <&hdq_ick>, <&mcspi4_ick>, <&mcspi3_ick>, |
| 189 | <&mcspi2_ick>, <&mcspi1_ick>, <&i2c3_ick>, <&i2c2_ick>, |
| 190 | <&i2c1_ick>, <&uart2_ick>, <&uart1_ick>, <&gpt11_ick>, |
| 191 | <&gpt10_ick>, <&mcbsp5_ick>, <&mcbsp1_ick>, |
| 192 | <&omapctrl_ick>, <&aes2_ick>, <&sha12_ick>, |
| 193 | <&ssi_ick>; |
| 194 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 195 | }; |