2020-12-04 14:33:50 +08:00
|
|
|
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2020 Rockchip Electronics Co., Ltd.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include "rk3568.dtsi"
|
|
|
|
|
|
|
|
|
|
/ {
|
|
|
|
|
aliases {
|
|
|
|
|
/delete-property/ ethernet0;
|
2023-10-25 19:17:49 +08:00
|
|
|
/delete-property/ lvds1;
|
2020-12-04 14:33:50 +08:00
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
&cpu0_opp_table {
|
|
|
|
|
/delete-node/ opp-1992000000;
|
|
|
|
|
};
|
|
|
|
|
|
2021-09-02 11:27:38 +08:00
|
|
|
&lpddr4_params {
|
|
|
|
|
/* freq info, freq_0 is final frequency, unit: MHz */
|
|
|
|
|
freq_0 = <1056>;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
&lpddr4x_params {
|
|
|
|
|
/* freq info, freq_0 is final frequency, unit: MHz */
|
|
|
|
|
freq_0 = <1056>;
|
|
|
|
|
};
|
|
|
|
|
|
2020-12-04 14:33:50 +08:00
|
|
|
&power {
|
|
|
|
|
pd_pipe@RK3568_PD_PIPE {
|
|
|
|
|
reg = <RK3568_PD_PIPE>;
|
|
|
|
|
clocks = <&cru PCLK_PIPE>;
|
|
|
|
|
pm_qos = <&qos_pcie2x1>,
|
|
|
|
|
<&qos_sata1>,
|
2021-03-08 09:14:31 +08:00
|
|
|
<&qos_sata2>,
|
2020-12-04 14:33:50 +08:00
|
|
|
<&qos_usb3_0>,
|
|
|
|
|
<&qos_usb3_1>;
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
2020-12-21 17:11:45 +08:00
|
|
|
&rkisp {
|
2023-03-16 16:12:32 +08:00
|
|
|
rockchip,iq-feature = /bits/ 64 <0x1BFBF7FE67FF>;
|
2020-12-21 17:11:45 +08:00
|
|
|
};
|
|
|
|
|
|
2020-12-04 14:33:50 +08:00
|
|
|
&usbdrd_dwc3 {
|
|
|
|
|
phys = <&u2phy0_otg>;
|
|
|
|
|
phy-names = "usb2-phy";
|
|
|
|
|
extcon = <&usb2phy0>;
|
|
|
|
|
maximum-speed = "high-speed";
|
2020-12-23 17:44:04 +08:00
|
|
|
snps,dis_u2_susphy_quirk;
|
arm64: dts: rockchip: rk3566: disable usb2 lpm for xhci
The xHCI specification 1.1 does not require xHCI-compliant
controllers to always enable hardware USB2 LPM. However,
the current xHCI driver always enable it when seeing HLC=1.
On rk3566 platforms, the xHCI USB2 LPM is enabled by default.
And we found that a lot of USB Disks have USB2 HW LPM broken
issue when connected to rk3566 USB2 OTG interface.
Here are a part of special USB Disks with USB2 HW LPM broken:
1. idVendor=325d, idProduct=6410, Manufacturer: aigo
2. idVendor=21c4, idProduct=0cd1, Manufacturer: Lexar
3. idVendor=0951, idProduct=1666, Manufacturer: Kingston
When use dd command to write to these USB Disks, it may fail
with the following log:
[ 2844.700148] usb 7-1: reset high-speed USB device number 4 using xhci-hcd
[ 2889.072272] usb 7-1: reset high-speed USB device number 4 using xhci-hcd
[ 2921.498045] usb 7-1: reset high-speed USB device number 4 using xhci-hcd
......
[ 2953.923773] usb 7-1: reset high-speed USB device number 4 using xhci-hcd
Theoretically, we can add USB_QUIRK_NO_LPM individually for
these special USB Disks, however, it's diffcult to cover all
USB Disks. So it's better to disable the USB2 LPM for xHCI
on rk3566 platforms.
Change-Id: I2c180b68f41a4d25a4c860c32550f3a406eb2028
Signed-off-by: William Wu <william.wu@rock-chips.com>
2022-07-31 16:16:44 +08:00
|
|
|
snps,usb2-lpm-disable;
|
2020-12-04 14:33:50 +08:00
|
|
|
};
|
|
|
|
|
|
2021-03-10 19:57:05 +08:00
|
|
|
/delete-node/ &combphy0_us;
|
2020-12-04 14:33:50 +08:00
|
|
|
/delete-node/ &gmac0_clkin;
|
2020-12-31 18:34:12 +08:00
|
|
|
/delete-node/ &gmac0_xpcsclk;
|
2020-12-04 14:33:50 +08:00
|
|
|
/delete-node/ &gmac0;
|
2023-03-05 20:43:16 +08:00
|
|
|
/delete-node/ &gmac_uio0;
|
2023-10-25 19:17:49 +08:00
|
|
|
/delete-node/ &lvds1;
|
2020-12-04 14:33:50 +08:00
|
|
|
/delete-node/ &pcie30_phy_grf;
|
|
|
|
|
/delete-node/ &pcie30phy;
|
|
|
|
|
/delete-node/ &pcie3x1;
|
|
|
|
|
/delete-node/ &pcie3x2;
|
|
|
|
|
/delete-node/ &qos_pcie3x1;
|
|
|
|
|
/delete-node/ &qos_pcie3x2;
|
2021-03-08 09:14:31 +08:00
|
|
|
/delete-node/ &qos_sata0;
|
|
|
|
|
/delete-node/ &sata0;
|
2023-10-25 19:17:49 +08:00
|
|
|
/delete-node/ &vp1_out_lvds1;
|
|
|
|
|
/delete-node/ &vp2_out_lvds1;
|