diff options
| author | Ganbold Tsagaankhuu <ganbold@FreeBSD.org> | 2020-01-29 12:10:42 +0000 |
|---|---|---|
| committer | Ganbold Tsagaankhuu <ganbold@FreeBSD.org> | 2020-01-29 12:10:42 +0000 |
| commit | 9eea475074eaf17f53f73ed6584fa49291bb3e89 (patch) | |
| tree | c22bf3ee1da0e3b24079cd73fa2958d5b772d068 /sys/dts | |
| parent | b70f6e15139906815d6dea9d16e580d1701e4278 (diff) | |
Notes
Diffstat (limited to 'sys/dts')
| -rw-r--r-- | sys/dts/arm64/overlays/rk3328-dwc3.dtso | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/sys/dts/arm64/overlays/rk3328-dwc3.dtso b/sys/dts/arm64/overlays/rk3328-dwc3.dtso new file mode 100644 index 000000000000..bade60b60d57 --- /dev/null +++ b/sys/dts/arm64/overlays/rk3328-dwc3.dtso @@ -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"; + }; + }; +}; |
