diff --git a/arch/arm/boot/dts/rv1106.dtsi b/arch/arm/boot/dts/rv1106.dtsi index e06b32af639c..cb3dd7b623a4 100644 --- a/arch/arm/boot/dts/rv1106.dtsi +++ b/arch/arm/boot/dts/rv1106.dtsi @@ -177,6 +177,29 @@ <200000000>; }; + u2phy: usb2-phy@ff3e0000 { + compatible = "rockchip,rv1106-usb2phy"; + reg = <0xff3e0000 0x8000>; + rockchip,grf = <&peri_grf>; + clocks = <&cru CLK_REF_USBPHY>, <&cru PCLK_USBPHY>; + clock-names = "phyclk", "pclk"; + resets = <&cru SRST_USBPHY_POR>, <&cru SRST_P_USBPHY>; + reset-names = "u2phy", "u2phy-apb"; + #clock-cells = <0>; + status = "disabled"; + + u2phy_otg: otg-port { + #phy-cells = <0>; + interrupts = , + , + , + ; + interrupt-names = "otg-bvalid", "otg-id", + "linestate", "disconnect"; + status = "disabled"; + }; + }; + dmac: dma-controller@ff420000 { compatible = "arm,pl330", "arm,primecell"; reg = <0xff420000 0x4000>; @@ -357,4 +380,34 @@ #sound-dai-cells = <0>; status = "disabled"; }; + + usbdrd: usbdrd { + compatible = "rockchip,rv1106-dwc3", "rockchip,rk3399-dwc3"; + clocks = <&cru CLK_REF_USBOTG>, <&cru CLK_UTMI_USBOTG>, + <&cru ACLK_USBOTG>; + clock-names = "ref", "utmi", "bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges; + status = "disabled"; + + usbdrd_dwc3: usb@ffb00000 { + compatible = "snps,dwc3"; + reg = <0xffb00000 0x100000>; + interrupts = ; + resets = <&cru SRST_A_USBOTG>; + reset-names = "usb3-otg"; + dr_mode = "otg"; + maximum-speed = "high-speed"; + phys = <&u2phy_otg>; + phy-names = "usb2-phy"; + phy_type = "utmi_wide"; + snps,dis_enblslpm_quirk; + snps,dis-u2-freeclk-exists-quirk; + snps,dis_u2_susphy_quirk; + snps,dis-del-phy-power-chg-quirk; + snps,dis-tx-ipgap-linecheck-quirk; + status = "disabled"; + }; + }; };