]> www.infradead.org Git - users/willy/xarray.git/commitdiff
arm64: dts: rockchip: disable unrouted USB controllers and PHY on RK3399 Puma
authorQuentin Schulz <quentin.schulz@cherry.de>
Fri, 25 Apr 2025 15:18:09 +0000 (17:18 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Thu, 15 May 2025 12:44:36 +0000 (14:44 +0200)
The u2phy1_host port is the part of the USB PHY1 (namely the
HOST1_DP/DM lanes) which routes directly to the USB2.0 HOST
controller[1]. The other lanes of the PHY are routed to the USB3.0 OTG
controller (dwc3), which we do use.

The HOST1_DP/DM lanes aren't routed on RK3399 Puma so let's simply
disable the USB2.0 controllers and associated part in USB2.0 PHY.

No intended functional change.

[1] https://rockchip.fr/Rockchip%20RK3399%20TRM%20V1.3%20Part2.pdf
    Chapter 2 USB2.0 PHY

Fixes: 2c66fc34e945 ("arm64: dts: rockchip: add RK3399-Q7 (Puma) SoM")
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Lukasz Czechowski <lukasz.czechowski@thaumatec.com>
Link: https://lore.kernel.org/r/20250425-onboard_usb_dev-v2-4-4a76a474a010@thaumatec.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-puma.dtsi

index 314d9dfdba5732c574283271fdb1e8f8ed5405ca..587e89d7fc5e4267b877cbf8c9474bbf97b7b7af 100644 (file)
        u2phy1_otg: otg-port {
                status = "okay";
        };
-
-       u2phy1_host: host-port {
-               status = "okay";
-       };
 };
 
 &usbdrd3_1 {
                vdd2-supply = <&vcc3v3_sys>;
        };
 };
-
-&usb_host1_ehci {
-       status = "okay";
-};
-
-&usb_host1_ohci {
-       status = "okay";
-};