[PATCH v3 4/5] arm64: dts: exynos: Enable USB in Exynos7885
David Virag
virag.david003 at gmail.com
Wed Nov 25 06:54:55 PST 2026
Add USB controller and USB PHY controller nodes to Exynos7885 SoC DTSI
The SoC theoretically supports USB3 SuperSpeed, but is not implemented
in any known device. The vendor kernel also stubs out USB3 functions, so
we disable it in device DTS.
It is though, perfectly capable of USB 2.0 high-speed mode, both as host
and device.
Signed-off-by: David Virag <virag.david003 at gmail.com>
---
Changes in v2:
- Keep dt nodes ordered by unit address.
Changes in v3:
- Move maximum-speed property to device dts.
arch/arm64/boot/dts/exynos/exynos7885.dtsi | 31 ++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/arch/arm64/boot/dts/exynos/exynos7885.dtsi b/arch/arm64/boot/dts/exynos/exynos7885.dtsi
index 6b994b487107..33899f5fc5e5 100644
--- a/arch/arm64/boot/dts/exynos/exynos7885.dtsi
+++ b/arch/arm64/boot/dts/exynos/exynos7885.dtsi
@@ -480,6 +480,37 @@ i2c_7: i2c at 11cd0000 {
status = "disabled";
};
+
+ usbdrd_phy: phy at 135d0000 {
+ compatible = "samsung,exynos7885-usbdrd-phy";
+ reg = <0x135d0000 0x100>;
+ clocks = <&cmu_fsys CLK_FSYS_USB30DRD_ACLK_20PHYCTRL>,
+ <&cmu_fsys CLK_FSYS_USB20PHY_CLKCORE>;
+ clock-names = "phy", "ref";
+ samsung,pmu-syscon = <&pmu_system_controller>;
+ #phy-cells = <1>;
+ status = "disabled";
+ };
+
+ usbdrd: usb at 13600000 {
+ compatible = "samsung,exynos7885-dwusb3",
+ "samsung,exynos850-dwusb3";
+ ranges = <0x0 0x13600000 0x10000>;
+ clocks = <&cmu_fsys CLK_FSYS_USB30DRD_BUS_CLK_EARLY>,
+ <&cmu_fsys CLK_FSYS_USB30DRD_REF_CLK>;
+ clock-names = "bus_early", "ref";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ status = "disabled";
+
+ usbdrd_dwc3: usb at 0 {
+ compatible = "snps,dwc3";
+ reg = <0x0 0x10000>;
+ interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>;
+ phys = <&usbdrd_phy 0>;
+ phy-names = "usb2-phy";
+ };
+ };
};
};
--
2.56.1
More information about the linux-arm-kernel
mailing list