[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240804215458.404085-13-virag.david003@gmail.com>
Date: Sun, 4 Aug 2024 23:53:57 +0200
From: David Virag <virag.david003@...il.com>
To: Vinod Koul <vkoul@...nel.org>,
Kishon Vijay Abraham I <kishon@...nel.org>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk+dt@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Alim Akhtar <alim.akhtar@...sung.com>,
Sylwester Nawrocki <s.nawrocki@...sung.com>,
Chanwoo Choi <cw00.choi@...sung.com>,
Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>,
Thinh Nguyen <Thinh.Nguyen@...opsys.com>,
Peter Griffin <peter.griffin@...aro.org>,
André Draszik <andre.draszik@...aro.org>,
Sam Protsenko <semen.protsenko@...aro.org>,
David Virag <virag.david003@...il.com>,
Marek Szyprowski <m.szyprowski@...sung.com>
Cc: linux-phy@...ts.infradead.org,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-usb@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-samsung-soc@...r.kernel.org,
linux-clk@...r.kernel.org
Subject: [PATCH 12/13] arm64: dts: exynos: Enable USB in Exynos7885
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 do not support it.
It is though, perfectly capable of USB 2.0 high-speed mode, both as host
and device.
Signed-off-by: David Virag <virag.david003@...il.com>
---
arch/arm64/boot/dts/exynos/exynos7885.dtsi | 35 ++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/arch/arm64/boot/dts/exynos/exynos7885.dtsi b/arch/arm64/boot/dts/exynos/exynos7885.dtsi
index 008228fb319a..1352c64d132e 100644
--- a/arch/arm64/boot/dts/exynos/exynos7885.dtsi
+++ b/arch/arm64/boot/dts/exynos/exynos7885.dtsi
@@ -463,6 +463,41 @@ i2c_7: i2c@...d0000 {
clock-names = "i2c";
status = "disabled";
};
+
+ usbdrd: usb@...00000 {
+ compatible = "samsung,exynos7885-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@0 {
+ compatible = "snps,dwc3";
+ reg = <0x0 0x10000>;
+ interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>;
+ phys = <&usbdrd_phy 0>;
+ phy-names = "usb2-phy";
+ /*
+ * SoC in theory supports SS but no device has it.
+ * Actual capabilities unknown.
+ */
+ maximum-speed = "high-speed";
+ };
+ };
+
+ usbdrd_phy: phy@...d0000 {
+ 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";
+ };
};
};
--
2.46.0
Powered by blists - more mailing lists