]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: dts: rockchip: Drop unused rk3328-xhci node
authorJagan Teki <jagan@amarulasolutions.com>
Tue, 6 Jun 2023 17:09:12 +0000 (22:39 +0530)
committerKever Yang <kever.yang@rock-chips.com>
Mon, 31 Jul 2023 12:33:18 +0000 (20:33 +0800)
rk3328-xhci has been added due to the fact that the upstream
dwc3 is unsupported. Moreover, the driver for rk3328-xhci is
not added to the code tree.

By considering these facts and unsupported rk3328-xhci this
patch is dropping all related code from DT. However, the DWC3
is fixed now in dwc3-generic and RK3328 USB 3.0 is functional
in upcoming patches.

Let's drop it.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3328-evb-u-boot.dtsi
arch/arm/dts/rk3328-roc-cc-u-boot.dtsi
arch/arm/dts/rk3328-rock-pi-e-u-boot.dtsi
arch/arm/dts/rk3328-rock64-u-boot.dtsi
arch/arm/dts/rk3328-u-boot.dtsi

index 95e497970eec7050b89327dbc9a7488287374f6c..12b68df1ac674420b5422165deade16de81651d9 100644 (file)
@@ -44,8 +44,3 @@
        /* Integrated PHY unsupported by U-Boot */
        status = "broken";
 };
-
-&usb_host0_xhci {
-       vbus-supply = <&vcc5v0_host_xhci>;
-       status = "okay";
-};
index 27a454f017668f287f6a9e4e294c2ca8e1a2b92c..2062f34bf825532f4eeca57a3c6c9cf82c1aecb5 100644 (file)
        bootph-pre-ram;
 };
 
-&usb_host0_xhci {
-       vbus-supply = <&vcc_host1_5v>;
-       status = "okay";
-};
-
-/*
- * This makes XHCI responsible for toggling VBUS. This is needed to work
- * around an issue where either XHCI only works with USB 2.0 or OTG doesn't
- * work, depending on how VBUS is configured. Having USB 3.0 seems better.
- */
-&vcc_host1_5v {
-       /delete-property/ regulator-always-on;
-};
-
 /* Need this and all the pinctrl/gpio stuff above to set pinmux */
 &vcc_sd {
        bootph-pre-ram;
index 088e21c76ab3bbb19ac3dbc3d6210b10c5000b92..1f220c6dcd0f16cf1667fd08043dc4c4b9d7f4a1 100644 (file)
        bootph-pre-ram;
 };
 
-&usb_host0_xhci {
-       vbus-supply = <&vcc_host_5v>;
-       status = "okay";
-};
-
 /* Need this and all the pinctrl/gpio stuff above to set pinmux */
 &vcc_sd {
        bootph-pre-ram;
index c20a99a620b381897053f1e740eaa43fc10d37da..849854302eeec18e6b167a4160cf33850267e89b 100644 (file)
        bootph-pre-ram;
 };
 
-&usb_host0_xhci {
-       vbus-supply = <&vcc_host_5v>;
-       status = "okay";
-};
-
-/*
- * This makes XHCI responsible for toggling VBUS. This is needed to work
- * around an issue where either XHCI only works with USB 2.0 or OTG doesn't
- * work, depending on how VBUS is configured. Having USB 3.0 seems better.
- */
-&vcc_host_5v {
-       /delete-property/ regulator-always-on;
-       /delete-property/ regulator-boot-on;
-};
-
 /* Need this and all the pinctrl/gpio stuff above to set pinmux */
 &vcc_sd {
        bootph-pre-ram;
index 668f8ca29d85f2c86db73bb03beba4b77f337974..ce96ce40a73b69368aa4c52eeaf60add732db7db 100644 (file)
                       0x0 0xff720000 0x0 0x1000
                       0x0 0xff798000 0x0 0x1000>;
        };
-
-       usb_host0_xhci: usb@ff600000 {
-               compatible = "rockchip,rk3328-xhci";
-               reg = <0x0 0xff600000 0x0 0x100000>;
-               interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
-               snps,dis-enblslpm-quirk;
-               snps,phyif-utmi-bits = <16>;
-               snps,dis-u2-freeclk-exists-quirk;
-               snps,dis-u2-susphy-quirk;
-               status = "disabled";
-       };
 };
 
 &cru {