[PATCH v2 00/14] arm64: dts: allwinner: Add Allwinner A733 USB 3.0 support
From: Alastair D'Silva
Date: Mon Nov 30 2026 - 00:34:44 EST
This series adds USB 3.0 support for the Allwinner A733 SoC and
enables it on the Xunlong OrangePi 4 Pro and Radxa Cubie A7A, A7S, and
A7Z boards.
It adds the USB 2.0 UTMI PHY driver, USB 3.0 mode with Type-C
orientation switching for ComboPHY0, USB2 CCU gates, DWC3 glue
support, an xHCI W1C port change quirk, and DT nodes.
Verified on the Xunlong OrangePi 4 Pro with a SuperSpeed (5000M) USB
3.0 flash drive. The Radxa Cubie A7A, A7S, and A7Z board changes and
USB-C orientation switching are untested on hardware.
Changes in v2:
- Drop <linux/mod_devicetable.h> from phy-sun60i-u2phy.c (Uwe
Kleine-König).
- Add CLK_MBUS_MSI_LITE2 ("mbus") to the A733 DWC3 binding and DT node
so unused-clock cleanup does not gate the DWC3 memory path.
- Add Type-C orientation switching to combophy0 (binding and driver).
- Enable USB 3.0 on the Radxa Cubie A7A, A7S, and A7Z.
Prerequisite series:
- arm64: dts: allwinner: Add Xunlong OrangePi 4 Pro support (v2):
https://lore.kernel.org/r/20261127065343.1449675-1-alastair@xxxxxxxxxxx
- arm64: dts: allwinner: Add Radxa Cubie A7A support:
https://lore.kernel.org/r/20261126172253.1097838-1-andre.przywara@xxxxxxx
- arm64: dts: allwinner: Add Radxa Cubie A7S support (v6):
https://lore.kernel.org/r/20261126-a733-cubie-a7s-dt-v6-0@xxxxxxxxx
- arm64: dts: allwinner: Add Radxa Cubie A7Z support (v2):
https://lore.kernel.org/r/20261125131435.33190-1-vinicius.eduardo.pedrosa@xxxxxxxxx
- Add Allwinner A733 (sun60i) PCIe and Combo PHY support:
https://lore.kernel.org/r/20261125062948.1234677-1-alastair@xxxxxxxxxxx
- Allwinner A733 PCK-600 power domain fix and DT node (included in
prerequisite-patch-id below).
Alastair D'Silva (14):
dt-bindings: phy: allwinner,sun60i-a733-u2phy: Add Allwinner A733 USB
2.0 PHY
dt-bindings: phy: allwinner,sun60i-a733-combophy: Add combophy0 USB
3.0 support
dt-bindings: clock: sun60i-a733: Add USB2 bus and sys clock IDs
clk: sunxi-ng: sun60i-a733: Add USB2 bus and sys clocks
dt-bindings: usb: allwinner,sun60i-a733-dwc3: Add Allwinner A733 DWC3
phy: allwinner: Add Allwinner A733 USB 2.0 PHY driver
phy: allwinner: sun60i-combophy: Add USB 3.0 PHY mode support
usb: dwc3: Add Allwinner A733 DWC3 support
usb: host: xhci: Add W1C port change quirk for Allwinner A733
arm64: dts: allwinner: sun60i-a733: Add USB 3.0 controller and PHYs
arm64: dts: allwinner: sun60i-a733-orangepi-4-pro: Enable USB 3.0
arm64: dts: allwinner: sun60i-a733-cubie-a7a: Enable USB 3.0
arm64: dts: allwinner: sun60i-a733-cubie-a7s: Enable USB 3.0
arm64: dts: allwinner: sun60i-a733-cubie-a7z: Enable USB 3.0
.../phy/allwinner,sun60i-a733-combophy.yaml | 26 +
.../phy/allwinner,sun60i-a733-u2phy.yaml | 58 ++
.../usb/allwinner,sun60i-a733-dwc3.yaml | 106 +++
.../dts/allwinner/sun60i-a733-cubie-a7a.dts | 25 +
.../dts/allwinner/sun60i-a733-cubie-a7s.dts | 85 +++
.../dts/allwinner/sun60i-a733-cubie-a7z.dts | 85 +++
.../allwinner/sun60i-a733-orangepi-4-pro.dts | 31 +
.../arm64/boot/dts/allwinner/sun60i-a733.dtsi | 62 ++
drivers/clk/sunxi-ng/ccu-sun60i-a733.c | 10 +-
drivers/phy/allwinner/Kconfig | 18 +-
drivers/phy/allwinner/Makefile | 1 +
drivers/phy/allwinner/phy-sun60i-combophy.c | 682 +++++++++++++++++-
drivers/phy/allwinner/phy-sun60i-u2phy.c | 232 ++++++
drivers/usb/dwc3/core.c | 18 +-
drivers/usb/dwc3/core.h | 8 +
drivers/usb/dwc3/dwc3-generic-plat.c | 15 +-
drivers/usb/dwc3/glue.h | 6 +
drivers/usb/dwc3/host.c | 10 +
drivers/usb/host/xhci-hub.c | 53 +-
drivers/usb/host/xhci-plat.c | 3 +
drivers/usb/host/xhci.h | 2 +
.../clock/allwinner,sun60i-a733-ccu.h | 2 +
22 files changed, 1506 insertions(+), 32 deletions(-)
create mode 100644 Documentation/devicetree/bindings/phy/allwinner,sun60i-a733-u2phy.yaml
create mode 100644 Documentation/devicetree/bindings/usb/allwinner,sun60i-a733-dwc3.yaml
create mode 100644 drivers/phy/allwinner/phy-sun60i-u2phy.c
base-commit: 9437046953b2fb3bf55b36582450ea0267df82a7
prerequisite-patch-id: 19691099774bd3dc41f56585c03ddefb7bdc6f9c
prerequisite-patch-id: 85db03df3394cdcb2780a0da122a74b2c1fe220d
prerequisite-patch-id: a3e883da50bf03e8f522444def66fec7f996ffbe
prerequisite-patch-id: c6889699a6dc13c336ce4cf4659e21b551e9a9fc
prerequisite-patch-id: ef2f0344452092edb2221b93c44a3e82cb896a2d
prerequisite-patch-id: c598480f753e36b7f6230129b864c559b9f185d5
prerequisite-patch-id: f86b468a896a40f132adfcba885700327dff1bc5
prerequisite-patch-id: a733e6bbf6de77dd9f260e65912894fd4d97aa78
prerequisite-patch-id: 090c5ff78d4e2150804aa8d294581cd338b1e971
prerequisite-patch-id: af0aebcae7c38d58354925119c412178b5821b5e
prerequisite-patch-id: beb8a098ba14724e316ff243bdf8e00e729243c1
prerequisite-patch-id: 63342c5ec38e8eb9e55c8c74d3c5a81a630d5f69
prerequisite-patch-id: 1dc8d70f80674c98b2b15d09556dd27f643b20da
prerequisite-patch-id: 4555860586ef50f27bf787a23f6ba693e9c3b0d6
prerequisite-patch-id: 0279f281cd59cf54bceee39b0fa4d0b6a7b87c48
prerequisite-patch-id: 14424bd8324b6cae2b8c4d6840df0db626d1385f
prerequisite-patch-id: 7b42728bc8271e5dfd57fffec47a7f5745eff357
prerequisite-patch-id: 74f5c7d066477024a374a789b3180e841398fb07
prerequisite-patch-id: 309a5a3ca5b216915907263dea7024263abf1d1c
prerequisite-patch-id: 55e543b9854c7ae2fa86969233d05ccadd3792e9
prerequisite-patch-id: cfcad85224e288ec2168e7f245b4a1c63e9a34a7
prerequisite-patch-id: 18dadb9c1e41141d015422b658b7dd0d153b7d69
prerequisite-patch-id: 47a863f533ee9ae1589e25618f27a7282a0f8d37
prerequisite-patch-id: 54181ce00a78f9f69031d3964f14bf800dd98e0f
prerequisite-patch-id: 5a6d6dac4f6b42edf911fbca2078508e977bdce9
prerequisite-patch-id: e919d9591e97e3b69fa86625a868583ee74d16db
--
2.53.0