1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/usb/qcom,dw 4 $id: http://devicetree.org/schemas/usb/qcom,dwc3.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Qualcomm SuperSpeed DWC3 USB SoC contro 7 title: Qualcomm SuperSpeed DWC3 USB SoC controller 8 8 9 maintainers: 9 maintainers: 10 - Wesley Cheng <quic_wcheng@quicinc.com> 10 - Wesley Cheng <quic_wcheng@quicinc.com> 11 11 12 properties: 12 properties: 13 compatible: 13 compatible: 14 items: 14 items: 15 - enum: 15 - enum: 16 - qcom,ipq4019-dwc3 16 - qcom,ipq4019-dwc3 17 - qcom,ipq5018-dwc3 << 18 - qcom,ipq5332-dwc3 << 19 - qcom,ipq6018-dwc3 17 - qcom,ipq6018-dwc3 20 - qcom,ipq8064-dwc3 18 - qcom,ipq8064-dwc3 21 - qcom,ipq8074-dwc3 19 - qcom,ipq8074-dwc3 22 - qcom,ipq9574-dwc3 << 23 - qcom,msm8953-dwc3 20 - qcom,msm8953-dwc3 24 - qcom,msm8994-dwc3 21 - qcom,msm8994-dwc3 25 - qcom,msm8996-dwc3 22 - qcom,msm8996-dwc3 26 - qcom,msm8998-dwc3 23 - qcom,msm8998-dwc3 27 - qcom,qcm2290-dwc3 << 28 - qcom,qcs404-dwc3 24 - qcom,qcs404-dwc3 29 - qcom,qdu1000-dwc3 << 30 - qcom,sa8775p-dwc3 << 31 - qcom,sc7180-dwc3 25 - qcom,sc7180-dwc3 32 - qcom,sc7280-dwc3 26 - qcom,sc7280-dwc3 33 - qcom,sc8180x-dwc3 << 34 - qcom,sc8180x-dwc3-mp << 35 - qcom,sc8280xp-dwc3 27 - qcom,sc8280xp-dwc3 36 - qcom,sc8280xp-dwc3-mp << 37 - qcom,sdm660-dwc3 28 - qcom,sdm660-dwc3 38 - qcom,sdm670-dwc3 29 - qcom,sdm670-dwc3 39 - qcom,sdm845-dwc3 30 - qcom,sdm845-dwc3 40 - qcom,sdx55-dwc3 31 - qcom,sdx55-dwc3 41 - qcom,sdx65-dwc3 32 - qcom,sdx65-dwc3 42 - qcom,sdx75-dwc3 << 43 - qcom,sm4250-dwc3 33 - qcom,sm4250-dwc3 44 - qcom,sm6115-dwc3 34 - qcom,sm6115-dwc3 45 - qcom,sm6125-dwc3 35 - qcom,sm6125-dwc3 46 - qcom,sm6350-dwc3 36 - qcom,sm6350-dwc3 47 - qcom,sm6375-dwc3 37 - qcom,sm6375-dwc3 48 - qcom,sm8150-dwc3 38 - qcom,sm8150-dwc3 49 - qcom,sm8250-dwc3 39 - qcom,sm8250-dwc3 50 - qcom,sm8350-dwc3 40 - qcom,sm8350-dwc3 51 - qcom,sm8450-dwc3 41 - qcom,sm8450-dwc3 52 - qcom,sm8550-dwc3 << 53 - qcom,sm8650-dwc3 << 54 - qcom,x1e80100-dwc3 << 55 - qcom,x1e80100-dwc3-mp << 56 - const: qcom,dwc3 42 - const: qcom,dwc3 57 43 58 reg: 44 reg: 59 description: Offset and length of register 45 description: Offset and length of register set for QSCRATCH wrapper 60 maxItems: 1 46 maxItems: 1 61 47 62 "#address-cells": 48 "#address-cells": 63 enum: [ 1, 2 ] 49 enum: [ 1, 2 ] 64 50 65 "#size-cells": 51 "#size-cells": 66 enum: [ 1, 2 ] 52 enum: [ 1, 2 ] 67 53 68 ranges: true 54 ranges: true 69 55 70 power-domains: 56 power-domains: 71 description: specifies a phandle to PM dom 57 description: specifies a phandle to PM domain provider node 72 maxItems: 1 58 maxItems: 1 73 59 74 required-opps: << 75 maxItems: 1 << 76 << 77 clocks: 60 clocks: 78 description: | 61 description: | 79 Several clocks are used, depending on th 62 Several clocks are used, depending on the variant. Typical ones are:: 80 - cfg_noc:: System Config NOC clock. 63 - cfg_noc:: System Config NOC clock. 81 - core:: Master/Core clock, has to be > 64 - core:: Master/Core clock, has to be >= 125 MHz for SS operation and >= 82 60MHz for HS operation. 65 60MHz for HS operation. 83 - iface:: System bus AXI clock. 66 - iface:: System bus AXI clock. 84 - sleep:: Sleep clock, used for wakeup 67 - sleep:: Sleep clock, used for wakeup when USB3 core goes into low 85 power mode (U3). 68 power mode (U3). 86 - mock_utmi:: Mock utmi clock needed fo 69 - mock_utmi:: Mock utmi clock needed for ITP/SOF generation in host 87 mode. Its frequency shoul 70 mode. Its frequency should be 19.2MHz. 88 minItems: 1 71 minItems: 1 89 maxItems: 9 72 maxItems: 9 90 73 91 clock-names: 74 clock-names: 92 minItems: 1 75 minItems: 1 93 maxItems: 9 76 maxItems: 9 94 77 >> 78 assigned-clocks: >> 79 items: >> 80 - description: Phandle and clock specifier of MOCK_UTMI_CLK. >> 81 - description: Phandle and clock specifoer of MASTER_CLK. >> 82 >> 83 assigned-clock-rates: >> 84 items: >> 85 - description: Must be 19.2MHz (19200000). >> 86 - description: Must be >= 60 MHz in HS mode, >= 125 MHz in SS mode. 95 resets: 87 resets: 96 maxItems: 1 88 maxItems: 1 97 89 98 interconnects: 90 interconnects: 99 maxItems: 2 91 maxItems: 2 100 92 101 interconnect-names: 93 interconnect-names: 102 items: 94 items: 103 - const: usb-ddr 95 - const: usb-ddr 104 - const: apps-usb 96 - const: apps-usb 105 97 106 interrupts: 98 interrupts: 107 description: | !! 99 minItems: 1 108 Different types of interrupts are used b !! 100 maxItems: 4 109 - pwr_event: Used for wakeup based on << 110 - hs_phy_irq: Apart from DP/DM/QUSB2 P << 111 hs_phy_irq which is not << 112 functionality is mutual << 113 {dp/dm}_hs_phy_irq and << 114 - qusb2_phy: SoCs with QUSB2 PHY do no << 115 expose only a single IRQ << 116 by the QUSB2PHY_INTR_CTR << 117 DMSE configuration is do << 118 of PHY address space. << 119 - {dp/dm}_hs_phy_irq: These IRQ's dire << 120 DM pads of the << 121 only on SoCs wi << 122 exception of SD << 123 - ss_phy_irq: Used for remote wakeup i << 124 minItems: 2 << 125 maxItems: 18 << 126 101 127 interrupt-names: 102 interrupt-names: 128 minItems: 2 !! 103 minItems: 1 129 maxItems: 18 !! 104 maxItems: 4 130 105 131 qcom,select-utmi-as-pipe-clk: 106 qcom,select-utmi-as-pipe-clk: 132 description: 107 description: 133 If present, disable USB3 pipe_clk requir 108 If present, disable USB3 pipe_clk requirement. 134 Used when dwc3 operates without SSPHY an 109 Used when dwc3 operates without SSPHY and only 135 HS/FS/LS modes are supported. 110 HS/FS/LS modes are supported. 136 type: boolean 111 type: boolean 137 112 138 wakeup-source: true 113 wakeup-source: true 139 114 140 # Required child node: 115 # Required child node: 141 116 142 patternProperties: 117 patternProperties: 143 "^usb@[0-9a-f]+$": 118 "^usb@[0-9a-f]+$": 144 $ref: snps,dwc3.yaml# 119 $ref: snps,dwc3.yaml# 145 unevaluatedProperties: false << 146 120 147 properties: 121 properties: 148 wakeup-source: false 122 wakeup-source: false 149 123 150 required: 124 required: 151 - compatible 125 - compatible 152 - reg 126 - reg 153 - "#address-cells" 127 - "#address-cells" 154 - "#size-cells" 128 - "#size-cells" 155 - ranges 129 - ranges >> 130 - power-domains 156 - clocks 131 - clocks 157 - clock-names 132 - clock-names 158 - interrupts 133 - interrupts 159 - interrupt-names 134 - interrupt-names 160 135 161 allOf: 136 allOf: 162 - if: 137 - if: 163 properties: 138 properties: 164 compatible: 139 compatible: 165 contains: 140 contains: 166 enum: 141 enum: 167 - qcom,ipq4019-dwc3 142 - qcom,ipq4019-dwc3 168 - qcom,ipq5332-dwc3 << 169 then: 143 then: 170 properties: 144 properties: 171 clocks: 145 clocks: 172 maxItems: 3 146 maxItems: 3 173 clock-names: 147 clock-names: 174 items: 148 items: 175 - const: core 149 - const: core 176 - const: sleep 150 - const: sleep 177 - const: mock_utmi 151 - const: mock_utmi 178 152 179 - if: 153 - if: 180 properties: 154 properties: 181 compatible: 155 compatible: 182 contains: 156 contains: 183 enum: 157 enum: 184 - qcom,ipq8064-dwc3 158 - qcom,ipq8064-dwc3 185 then: 159 then: 186 properties: 160 properties: 187 clocks: 161 clocks: 188 items: 162 items: 189 - description: Master/Core clock, 163 - description: Master/Core clock, has to be >= 125 MHz 190 for SS operation and >= 60MHz 164 for SS operation and >= 60MHz for HS operation. 191 clock-names: 165 clock-names: 192 items: 166 items: 193 - const: core 167 - const: core 194 168 195 - if: 169 - if: 196 properties: 170 properties: 197 compatible: 171 compatible: 198 contains: 172 contains: 199 enum: 173 enum: 200 - qcom,ipq9574-dwc3 << 201 - qcom,msm8953-dwc3 174 - qcom,msm8953-dwc3 202 - qcom,msm8996-dwc3 175 - qcom,msm8996-dwc3 203 - qcom,msm8998-dwc3 176 - qcom,msm8998-dwc3 204 - qcom,sa8775p-dwc3 << 205 - qcom,sc7180-dwc3 177 - qcom,sc7180-dwc3 206 - qcom,sc7280-dwc3 178 - qcom,sc7280-dwc3 207 - qcom,sdm670-dwc3 179 - qcom,sdm670-dwc3 208 - qcom,sdm845-dwc3 180 - qcom,sdm845-dwc3 209 - qcom,sdx55-dwc3 181 - qcom,sdx55-dwc3 210 - qcom,sdx65-dwc3 << 211 - qcom,sdx75-dwc3 << 212 - qcom,sm6350-dwc3 182 - qcom,sm6350-dwc3 213 then: 183 then: 214 properties: 184 properties: 215 clocks: 185 clocks: 216 maxItems: 5 186 maxItems: 5 217 clock-names: 187 clock-names: 218 items: 188 items: 219 - const: cfg_noc 189 - const: cfg_noc 220 - const: core 190 - const: core 221 - const: iface 191 - const: iface 222 - const: sleep 192 - const: sleep 223 - const: mock_utmi 193 - const: mock_utmi 224 194 225 - if: 195 - if: 226 properties: 196 properties: 227 compatible: 197 compatible: 228 contains: 198 contains: 229 enum: 199 enum: 230 - qcom,ipq6018-dwc3 200 - qcom,ipq6018-dwc3 231 then: 201 then: 232 properties: 202 properties: 233 clocks: 203 clocks: 234 minItems: 3 204 minItems: 3 235 maxItems: 4 205 maxItems: 4 236 clock-names: 206 clock-names: 237 oneOf: 207 oneOf: 238 - items: 208 - items: 239 - const: core 209 - const: core 240 - const: sleep 210 - const: sleep 241 - const: mock_utmi 211 - const: mock_utmi 242 - items: 212 - items: 243 - const: cfg_noc 213 - const: cfg_noc 244 - const: core 214 - const: core 245 - const: sleep 215 - const: sleep 246 - const: mock_utmi 216 - const: mock_utmi 247 217 248 - if: 218 - if: 249 properties: 219 properties: 250 compatible: 220 compatible: 251 contains: 221 contains: 252 enum: 222 enum: 253 - qcom,ipq8074-dwc3 223 - qcom,ipq8074-dwc3 254 - qcom,qdu1000-dwc3 << 255 then: 224 then: 256 properties: 225 properties: 257 clocks: 226 clocks: 258 maxItems: 4 227 maxItems: 4 259 clock-names: 228 clock-names: 260 items: 229 items: 261 - const: cfg_noc 230 - const: cfg_noc 262 - const: core 231 - const: core 263 - const: sleep 232 - const: sleep 264 - const: mock_utmi 233 - const: mock_utmi 265 234 266 - if: 235 - if: 267 properties: 236 properties: 268 compatible: 237 compatible: 269 contains: 238 contains: 270 enum: 239 enum: 271 - qcom,ipq5018-dwc3 << 272 - qcom,msm8994-dwc3 240 - qcom,msm8994-dwc3 273 - qcom,qcs404-dwc3 241 - qcom,qcs404-dwc3 274 then: 242 then: 275 properties: 243 properties: 276 clocks: 244 clocks: 277 maxItems: 4 245 maxItems: 4 278 clock-names: 246 clock-names: 279 items: 247 items: 280 - const: core 248 - const: core 281 - const: iface 249 - const: iface 282 - const: sleep 250 - const: sleep 283 - const: mock_utmi 251 - const: mock_utmi 284 252 285 - if: 253 - if: 286 properties: 254 properties: 287 compatible: 255 compatible: 288 contains: 256 contains: 289 enum: 257 enum: 290 - qcom,sc8280xp-dwc3 258 - qcom,sc8280xp-dwc3 291 - qcom,sc8280xp-dwc3-mp << 292 - qcom,x1e80100-dwc3 << 293 - qcom,x1e80100-dwc3-mp << 294 then: 259 then: 295 properties: 260 properties: 296 clocks: 261 clocks: 297 maxItems: 9 262 maxItems: 9 298 clock-names: 263 clock-names: 299 items: 264 items: 300 - const: cfg_noc 265 - const: cfg_noc 301 - const: core 266 - const: core 302 - const: iface 267 - const: iface 303 - const: sleep 268 - const: sleep 304 - const: mock_utmi 269 - const: mock_utmi 305 - const: noc_aggr 270 - const: noc_aggr 306 - const: noc_aggr_north 271 - const: noc_aggr_north 307 - const: noc_aggr_south 272 - const: noc_aggr_south 308 - const: noc_sys 273 - const: noc_sys 309 274 310 - if: 275 - if: 311 properties: 276 properties: 312 compatible: 277 compatible: 313 contains: 278 contains: 314 enum: 279 enum: 315 - qcom,sdm660-dwc3 280 - qcom,sdm660-dwc3 316 then: 281 then: 317 properties: 282 properties: 318 clocks: 283 clocks: 319 minItems: 4 !! 284 minItems: 6 320 maxItems: 5 << 321 clock-names: 285 clock-names: 322 oneOf: !! 286 items: 323 - items: !! 287 - const: cfg_noc 324 - const: cfg_noc !! 288 - const: core 325 - const: core !! 289 - const: iface 326 - const: iface !! 290 - const: sleep 327 - const: sleep !! 291 - const: mock_utmi 328 - const: mock_utmi !! 292 - const: bus 329 - items: << 330 - const: cfg_noc << 331 - const: core << 332 - const: sleep << 333 - const: mock_utmi << 334 293 335 - if: 294 - if: 336 properties: 295 properties: 337 compatible: 296 compatible: 338 contains: 297 contains: 339 enum: 298 enum: 340 - qcom,qcm2290-dwc3 << 341 - qcom,sc8180x-dwc3 << 342 - qcom,sc8180x-dwc3-mp << 343 - qcom,sm6115-dwc3 299 - qcom,sm6115-dwc3 344 - qcom,sm6125-dwc3 300 - qcom,sm6125-dwc3 345 - qcom,sm8150-dwc3 301 - qcom,sm8150-dwc3 346 - qcom,sm8250-dwc3 302 - qcom,sm8250-dwc3 347 - qcom,sm8450-dwc3 303 - qcom,sm8450-dwc3 348 - qcom,sm8550-dwc3 << 349 - qcom,sm8650-dwc3 << 350 then: 304 then: 351 properties: 305 properties: 352 clocks: 306 clocks: 353 minItems: 6 307 minItems: 6 354 clock-names: 308 clock-names: 355 items: 309 items: 356 - const: cfg_noc 310 - const: cfg_noc 357 - const: core 311 - const: core 358 - const: iface 312 - const: iface 359 - const: sleep 313 - const: sleep 360 - const: mock_utmi 314 - const: mock_utmi 361 - const: xo 315 - const: xo 362 316 363 - if: 317 - if: 364 properties: 318 properties: 365 compatible: 319 compatible: 366 contains: 320 contains: 367 enum: 321 enum: 368 - qcom,sm8350-dwc3 322 - qcom,sm8350-dwc3 369 then: 323 then: 370 properties: 324 properties: 371 clocks: 325 clocks: 372 minItems: 5 326 minItems: 5 373 maxItems: 6 327 maxItems: 6 374 clock-names: 328 clock-names: 375 minItems: 5 329 minItems: 5 376 items: 330 items: 377 - const: cfg_noc 331 - const: cfg_noc 378 - const: core 332 - const: core 379 - const: iface 333 - const: iface 380 - const: sleep 334 - const: sleep 381 - const: mock_utmi 335 - const: mock_utmi 382 - const: xo 336 - const: xo 383 337 384 - if: 338 - if: 385 properties: 339 properties: 386 compatible: 340 compatible: 387 contains: 341 contains: 388 enum: 342 enum: 389 - qcom,ipq5018-dwc3 !! 343 - qcom,ipq4019-dwc3 390 - qcom,ipq6018-dwc3 344 - qcom,ipq6018-dwc3 >> 345 - qcom,ipq8064-dwc3 391 - qcom,ipq8074-dwc3 346 - qcom,ipq8074-dwc3 392 - qcom,msm8953-dwc3 !! 347 - qcom,msm8994-dwc3 393 - qcom,msm8998-dwc3 !! 348 - qcom,qcs404-dwc3 >> 349 - qcom,sc7180-dwc3 >> 350 - qcom,sdm670-dwc3 >> 351 - qcom,sdm845-dwc3 >> 352 - qcom,sdx55-dwc3 >> 353 - qcom,sdx65-dwc3 >> 354 - qcom,sm4250-dwc3 >> 355 - qcom,sm6125-dwc3 >> 356 - qcom,sm6350-dwc3 >> 357 - qcom,sm8150-dwc3 >> 358 - qcom,sm8250-dwc3 >> 359 - qcom,sm8350-dwc3 >> 360 - qcom,sm8450-dwc3 394 then: 361 then: 395 properties: 362 properties: 396 interrupts: 363 interrupts: 397 minItems: 2 !! 364 items: 398 maxItems: 3 !! 365 - description: The interrupt that is asserted >> 366 when a wakeup event is received on USB2 bus. >> 367 - description: The interrupt that is asserted >> 368 when a wakeup event is received on USB3 bus. >> 369 - description: Wakeup event on DM line. >> 370 - description: Wakeup event on DP line. 399 interrupt-names: 371 interrupt-names: 400 items: 372 items: 401 - const: pwr_event !! 373 - const: hs_phy_irq 402 - const: qusb2_phy << 403 - const: ss_phy_irq 374 - const: ss_phy_irq >> 375 - const: dm_hs_phy_irq >> 376 - const: dp_hs_phy_irq 404 377 405 - if: 378 - if: 406 properties: 379 properties: 407 compatible: 380 compatible: 408 contains: 381 contains: 409 enum: 382 enum: >> 383 - qcom,msm8953-dwc3 410 - qcom,msm8996-dwc3 384 - qcom,msm8996-dwc3 411 - qcom,qcs404-dwc3 !! 385 - qcom,msm8998-dwc3 412 - qcom,sdm660-dwc3 << 413 - qcom,sm6115-dwc3 386 - qcom,sm6115-dwc3 414 - qcom,sm6125-dwc3 << 415 then: 387 then: 416 properties: 388 properties: 417 interrupts: 389 interrupts: 418 minItems: 3 !! 390 maxItems: 2 419 maxItems: 4 << 420 interrupt-names: 391 interrupt-names: 421 items: 392 items: 422 - const: pwr_event << 423 - const: qusb2_phy << 424 - const: hs_phy_irq 393 - const: hs_phy_irq 425 - const: ss_phy_irq 394 - const: ss_phy_irq 426 395 427 - if: 396 - if: 428 properties: 397 properties: 429 compatible: 398 compatible: 430 contains: 399 contains: 431 enum: 400 enum: 432 - qcom,ipq5332-dwc3 !! 401 - qcom,sdm660-dwc3 433 then: 402 then: 434 properties: 403 properties: 435 interrupts: 404 interrupts: 436 maxItems: 3 !! 405 minItems: 1 >> 406 maxItems: 2 437 interrupt-names: 407 interrupt-names: >> 408 minItems: 1 438 items: 409 items: 439 - const: pwr_event !! 410 - const: hs_phy_irq 440 - const: dp_hs_phy_irq !! 411 - const: ss_phy_irq 441 - const: dm_hs_phy_irq << 442 412 443 - if: 413 - if: 444 properties: 414 properties: 445 compatible: 415 compatible: 446 contains: 416 contains: 447 enum: 417 enum: 448 - qcom,x1e80100-dwc3 !! 418 - qcom,sc7280-dwc3 449 then: 419 then: 450 properties: 420 properties: 451 interrupts: 421 interrupts: >> 422 minItems: 3 452 maxItems: 4 423 maxItems: 4 453 interrupt-names: 424 interrupt-names: >> 425 minItems: 3 454 items: 426 items: 455 - const: pwr_event !! 427 - const: hs_phy_irq 456 - const: dp_hs_phy_irq 428 - const: dp_hs_phy_irq 457 - const: dm_hs_phy_irq 429 - const: dm_hs_phy_irq 458 - const: ss_phy_irq 430 - const: ss_phy_irq 459 431 460 - if: 432 - if: 461 properties: 433 properties: 462 compatible: 434 compatible: 463 contains: 435 contains: 464 enum: 436 enum: 465 - qcom,ipq4019-dwc3 << 466 - qcom,ipq8064-dwc3 << 467 - qcom,msm8994-dwc3 << 468 - qcom,qdu1000-dwc3 << 469 - qcom,sa8775p-dwc3 << 470 - qcom,sc7180-dwc3 << 471 - qcom,sc7280-dwc3 << 472 - qcom,sc8180x-dwc3 << 473 - qcom,sc8280xp-dwc3 437 - qcom,sc8280xp-dwc3 474 - qcom,sdm670-dwc3 << 475 - qcom,sdm845-dwc3 << 476 - qcom,sdx55-dwc3 << 477 - qcom,sdx65-dwc3 << 478 - qcom,sdx75-dwc3 << 479 - qcom,sm4250-dwc3 << 480 - qcom,sm6350-dwc3 << 481 - qcom,sm8150-dwc3 << 482 - qcom,sm8250-dwc3 << 483 - qcom,sm8350-dwc3 << 484 - qcom,sm8450-dwc3 << 485 - qcom,sm8550-dwc3 << 486 - qcom,sm8650-dwc3 << 487 then: 438 then: 488 properties: 439 properties: 489 interrupts: 440 interrupts: 490 minItems: 4 !! 441 maxItems: 4 491 maxItems: 5 << 492 interrupt-names: 442 interrupt-names: 493 items: 443 items: 494 - const: pwr_event 444 - const: pwr_event 495 - const: hs_phy_irq << 496 - const: dp_hs_phy_irq 445 - const: dp_hs_phy_irq 497 - const: dm_hs_phy_irq 446 - const: dm_hs_phy_irq 498 - const: ss_phy_irq 447 - const: ss_phy_irq 499 448 500 - if: << 501 properties: << 502 compatible: << 503 contains: << 504 enum: << 505 - qcom,sc8180x-dwc3-mp << 506 - qcom,x1e80100-dwc3-mp << 507 then: << 508 properties: << 509 interrupts: << 510 minItems: 10 << 511 maxItems: 10 << 512 interrupt-names: << 513 items: << 514 - const: pwr_event_1 << 515 - const: pwr_event_2 << 516 - const: hs_phy_1 << 517 - const: hs_phy_2 << 518 - const: dp_hs_phy_1 << 519 - const: dm_hs_phy_1 << 520 - const: dp_hs_phy_2 << 521 - const: dm_hs_phy_2 << 522 - const: ss_phy_1 << 523 - const: ss_phy_2 << 524 << 525 - if: << 526 properties: << 527 compatible: << 528 contains: << 529 enum: << 530 - qcom,sc8280xp-dwc3-mp << 531 then: << 532 properties: << 533 interrupts: << 534 minItems: 18 << 535 maxItems: 18 << 536 interrupt-names: << 537 items: << 538 - const: pwr_event_1 << 539 - const: pwr_event_2 << 540 - const: pwr_event_3 << 541 - const: pwr_event_4 << 542 - const: hs_phy_1 << 543 - const: hs_phy_2 << 544 - const: hs_phy_3 << 545 - const: hs_phy_4 << 546 - const: dp_hs_phy_1 << 547 - const: dm_hs_phy_1 << 548 - const: dp_hs_phy_2 << 549 - const: dm_hs_phy_2 << 550 - const: dp_hs_phy_3 << 551 - const: dm_hs_phy_3 << 552 - const: dp_hs_phy_4 << 553 - const: dm_hs_phy_4 << 554 - const: ss_phy_1 << 555 - const: ss_phy_2 << 556 << 557 additionalProperties: false 449 additionalProperties: false 558 450 559 examples: 451 examples: 560 - | 452 - | 561 #include <dt-bindings/clock/qcom,gcc-sdm84 453 #include <dt-bindings/clock/qcom,gcc-sdm845.h> 562 #include <dt-bindings/interrupt-controller 454 #include <dt-bindings/interrupt-controller/arm-gic.h> 563 #include <dt-bindings/interrupt-controller 455 #include <dt-bindings/interrupt-controller/irq.h> 564 soc { 456 soc { 565 #address-cells = <2>; 457 #address-cells = <2>; 566 #size-cells = <2>; 458 #size-cells = <2>; 567 459 568 usb@a6f8800 { 460 usb@a6f8800 { 569 compatible = "qcom,sdm845-dwc3", " 461 compatible = "qcom,sdm845-dwc3", "qcom,dwc3"; 570 reg = <0 0x0a6f8800 0 0x400>; 462 reg = <0 0x0a6f8800 0 0x400>; 571 463 572 #address-cells = <2>; 464 #address-cells = <2>; 573 #size-cells = <2>; 465 #size-cells = <2>; 574 ranges; 466 ranges; 575 clocks = <&gcc GCC_CFG_NOC_USB3_PR 467 clocks = <&gcc GCC_CFG_NOC_USB3_PRIM_AXI_CLK>, 576 <&gcc GCC_USB30_PRIM_MAST 468 <&gcc GCC_USB30_PRIM_MASTER_CLK>, 577 <&gcc GCC_AGGRE_USB3_PRIM 469 <&gcc GCC_AGGRE_USB3_PRIM_AXI_CLK>, 578 <&gcc GCC_USB30_PRIM_SLEE 470 <&gcc GCC_USB30_PRIM_SLEEP_CLK>, 579 <&gcc GCC_USB30_PRIM_MOCK 471 <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>; 580 clock-names = "cfg_noc", 472 clock-names = "cfg_noc", 581 "core", 473 "core", 582 "iface", 474 "iface", 583 "sleep", 475 "sleep", 584 "mock_utmi"; 476 "mock_utmi"; 585 477 586 assigned-clocks = <&gcc GCC_USB30_ 478 assigned-clocks = <&gcc GCC_USB30_PRIM_MOCK_UTMI_CLK>, 587 <&gcc GCC_USB30_PRIM 479 <&gcc GCC_USB30_PRIM_MASTER_CLK>; 588 assigned-clock-rates = <19200000>, 480 assigned-clock-rates = <19200000>, <150000000>; 589 481 590 interrupts = <GIC_SPI 130 IRQ_TYPE !! 482 interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>, 591 <GIC_SPI 131 IRQ_TYPE !! 483 <GIC_SPI 486 IRQ_TYPE_LEVEL_HIGH>, 592 <GIC_SPI 489 IRQ_TYPE !! 484 <GIC_SPI 488 IRQ_TYPE_LEVEL_HIGH>, 593 <GIC_SPI 488 IRQ_TYPE !! 485 <GIC_SPI 489 IRQ_TYPE_LEVEL_HIGH>; 594 <GIC_SPI 486 IRQ_TYPE !! 486 interrupt-names = "hs_phy_irq", "ss_phy_irq", 595 interrupt-names = "pwr_event", "hs !! 487 "dm_hs_phy_irq", "dp_hs_phy_irq"; 596 "dp_hs_phy_irq", "dm << 597 488 598 power-domains = <&gcc USB30_PRIM_G 489 power-domains = <&gcc USB30_PRIM_GDSC>; 599 490 600 resets = <&gcc GCC_USB30_PRIM_BCR> 491 resets = <&gcc GCC_USB30_PRIM_BCR>; 601 492 602 usb@a600000 { 493 usb@a600000 { 603 compatible = "snps,dwc3"; 494 compatible = "snps,dwc3"; 604 reg = <0 0x0a600000 0 0xcd00>; 495 reg = <0 0x0a600000 0 0xcd00>; 605 interrupts = <GIC_SPI 133 IRQ_ 496 interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>; 606 iommus = <&apps_smmu 0x740 0>; 497 iommus = <&apps_smmu 0x740 0>; 607 snps,dis_u2_susphy_quirk; 498 snps,dis_u2_susphy_quirk; 608 snps,dis_enblslpm_quirk; 499 snps,dis_enblslpm_quirk; 609 phys = <&usb_1_hsphy>, <&usb_1 500 phys = <&usb_1_hsphy>, <&usb_1_ssphy>; 610 phy-names = "usb2-phy", "usb3- 501 phy-names = "usb2-phy", "usb3-phy"; 611 }; 502 }; 612 }; 503 }; 613 }; 504 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.