ARM: dts: rockchip: Add usb nodes for rv1106

This patch adds u2phy node and usb controller node for rv1106.

Signed-off-by: William Wu <william.wu@rock-chips.com>
Change-Id: I368acc1dde145b3a985490667e2f4df748e3b3bd
This commit is contained in:
William Wu
2022-02-21 16:31:22 +08:00
committed by Tao Huang
parent 762bde6c28
commit 06f6b703b2

View File

@@ -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 = <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
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 = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
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";
};
};
};