Add an overlay for RK3328 USB3 node.
It doesn't exist in mainline dts due to the issues related with detaching and reattaching USB3 devices as mentioned in https://patchwork.kernel.org/patch/10853381/ In case of FreeBSD, as a temporary workaround "usbconfig reset" command can fix the problem. Reviewed by: manu
This commit is contained in:
parent
7eb7521ace
commit
81f2b0121d
39
sys/dts/arm64/overlays/rk3328-dwc3.dtso
Normal file
39
sys/dts/arm64/overlays/rk3328-dwc3.dtso
Normal file
@ -0,0 +1,39 @@
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
#include <dt-bindings/clock/rk3328-cru.h>
|
||||
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
|
||||
/ {
|
||||
compatible = "rockchip,rk3328";
|
||||
};
|
||||
|
||||
&{/} {
|
||||
usbdrd3: usb@ff600000 {
|
||||
compatible = "rockchip,rk3328-dwc3";
|
||||
clocks = <&cru SCLK_USB3OTG_REF>, <&cru SCLK_USB3OTG_SUSPEND>,
|
||||
<&cru ACLK_USB3OTG>;
|
||||
clock-names = "ref_clk", "suspend_clk",
|
||||
"bus_clk";
|
||||
#address-cells = <2>;
|
||||
#size-cells = <2>;
|
||||
ranges;
|
||||
status = "okay";
|
||||
|
||||
usbdrd_dwc3: dwc3@ff600000 {
|
||||
compatible = "snps,dwc3";
|
||||
reg = <0x0 0xff600000 0x0 0x100000>;
|
||||
interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
|
||||
dr_mode = "host";
|
||||
phy_type = "utmi_wide";
|
||||
snps,dis_enblslpm_quirk;
|
||||
snps,dis-u2-freeclk-exists-quirk;
|
||||
snps,dis_u2_susphy_quirk;
|
||||
snps,dis_u3_susphy_quirk;
|
||||
snps,dis-del-phy-power-chg-quirk;
|
||||
snps,dis-tx-ipgap-linecheck-quirk;
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
};
|
@ -7,4 +7,6 @@ DTS= \
|
||||
rockchip/rk3328-rock64.dts \
|
||||
rockchip/rk3399-rockpro64.dts
|
||||
|
||||
DTSO= rk3328-dwc3.dtso
|
||||
|
||||
.include <bsd.dtb.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user