18d13bc63SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 28d13bc63SEmmanuel Vadot%YAML 1.2 38d13bc63SEmmanuel Vadot--- 48d13bc63SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/st,stm32mp25-rcc.yaml# 58d13bc63SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 68d13bc63SEmmanuel Vadot 78d13bc63SEmmanuel Vadottitle: STM32MP25 Reset Clock Controller 88d13bc63SEmmanuel Vadot 98d13bc63SEmmanuel Vadotmaintainers: 108d13bc63SEmmanuel Vadot - Gabriel Fernandez <gabriel.fernandez@foss.st.com> 118d13bc63SEmmanuel Vadot 128d13bc63SEmmanuel Vadotdescription: | 138d13bc63SEmmanuel Vadot The RCC hardware block is both a reset and a clock controller. 148d13bc63SEmmanuel Vadot RCC makes also power management (resume/supend). 158d13bc63SEmmanuel Vadot 168d13bc63SEmmanuel Vadot See also:: 178d13bc63SEmmanuel Vadot include/dt-bindings/clock/st,stm32mp25-rcc.h 188d13bc63SEmmanuel Vadot include/dt-bindings/reset/st,stm32mp25-rcc.h 198d13bc63SEmmanuel Vadot 208d13bc63SEmmanuel Vadotproperties: 218d13bc63SEmmanuel Vadot compatible: 228d13bc63SEmmanuel Vadot enum: 238d13bc63SEmmanuel Vadot - st,stm32mp25-rcc 248d13bc63SEmmanuel Vadot 258d13bc63SEmmanuel Vadot reg: 268d13bc63SEmmanuel Vadot maxItems: 1 278d13bc63SEmmanuel Vadot 288d13bc63SEmmanuel Vadot '#clock-cells': 298d13bc63SEmmanuel Vadot const: 1 308d13bc63SEmmanuel Vadot 318d13bc63SEmmanuel Vadot '#reset-cells': 328d13bc63SEmmanuel Vadot const: 1 338d13bc63SEmmanuel Vadot 348d13bc63SEmmanuel Vadot clocks: 358d13bc63SEmmanuel Vadot items: 368d13bc63SEmmanuel Vadot - description: CK_SCMI_HSE High Speed External oscillator (8 to 48 MHz) 378d13bc63SEmmanuel Vadot - description: CK_SCMI_HSI High Speed Internal oscillator (~ 64 MHz) 388d13bc63SEmmanuel Vadot - description: CK_SCMI_MSI Low Power Internal oscillator (~ 4 MHz or ~ 16 MHz) 398d13bc63SEmmanuel Vadot - description: CK_SCMI_LSE Low Speed External oscillator (32 KHz) 408d13bc63SEmmanuel Vadot - description: CK_SCMI_LSI Low Speed Internal oscillator (~ 32 KHz) 41*7d0873ebSEmmanuel Vadot - description: CK_SCMI_HSE_DIV2 CK_SCMI_HSE divided by 2 (coud be gated) 42*7d0873ebSEmmanuel Vadot - description: CK_SCMI_ICN_HS_MCU High Speed interconnect bus clock 43*7d0873ebSEmmanuel Vadot - description: CK_SCMI_ICN_LS_MCU Low Speed interconnect bus clock 44*7d0873ebSEmmanuel Vadot - description: CK_SCMI_ICN_SDMMC SDMMC interconnect bus clock 45*7d0873ebSEmmanuel Vadot - description: CK_SCMI_ICN_DDR DDR interconnect bus clock 46*7d0873ebSEmmanuel Vadot - description: CK_SCMI_ICN_DISPLAY Display interconnect bus clock 47*7d0873ebSEmmanuel Vadot - description: CK_SCMI_ICN_HSL HSL interconnect bus clock 48*7d0873ebSEmmanuel Vadot - description: CK_SCMI_ICN_NIC NIC interconnect bus clock 49*7d0873ebSEmmanuel Vadot - description: CK_SCMI_ICN_VID Video interconnect bus clock 50*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_07 flexgen clock 7 51*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_08 flexgen clock 8 52*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_09 flexgen clock 9 53*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_10 flexgen clock 10 54*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_11 flexgen clock 11 55*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_12 flexgen clock 12 56*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_13 flexgen clock 13 57*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_14 flexgen clock 14 58*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_15 flexgen clock 15 59*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_16 flexgen clock 16 60*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_17 flexgen clock 17 61*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_18 flexgen clock 18 62*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_19 flexgen clock 19 63*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_20 flexgen clock 20 64*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_21 flexgen clock 21 65*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_22 flexgen clock 22 66*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_23 flexgen clock 23 67*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_24 flexgen clock 24 68*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_25 flexgen clock 25 69*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_26 flexgen clock 26 70*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_27 flexgen clock 27 71*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_28 flexgen clock 28 72*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_29 flexgen clock 29 73*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_30 flexgen clock 30 74*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_31 flexgen clock 31 75*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_32 flexgen clock 32 76*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_33 flexgen clock 33 77*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_34 flexgen clock 34 78*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_35 flexgen clock 35 79*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_36 flexgen clock 36 80*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_37 flexgen clock 37 81*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_38 flexgen clock 38 82*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_39 flexgen clock 39 83*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_40 flexgen clock 40 84*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_41 flexgen clock 41 85*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_42 flexgen clock 42 86*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_43 flexgen clock 43 87*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_44 flexgen clock 44 88*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_45 flexgen clock 45 89*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_46 flexgen clock 46 90*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_47 flexgen clock 47 91*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_48 flexgen clock 48 92*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_49 flexgen clock 49 93*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_50 flexgen clock 50 94*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_51 flexgen clock 51 95*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_52 flexgen clock 52 96*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_53 flexgen clock 53 97*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_54 flexgen clock 54 98*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_55 flexgen clock 55 99*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_56 flexgen clock 56 100*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_57 flexgen clock 57 101*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_58 flexgen clock 58 102*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_59 flexgen clock 59 103*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_60 flexgen clock 60 104*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_61 flexgen clock 61 105*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_62 flexgen clock 62 106*7d0873ebSEmmanuel Vadot - description: CK_SCMI_FLEXGEN_63 flexgen clock 63 107*7d0873ebSEmmanuel Vadot - description: CK_SCMI_ICN_APB1 Peripheral bridge 1 108*7d0873ebSEmmanuel Vadot - description: CK_SCMI_ICN_APB2 Peripheral bridge 2 109*7d0873ebSEmmanuel Vadot - description: CK_SCMI_ICN_APB3 Peripheral bridge 3 110*7d0873ebSEmmanuel Vadot - description: CK_SCMI_ICN_APB4 Peripheral bridge 4 111*7d0873ebSEmmanuel Vadot - description: CK_SCMI_ICN_APBDBG Peripheral bridge for degub 112*7d0873ebSEmmanuel Vadot - description: CK_SCMI_TIMG1 Peripheral bridge for timer1 113*7d0873ebSEmmanuel Vadot - description: CK_SCMI_TIMG2 Peripheral bridge for timer2 114*7d0873ebSEmmanuel Vadot - description: CK_SCMI_PLL3 PLL3 clock 115*7d0873ebSEmmanuel Vadot - description: clk_dsi_txbyte DSI byte clock 1168d13bc63SEmmanuel Vadot 117*7d0873ebSEmmanuel Vadot access-controllers: 118*7d0873ebSEmmanuel Vadot minItems: 1 119*7d0873ebSEmmanuel Vadot maxItems: 2 1208d13bc63SEmmanuel Vadot 1218d13bc63SEmmanuel Vadotrequired: 1228d13bc63SEmmanuel Vadot - compatible 1238d13bc63SEmmanuel Vadot - reg 1248d13bc63SEmmanuel Vadot - '#clock-cells' 1258d13bc63SEmmanuel Vadot - '#reset-cells' 1268d13bc63SEmmanuel Vadot - clocks 1278d13bc63SEmmanuel Vadot 1288d13bc63SEmmanuel VadotadditionalProperties: false 1298d13bc63SEmmanuel Vadot 1308d13bc63SEmmanuel Vadotexamples: 1318d13bc63SEmmanuel Vadot - | 1328d13bc63SEmmanuel Vadot #include <dt-bindings/clock/st,stm32mp25-rcc.h> 1338d13bc63SEmmanuel Vadot 1348d13bc63SEmmanuel Vadot rcc: clock-controller@44200000 { 1358d13bc63SEmmanuel Vadot compatible = "st,stm32mp25-rcc"; 1368d13bc63SEmmanuel Vadot reg = <0x44200000 0x10000>; 1378d13bc63SEmmanuel Vadot #clock-cells = <1>; 1388d13bc63SEmmanuel Vadot #reset-cells = <1>; 1398d13bc63SEmmanuel Vadot clocks = <&scmi_clk CK_SCMI_HSE>, 1408d13bc63SEmmanuel Vadot <&scmi_clk CK_SCMI_HSI>, 1418d13bc63SEmmanuel Vadot <&scmi_clk CK_SCMI_MSI>, 1428d13bc63SEmmanuel Vadot <&scmi_clk CK_SCMI_LSE>, 143*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_LSI>, 144*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_HSE_DIV2>, 145*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_ICN_HS_MCU>, 146*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_ICN_LS_MCU>, 147*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_ICN_SDMMC>, 148*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_ICN_DDR>, 149*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_ICN_DISPLAY>, 150*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_ICN_HSL>, 151*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_ICN_NIC>, 152*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_ICN_VID>, 153*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_07>, 154*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_08>, 155*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_09>, 156*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_10>, 157*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_11>, 158*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_12>, 159*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_13>, 160*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_14>, 161*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_15>, 162*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_16>, 163*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_17>, 164*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_18>, 165*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_19>, 166*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_20>, 167*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_21>, 168*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_22>, 169*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_23>, 170*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_24>, 171*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_25>, 172*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_26>, 173*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_27>, 174*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_28>, 175*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_29>, 176*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_30>, 177*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_31>, 178*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_32>, 179*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_33>, 180*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_34>, 181*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_35>, 182*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_36>, 183*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_37>, 184*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_38>, 185*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_39>, 186*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_40>, 187*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_41>, 188*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_42>, 189*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_43>, 190*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_44>, 191*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_45>, 192*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_46>, 193*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_47>, 194*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_48>, 195*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_49>, 196*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_50>, 197*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_51>, 198*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_52>, 199*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_53>, 200*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_54>, 201*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_55>, 202*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_56>, 203*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_57>, 204*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_58>, 205*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_59>, 206*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_60>, 207*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_61>, 208*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_62>, 209*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_FLEXGEN_63>, 210*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_ICN_APB1>, 211*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_ICN_APB2>, 212*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_ICN_APB3>, 213*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_ICN_APB4>, 214*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_ICN_APBDBG>, 215*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_TIMG1>, 216*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_TIMG2>, 217*7d0873ebSEmmanuel Vadot <&scmi_clk CK_SCMI_PLL3>, 218*7d0873ebSEmmanuel Vadot <&clk_dsi_txbyte>; 2198d13bc63SEmmanuel Vadot }; 2208d13bc63SEmmanuel Vadot... 221