LF-1383-08 arm64: dts: freescale: Add the hsio subsys dtsi on imx8dxl
authorJacky Bai <ping.bai@nxp.com>
Tue, 18 Aug 2020 02:05:49 +0000 (10:05 +0800)
committerDong Aisheng <aisheng.dong@nxp.com>
Mon, 14 Dec 2020 03:23:05 +0000 (11:23 +0800)
On i.MX8DXL, the hsio subsystem includes 1x PCIe version 3.0 with 1-lane.
Compared to the the common imx8-ss-hsio.dtsi, some interrupt propterty
need to be updated, and a phyx1_lpcg node is added.

Signed-off-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Dong Aisheng <aisheng.dong@nxp.com>
arch/arm64/boot/dts/freescale/imx8dxl-ss-hsio.dtsi [new file with mode: 0644]

diff --git a/arch/arm64/boot/dts/freescale/imx8dxl-ss-hsio.dtsi b/arch/arm64/boot/dts/freescale/imx8dxl-ss-hsio.dtsi
new file mode 100644 (file)
index 0000000..17cee8a
--- /dev/null
@@ -0,0 +1,33 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright 2019~2020 NXP
+ */
+
+&hsio_subsys {
+       phyx1_lpcg: clock-controller@5f090000 {
+               compatible = "fsl,imx8qxp-lpcg";
+               reg = <0x5f090000 0x10000>;
+               #clock-cells = <1>;
+               clocks = <&hsio_refb_clk>, <&hsio_per_clk>,
+                       <&hsio_per_clk>, <&hsio_per_clk>;
+               bit-offset = <0 4 8 16>;
+               clock-output-names = "hsio_phyx1_pclk",
+                                    "hsio_phyx1_epcs_tx_clk",
+                                    "hsio_phyx1_epcs_rx_clk",
+                                    "hsio_phyx1_apb_clk";
+               power-domains = <&pd IMX_SC_R_SERDES_1>;
+       };
+};
+
+&pcieb {
+       compatible = "fsl,imx8dxl-pcie", "fsl,imx8qxp-pcie", "snps,dw-pcie";
+       interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>,
+                                <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
+       interrupt-names = "msi", "dma";
+       #interrupt-cells = <1>;
+       interrupt-map-mask = <0 0 0 0x7>;
+       interrupt-map =  <0 0 0 1 &gic 0 47 4>,
+                        <0 0 0 2 &gic 0 48 4>,
+                        <0 0 0 3 &gic 0 49 4>,
+                        <0 0 0 4 &gic 0 50 4>;
+};