summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi
diff options
context:
space:
mode:
authorFrank Li <Frank.Li@nxp.com>2020-02-18 13:23:16 -0600
committerFrank Li <Frank.Li@nxp.com>2020-02-21 13:58:07 -0600
commit37bdd12015a7d26d86c029b850afefda1af6ecbb (patch)
tree6e67a93aa1ab40655d8eb726bd6ae018feeb40a9 /arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi
parent87cbc83370946fb691ad270ec588a5d8afd878fd (diff)
MLK-23346-2 DXL: enable second USB controller
basic host and peripheral work Reviewed-by: Peter Chen <peter.chen@nxp.com> Signed-off-by: Frank Li <Frank.Li@nxp.com>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi')
-rw-r--r--arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi50
1 files changed, 49 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi b/arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi
index 9e3256d65b7d..d1ca25c835e2 100644
--- a/arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8dxl-ss-conn.dtsi
@@ -35,7 +35,7 @@
/*
* usbotg1 and usbotg2 share one clcok
* scfw disable clock access and keep it always on
- * incase other core (M4) use one of these.
+ * in case other core (M4) use one of these.
*/
clocks = <&clk_dummy>;
};
@@ -45,6 +45,18 @@
};
&conn_subsys {
+
+ usb2_2_lpcg: clock-controller@5b280000 {
+ compatible = "fsl,imx8qxp-lpcg";
+ reg = <0x5b280000 0x10000>;
+ #clock-cells = <1>;
+
+ bit-offset = <28>;
+ clocks = <&conn_ipg_clk>;
+ clock-output-names = "usboh3_2_ahb_clk";
+ power-domains = <&pd IMX_SC_R_USB_1_PHY>;
+ };
+
conn_enet0_root_clk: clock-conn-enet0-root {
compatible = "fixed-clock";
#clock-cells = <0>;
@@ -89,4 +101,40 @@
clk_csr = <0>;
status = "disabled";
};
+
+ usbphy2: usbphy@0x5b110000 {
+ compatible = "fsl,imx8qm-usbphy", "fsl,imx7ulp-usbphy", "fsl,imx6ul-usbphy", "fsl,imx23-usbphy";
+ reg = <0x5b110000 0x1000>;
+ clocks = <&usb2_2_lpcg 0>;
+ power-domains = <&pd IMX_SC_R_USB_1_PHY>;
+ status = "disabled";
+ };
+
+ usbotg2: usb@5b0e0000 {
+ compatible = "fsl,imx8qm-usb", "fsl,imx27-usb";
+ reg = <0x5b0e0000 0x200>;
+ interrupt-parent = <&gic>;
+ interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
+ fsl,usbphy = <&usbphy2>;
+ fsl,usbmisc = <&usbmisc2 0>;
+ /*
+ * usbotg1 and usbotg2 share one clcok
+ * scfw disable clock access and keep it always on
+ * in case other core (M4) use one of these.
+ */
+ clocks = <&clk_dummy>;
+ ahb-burst-config = <0x0>;
+ tx-burst-size-dword = <0x10>;
+ rx-burst-size-dword = <0x10>;
+ #stream-id-cells = <1>;
+ power-domains = <&pd IMX_SC_R_USB_1>;
+ status = "disabled";
+ };
+
+ usbmisc2: usbmisc@5b0e0200 {
+ #index-cells = <1>;
+ compatible = "fsl,imx7ulp-usbmisc", "fsl,imx6q-usbmisc";
+ reg = <0x5b0e0200 0x200>;
+ };
+
};