1# Copyright (c) 2023 Nordic Semiconductor ASA 2# SPDX-License-Identifier: Apache-2.0 3 4description: DesignWare OTG USB 2.0 controller 5 6compatible: "snps,dwc2" 7 8include: [base.yaml] 9 10bus: usb 11 12properties: 13 reg: 14 required: true 15 16 interrupts: 17 required: true 18 19 phys: 20 type: phandle 21 22 num-in-eps: 23 type: int 24 required: true 25 description: | 26 Number of configured OUT endpoints including control endpoint. 27 28 num-out-eps: 29 type: int 30 required: true 31 description: | 32 Number of configured IN endpoints including control endpoint. 33 34 ghwcfg1: 35 type: int 36 required: true 37 description: | 38 Value of the GHWCFG1 register. It is used to determine available endpoint 39 types during driver pre-initialization. 40 41 ghwcfg2: 42 type: int 43 required: true 44 description: | 45 Value of the GHWCFG2 register. It is used to determine available endpoint 46 types during driver pre-initialization. 47 48 ghwcfg4: 49 type: int 50 required: true 51 description: | 52 Value of the GHWCFG4 register. It is used to determine available endpoint 53 types during driver pre-initialization. 54