Tom Rini | 93743d2 | 2024-04-01 09:08:13 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/clock/st,stm32mp25-rcc.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: STM32MP25 Reset Clock Controller |
| 8 | |
| 9 | maintainers: |
| 10 | - Gabriel Fernandez <gabriel.fernandez@foss.st.com> |
| 11 | |
| 12 | description: | |
| 13 | The RCC hardware block is both a reset and a clock controller. |
| 14 | RCC makes also power management (resume/supend). |
| 15 | |
| 16 | See also:: |
| 17 | include/dt-bindings/clock/st,stm32mp25-rcc.h |
| 18 | include/dt-bindings/reset/st,stm32mp25-rcc.h |
| 19 | |
| 20 | properties: |
| 21 | compatible: |
| 22 | enum: |
| 23 | - st,stm32mp25-rcc |
| 24 | |
| 25 | reg: |
| 26 | maxItems: 1 |
| 27 | |
| 28 | '#clock-cells': |
| 29 | const: 1 |
| 30 | |
| 31 | '#reset-cells': |
| 32 | const: 1 |
| 33 | |
| 34 | clocks: |
| 35 | items: |
| 36 | - description: CK_SCMI_HSE High Speed External oscillator (8 to 48 MHz) |
| 37 | - description: CK_SCMI_HSI High Speed Internal oscillator (~ 64 MHz) |
| 38 | - description: CK_SCMI_MSI Low Power Internal oscillator (~ 4 MHz or ~ 16 MHz) |
| 39 | - description: CK_SCMI_LSE Low Speed External oscillator (32 KHz) |
| 40 | - description: CK_SCMI_LSI Low Speed Internal oscillator (~ 32 KHz) |
Tom Rini | 762f85b | 2024-07-20 11:15:10 -0600 | [diff] [blame^] | 41 | - description: CK_SCMI_HSE_DIV2 CK_SCMI_HSE divided by 2 (coud be gated) |
| 42 | - description: CK_SCMI_ICN_HS_MCU High Speed interconnect bus clock |
| 43 | - description: CK_SCMI_ICN_LS_MCU Low Speed interconnect bus clock |
| 44 | - description: CK_SCMI_ICN_SDMMC SDMMC interconnect bus clock |
| 45 | - description: CK_SCMI_ICN_DDR DDR interconnect bus clock |
| 46 | - description: CK_SCMI_ICN_DISPLAY Display interconnect bus clock |
| 47 | - description: CK_SCMI_ICN_HSL HSL interconnect bus clock |
| 48 | - description: CK_SCMI_ICN_NIC NIC interconnect bus clock |
| 49 | - description: CK_SCMI_ICN_VID Video interconnect bus clock |
| 50 | - description: CK_SCMI_FLEXGEN_07 flexgen clock 7 |
| 51 | - description: CK_SCMI_FLEXGEN_08 flexgen clock 8 |
| 52 | - description: CK_SCMI_FLEXGEN_09 flexgen clock 9 |
| 53 | - description: CK_SCMI_FLEXGEN_10 flexgen clock 10 |
| 54 | - description: CK_SCMI_FLEXGEN_11 flexgen clock 11 |
| 55 | - description: CK_SCMI_FLEXGEN_12 flexgen clock 12 |
| 56 | - description: CK_SCMI_FLEXGEN_13 flexgen clock 13 |
| 57 | - description: CK_SCMI_FLEXGEN_14 flexgen clock 14 |
| 58 | - description: CK_SCMI_FLEXGEN_15 flexgen clock 15 |
| 59 | - description: CK_SCMI_FLEXGEN_16 flexgen clock 16 |
| 60 | - description: CK_SCMI_FLEXGEN_17 flexgen clock 17 |
| 61 | - description: CK_SCMI_FLEXGEN_18 flexgen clock 18 |
| 62 | - description: CK_SCMI_FLEXGEN_19 flexgen clock 19 |
| 63 | - description: CK_SCMI_FLEXGEN_20 flexgen clock 20 |
| 64 | - description: CK_SCMI_FLEXGEN_21 flexgen clock 21 |
| 65 | - description: CK_SCMI_FLEXGEN_22 flexgen clock 22 |
| 66 | - description: CK_SCMI_FLEXGEN_23 flexgen clock 23 |
| 67 | - description: CK_SCMI_FLEXGEN_24 flexgen clock 24 |
| 68 | - description: CK_SCMI_FLEXGEN_25 flexgen clock 25 |
| 69 | - description: CK_SCMI_FLEXGEN_26 flexgen clock 26 |
| 70 | - description: CK_SCMI_FLEXGEN_27 flexgen clock 27 |
| 71 | - description: CK_SCMI_FLEXGEN_28 flexgen clock 28 |
| 72 | - description: CK_SCMI_FLEXGEN_29 flexgen clock 29 |
| 73 | - description: CK_SCMI_FLEXGEN_30 flexgen clock 30 |
| 74 | - description: CK_SCMI_FLEXGEN_31 flexgen clock 31 |
| 75 | - description: CK_SCMI_FLEXGEN_32 flexgen clock 32 |
| 76 | - description: CK_SCMI_FLEXGEN_33 flexgen clock 33 |
| 77 | - description: CK_SCMI_FLEXGEN_34 flexgen clock 34 |
| 78 | - description: CK_SCMI_FLEXGEN_35 flexgen clock 35 |
| 79 | - description: CK_SCMI_FLEXGEN_36 flexgen clock 36 |
| 80 | - description: CK_SCMI_FLEXGEN_37 flexgen clock 37 |
| 81 | - description: CK_SCMI_FLEXGEN_38 flexgen clock 38 |
| 82 | - description: CK_SCMI_FLEXGEN_39 flexgen clock 39 |
| 83 | - description: CK_SCMI_FLEXGEN_40 flexgen clock 40 |
| 84 | - description: CK_SCMI_FLEXGEN_41 flexgen clock 41 |
| 85 | - description: CK_SCMI_FLEXGEN_42 flexgen clock 42 |
| 86 | - description: CK_SCMI_FLEXGEN_43 flexgen clock 43 |
| 87 | - description: CK_SCMI_FLEXGEN_44 flexgen clock 44 |
| 88 | - description: CK_SCMI_FLEXGEN_45 flexgen clock 45 |
| 89 | - description: CK_SCMI_FLEXGEN_46 flexgen clock 46 |
| 90 | - description: CK_SCMI_FLEXGEN_47 flexgen clock 47 |
| 91 | - description: CK_SCMI_FLEXGEN_48 flexgen clock 48 |
| 92 | - description: CK_SCMI_FLEXGEN_49 flexgen clock 49 |
| 93 | - description: CK_SCMI_FLEXGEN_50 flexgen clock 50 |
| 94 | - description: CK_SCMI_FLEXGEN_51 flexgen clock 51 |
| 95 | - description: CK_SCMI_FLEXGEN_52 flexgen clock 52 |
| 96 | - description: CK_SCMI_FLEXGEN_53 flexgen clock 53 |
| 97 | - description: CK_SCMI_FLEXGEN_54 flexgen clock 54 |
| 98 | - description: CK_SCMI_FLEXGEN_55 flexgen clock 55 |
| 99 | - description: CK_SCMI_FLEXGEN_56 flexgen clock 56 |
| 100 | - description: CK_SCMI_FLEXGEN_57 flexgen clock 57 |
| 101 | - description: CK_SCMI_FLEXGEN_58 flexgen clock 58 |
| 102 | - description: CK_SCMI_FLEXGEN_59 flexgen clock 59 |
| 103 | - description: CK_SCMI_FLEXGEN_60 flexgen clock 60 |
| 104 | - description: CK_SCMI_FLEXGEN_61 flexgen clock 61 |
| 105 | - description: CK_SCMI_FLEXGEN_62 flexgen clock 62 |
| 106 | - description: CK_SCMI_FLEXGEN_63 flexgen clock 63 |
| 107 | - description: CK_SCMI_ICN_APB1 Peripheral bridge 1 |
| 108 | - description: CK_SCMI_ICN_APB2 Peripheral bridge 2 |
| 109 | - description: CK_SCMI_ICN_APB3 Peripheral bridge 3 |
| 110 | - description: CK_SCMI_ICN_APB4 Peripheral bridge 4 |
| 111 | - description: CK_SCMI_ICN_APBDBG Peripheral bridge for degub |
| 112 | - description: CK_SCMI_TIMG1 Peripheral bridge for timer1 |
| 113 | - description: CK_SCMI_TIMG2 Peripheral bridge for timer2 |
| 114 | - description: CK_SCMI_PLL3 PLL3 clock |
| 115 | - description: clk_dsi_txbyte DSI byte clock |
Tom Rini | 93743d2 | 2024-04-01 09:08:13 -0400 | [diff] [blame] | 116 | |
Tom Rini | 762f85b | 2024-07-20 11:15:10 -0600 | [diff] [blame^] | 117 | access-controllers: |
| 118 | minItems: 1 |
| 119 | maxItems: 2 |
Tom Rini | 93743d2 | 2024-04-01 09:08:13 -0400 | [diff] [blame] | 120 | |
| 121 | required: |
| 122 | - compatible |
| 123 | - reg |
| 124 | - '#clock-cells' |
| 125 | - '#reset-cells' |
| 126 | - clocks |
Tom Rini | 93743d2 | 2024-04-01 09:08:13 -0400 | [diff] [blame] | 127 | |
| 128 | additionalProperties: false |
| 129 | |
| 130 | examples: |
| 131 | - | |
| 132 | #include <dt-bindings/clock/st,stm32mp25-rcc.h> |
| 133 | |
| 134 | rcc: clock-controller@44200000 { |
| 135 | compatible = "st,stm32mp25-rcc"; |
| 136 | reg = <0x44200000 0x10000>; |
| 137 | #clock-cells = <1>; |
| 138 | #reset-cells = <1>; |
Tom Rini | 762f85b | 2024-07-20 11:15:10 -0600 | [diff] [blame^] | 139 | clocks = <&scmi_clk CK_SCMI_HSE>, |
| 140 | <&scmi_clk CK_SCMI_HSI>, |
| 141 | <&scmi_clk CK_SCMI_MSI>, |
| 142 | <&scmi_clk CK_SCMI_LSE>, |
| 143 | <&scmi_clk CK_SCMI_LSI>, |
| 144 | <&scmi_clk CK_SCMI_HSE_DIV2>, |
| 145 | <&scmi_clk CK_SCMI_ICN_HS_MCU>, |
| 146 | <&scmi_clk CK_SCMI_ICN_LS_MCU>, |
| 147 | <&scmi_clk CK_SCMI_ICN_SDMMC>, |
| 148 | <&scmi_clk CK_SCMI_ICN_DDR>, |
| 149 | <&scmi_clk CK_SCMI_ICN_DISPLAY>, |
| 150 | <&scmi_clk CK_SCMI_ICN_HSL>, |
| 151 | <&scmi_clk CK_SCMI_ICN_NIC>, |
| 152 | <&scmi_clk CK_SCMI_ICN_VID>, |
| 153 | <&scmi_clk CK_SCMI_FLEXGEN_07>, |
| 154 | <&scmi_clk CK_SCMI_FLEXGEN_08>, |
| 155 | <&scmi_clk CK_SCMI_FLEXGEN_09>, |
| 156 | <&scmi_clk CK_SCMI_FLEXGEN_10>, |
| 157 | <&scmi_clk CK_SCMI_FLEXGEN_11>, |
| 158 | <&scmi_clk CK_SCMI_FLEXGEN_12>, |
| 159 | <&scmi_clk CK_SCMI_FLEXGEN_13>, |
| 160 | <&scmi_clk CK_SCMI_FLEXGEN_14>, |
| 161 | <&scmi_clk CK_SCMI_FLEXGEN_15>, |
| 162 | <&scmi_clk CK_SCMI_FLEXGEN_16>, |
| 163 | <&scmi_clk CK_SCMI_FLEXGEN_17>, |
| 164 | <&scmi_clk CK_SCMI_FLEXGEN_18>, |
| 165 | <&scmi_clk CK_SCMI_FLEXGEN_19>, |
| 166 | <&scmi_clk CK_SCMI_FLEXGEN_20>, |
| 167 | <&scmi_clk CK_SCMI_FLEXGEN_21>, |
| 168 | <&scmi_clk CK_SCMI_FLEXGEN_22>, |
| 169 | <&scmi_clk CK_SCMI_FLEXGEN_23>, |
| 170 | <&scmi_clk CK_SCMI_FLEXGEN_24>, |
| 171 | <&scmi_clk CK_SCMI_FLEXGEN_25>, |
| 172 | <&scmi_clk CK_SCMI_FLEXGEN_26>, |
| 173 | <&scmi_clk CK_SCMI_FLEXGEN_27>, |
| 174 | <&scmi_clk CK_SCMI_FLEXGEN_28>, |
| 175 | <&scmi_clk CK_SCMI_FLEXGEN_29>, |
| 176 | <&scmi_clk CK_SCMI_FLEXGEN_30>, |
| 177 | <&scmi_clk CK_SCMI_FLEXGEN_31>, |
| 178 | <&scmi_clk CK_SCMI_FLEXGEN_32>, |
| 179 | <&scmi_clk CK_SCMI_FLEXGEN_33>, |
| 180 | <&scmi_clk CK_SCMI_FLEXGEN_34>, |
| 181 | <&scmi_clk CK_SCMI_FLEXGEN_35>, |
| 182 | <&scmi_clk CK_SCMI_FLEXGEN_36>, |
| 183 | <&scmi_clk CK_SCMI_FLEXGEN_37>, |
| 184 | <&scmi_clk CK_SCMI_FLEXGEN_38>, |
| 185 | <&scmi_clk CK_SCMI_FLEXGEN_39>, |
| 186 | <&scmi_clk CK_SCMI_FLEXGEN_40>, |
| 187 | <&scmi_clk CK_SCMI_FLEXGEN_41>, |
| 188 | <&scmi_clk CK_SCMI_FLEXGEN_42>, |
| 189 | <&scmi_clk CK_SCMI_FLEXGEN_43>, |
| 190 | <&scmi_clk CK_SCMI_FLEXGEN_44>, |
| 191 | <&scmi_clk CK_SCMI_FLEXGEN_45>, |
| 192 | <&scmi_clk CK_SCMI_FLEXGEN_46>, |
| 193 | <&scmi_clk CK_SCMI_FLEXGEN_47>, |
| 194 | <&scmi_clk CK_SCMI_FLEXGEN_48>, |
| 195 | <&scmi_clk CK_SCMI_FLEXGEN_49>, |
| 196 | <&scmi_clk CK_SCMI_FLEXGEN_50>, |
| 197 | <&scmi_clk CK_SCMI_FLEXGEN_51>, |
| 198 | <&scmi_clk CK_SCMI_FLEXGEN_52>, |
| 199 | <&scmi_clk CK_SCMI_FLEXGEN_53>, |
| 200 | <&scmi_clk CK_SCMI_FLEXGEN_54>, |
| 201 | <&scmi_clk CK_SCMI_FLEXGEN_55>, |
| 202 | <&scmi_clk CK_SCMI_FLEXGEN_56>, |
| 203 | <&scmi_clk CK_SCMI_FLEXGEN_57>, |
| 204 | <&scmi_clk CK_SCMI_FLEXGEN_58>, |
| 205 | <&scmi_clk CK_SCMI_FLEXGEN_59>, |
| 206 | <&scmi_clk CK_SCMI_FLEXGEN_60>, |
| 207 | <&scmi_clk CK_SCMI_FLEXGEN_61>, |
| 208 | <&scmi_clk CK_SCMI_FLEXGEN_62>, |
| 209 | <&scmi_clk CK_SCMI_FLEXGEN_63>, |
| 210 | <&scmi_clk CK_SCMI_ICN_APB1>, |
| 211 | <&scmi_clk CK_SCMI_ICN_APB2>, |
| 212 | <&scmi_clk CK_SCMI_ICN_APB3>, |
| 213 | <&scmi_clk CK_SCMI_ICN_APB4>, |
| 214 | <&scmi_clk CK_SCMI_ICN_APBDBG>, |
| 215 | <&scmi_clk CK_SCMI_TIMG1>, |
| 216 | <&scmi_clk CK_SCMI_TIMG2>, |
| 217 | <&scmi_clk CK_SCMI_PLL3>, |
| 218 | <&clk_dsi_txbyte>; |
Tom Rini | 93743d2 | 2024-04-01 09:08:13 -0400 | [diff] [blame] | 219 | }; |
| 220 | ... |