Skip to content

Commit 2f911ca

Browse files
Sam Protsenkokrzk
authored andcommitted
arm64: dts: exynos: Enable USB in Exynos850
Add USB controller and USB PHY controller nodes for Exynos850 SoC. The USB controller has next features: - Dual Role Device (DRD) controller - DWC3 compatible - Supports USB 2.0 host and USB 2.0 device interfaces - Supports full-speed (12 Mbps) and high-speed (480 Mbps) modes with USB device 2.0 interface - Supports on-chip USB PHY transceiver - Supports up to 16 bi-directional endpoints (that includes control endpoint 0) - Complies with xHCI 1.00 specification Only USB 2.0 is supported in Exynos850, so only UTMI+ PHY interface is specified in "phys" property (index 0) and PIPE3 is omitted (index 1). Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org> Link: https://lore.kernel.org/r/20230825215445.28309-2-semen.protsenko@linaro.org Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
1 parent 0bb80ec commit 2f911ca

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

arch/arm64/boot/dts/exynos/exynos850.dtsi

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,36 @@
570570
clocks = <&cmu_cmgp CLK_GOUT_SYSREG_CMGP_PCLK>;
571571
};
572572

573+
usbdrd: usb@13600000 {
574+
compatible = "samsung,exynos850-dwusb3";
575+
ranges = <0x0 0x13600000 0x10000>;
576+
clocks = <&cmu_hsi CLK_GOUT_USB_BUS_EARLY_CLK>,
577+
<&cmu_hsi CLK_GOUT_USB_REF_CLK>;
578+
clock-names = "bus_early", "ref";
579+
#address-cells = <1>;
580+
#size-cells = <1>;
581+
status = "disabled";
582+
583+
usbdrd_dwc3: usb@0 {
584+
compatible = "snps,dwc3";
585+
reg = <0x0 0x10000>;
586+
interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>;
587+
phys = <&usbdrd_phy 0>;
588+
phy-names = "usb2-phy";
589+
};
590+
};
591+
592+
usbdrd_phy: phy@135d0000 {
593+
compatible = "samsung,exynos850-usbdrd-phy";
594+
reg = <0x135d0000 0x100>;
595+
clocks = <&cmu_hsi CLK_GOUT_USB_PHY_ACLK>,
596+
<&cmu_hsi CLK_GOUT_USB_PHY_REF_CLK>;
597+
clock-names = "phy", "ref";
598+
samsung,pmu-syscon = <&pmu_system_controller>;
599+
#phy-cells = <1>;
600+
status = "disabled";
601+
};
602+
573603
usi_uart: usi@138200c0 {
574604
compatible = "samsung,exynos850-usi";
575605
reg = <0x138200c0 0x20>;

0 commit comments

Comments
 (0)