1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2022 Edgeble AI Technologies Pvt. Ltd.
6 #include "rockchip-u-boot.dtsi"
14 compatible = "rockchip,rk3588-dmc";
19 usb_host0_xhci: usb@fc000000 {
20 compatible = "rockchip,rk3588-dwc3", "snps,dwc3";
21 reg = <0x0 0xfc000000 0x0 0x400000>;
22 interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH 0>;
23 clocks = <&cru REF_CLK_USB3OTG0>, <&cru SUSPEND_CLK_USB3OTG0>,
25 clock-names = "ref_clk", "suspend_clk", "bus_clk";
27 phys = <&u2phy0_otg>, <&usbdp_phy0_u3>;
28 phy-names = "usb2-phy", "usb3-phy";
29 phy_type = "utmi_wide";
30 power-domains = <&power RK3588_PD_USB>;
31 resets = <&cru SRST_A_USB3OTG0>;
32 snps,dis_enblslpm_quirk;
33 snps,dis-u1-entry-quirk;
34 snps,dis-u2-entry-quirk;
35 snps,dis-u2-freeclk-exists-quirk;
36 snps,dis-del-phy-power-chg-quirk;
37 snps,dis-tx-ipgap-linecheck-quirk;
41 usbdpphy0_grf: syscon@fd5c8000 {
42 compatible = "rockchip,rk3588-usbdpphy-grf", "syscon";
43 reg = <0x0 0xfd5c8000 0x0 0x4000>;
46 usb2phy0_grf: syscon@fd5d0000 {
47 compatible = "rockchip,rk3588-usb2phy-grf", "syscon",
49 reg = <0x0 0xfd5d0000 0x0 0x4000>;
54 compatible = "rockchip,rk3588-usb2phy";
56 interrupts = <GIC_SPI 393 IRQ_TYPE_LEVEL_HIGH 0>;
57 resets = <&cru SRST_OTGPHY_U3_0>, <&cru SRST_P_USB2PHY_U3_0_GRF0>;
58 reset-names = "phy", "apb";
59 clocks = <&cru CLK_USB2PHY_HDPTXRXPHY_REF>;
60 clock-names = "phyclk";
61 clock-output-names = "usb480m_phy0";
65 u2phy0_otg: otg-port {
72 vo0_grf: syscon@fd5a6000 {
73 compatible = "rockchip,rk3588-vo-grf", "syscon";
74 reg = <0x0 0xfd5a6000 0x0 0x2000>;
75 clocks = <&cru PCLK_VO0GRF>;
78 usb_grf: syscon@fd5ac000 {
79 compatible = "rockchip,rk3588-usb-grf", "syscon";
80 reg = <0x0 0xfd5ac000 0x0 0x4000>;
83 usbdpphy0_grf: syscon@fd5c8000 {
84 compatible = "rockchip,rk3588-usbdpphy-grf", "syscon";
85 reg = <0x0 0xfd5c8000 0x0 0x4000>;
89 compatible = "rockchip,trngv1";
90 reg = <0x0 0xfe378000 0x0 0x200>;
94 usbdp_phy0: phy@fed80000 {
95 compatible = "rockchip,rk3588-usbdp-phy";
96 reg = <0x0 0xfed80000 0x0 0x10000>;
97 rockchip,u2phy-grf = <&usb2phy0_grf>;
98 rockchip,usb-grf = <&usb_grf>;
99 rockchip,usbdpphy-grf = <&usbdpphy0_grf>;
100 rockchip,vo-grf = <&vo0_grf>;
101 clocks = <&cru CLK_USBDPPHY_MIPIDCPPHY_REF>,
102 <&cru CLK_USBDP_PHY0_IMMORTAL>,
103 <&cru PCLK_USBDPPHY0>,
105 clock-names = "refclk", "immortal", "pclk", "utmi";
106 resets = <&cru SRST_USBDP_COMBO_PHY0_INIT>,
107 <&cru SRST_USBDP_COMBO_PHY0_CMN>,
108 <&cru SRST_USBDP_COMBO_PHY0_LANE>,
109 <&cru SRST_USBDP_COMBO_PHY0_PCS>,
110 <&cru SRST_P_USBDPPHY0>;
111 reset-names = "init", "cmn", "lane", "pcs_apb", "pma_apb";
114 usbdp_phy0_dp: dp-port {
119 usbdp_phy0_u3: usb3-port {
154 &pcfg_pull_up_drv_level_2 {
191 u-boot,spl-fifo-mode;
196 u-boot,spl-fifo-mode;
216 clock-frequency = <24000000>;
229 #ifdef CONFIG_ROCKCHIP_SPI_IMAGE
233 args = "-n", CONFIG_SYS_SOC, "-T", "rksd";