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