Appendix · reference

RK3399 USB2 PHY

Inno-style USB 2.0 PHY for the OTG and host paths.

The RK3399 USB2 PHY is the Inno Silicon USB 2.0 analog frontend that sits behind both the DWC3 OTG block and the EHCI/OHCI USB host controllers. Two ports per PHY block (one OTG, one host); each runs its own clock control and squelch / disconnect detect logic.

Identity

PropertyValue
BlockRK3399 / Inno USB 2.0 PHY
MMIO base0xff770000 (and a second instance for the other USB block)
PortsOTG + host
DTS compatiblerockchip,rk3399-usb2phy
Linux driverdrivers/phy/rockchip/phy-rockchip-inno-usb2.c

Driver

● working

src/sys/arm64/rockchip/rk_usb2phy.c — 559 lines. Provides PHY init, suspend/resume, and the OTG-port hooks DWC3 needs to put the controller in device mode at attach time.

Notable commits:

Status

QuestionAnswer
Probes?Yes
OTG port (DWC3)?Working — gadget on ue0
Host port (EHCI/OHCI)?Working — modem and external peripherals enumerate
Suspend/resume?Works at PHY level; full S2RAM not implemented yet

Open work