summaryrefslogtreecommitdiff
path: root/include/usb
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-11-17 21:15:57 -0500
committerTom Rini <trini@konsulko.com>2019-11-17 21:15:57 -0500
commitd64efd920e429f1c5dc085e2e8614c5d139ec37d (patch)
treefb1b00b875c2efd1a3d5310227c0d214cd48cf45 /include/usb
parentfd8adc33b8f999cb09c3ba8ea8860ded28e8d6ca (diff)
parent59b01eb7a17a7c0915fd8aff8f818699b4624137 (diff)
Merge tag 'u-boot-rockchip-20191118' of https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip
- Add support for rockchip SoC: PX30, RK3308 - Add and migrate to use common dram driver: PX30, RK3328, RK3399 - Add rk3399 board Tinker-s support - Board config update for Rock960, Rockpro64
Diffstat (limited to 'include/usb')
-rw-r--r--include/usb/dwc2_udc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/usb/dwc2_udc.h b/include/usb/dwc2_udc.h
index a6c12212a9..a2af381a66 100644
--- a/include/usb/dwc2_udc.h
+++ b/include/usb/dwc2_udc.h
@@ -8,12 +8,14 @@
#ifndef __DWC2_USB_GADGET
#define __DWC2_USB_GADGET
+#include <dm/ofnode.h>
+
#define PHY0_SLEEP (1 << 5)
#define DWC2_MAX_HW_ENDPOINTS 16
struct dwc2_plat_otg_data {
void *priv;
- int phy_of_node;
+ ofnode phy_of_node;
int (*phy_control)(int on);
uintptr_t regs_phy;
uintptr_t regs_otg;