xref: /freebsd/sys/contrib/device-tree/src/arm64/freescale/imx8dxl-ss-hsio.dtsi (revision ae5de77ed78ae54d86cead5604869212e8008e6b)
15f62a964SEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0+
25f62a964SEmmanuel Vadot/*
35f62a964SEmmanuel Vadot * Copyright 2024 NXP
45f62a964SEmmanuel Vadot */
55f62a964SEmmanuel Vadot
65f62a964SEmmanuel Vadot&hsio_subsys {
75f62a964SEmmanuel Vadot	phyx1_lpcg: clock-controller@5f090000 {
85f62a964SEmmanuel Vadot		compatible = "fsl,imx8qxp-lpcg";
95f62a964SEmmanuel Vadot		reg = <0x5f090000 0x10000>;
105f62a964SEmmanuel Vadot		clocks = <&hsio_refb_clk>, <&hsio_per_clk>,
115f62a964SEmmanuel Vadot			 <&hsio_per_clk>, <&hsio_per_clk>;
125f62a964SEmmanuel Vadot		#clock-cells = <1>;
135f62a964SEmmanuel Vadot		clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_1>,
145f62a964SEmmanuel Vadot				<IMX_LPCG_CLK_2>, <IMX_LPCG_CLK_4>;
155f62a964SEmmanuel Vadot		clock-output-names = "hsio_phyx1_pclk",
165f62a964SEmmanuel Vadot				     "hsio_phyx1_epcs_tx_clk",
175f62a964SEmmanuel Vadot				     "hsio_phyx1_epcs_rx_clk",
185f62a964SEmmanuel Vadot				     "hsio_phyx1_apb_clk";
195f62a964SEmmanuel Vadot		power-domains = <&pd IMX_SC_R_SERDES_1>;
205f62a964SEmmanuel Vadot	};
215f62a964SEmmanuel Vadot
225f62a964SEmmanuel Vadot	hsio_phy: phy@5f1a0000 {
235f62a964SEmmanuel Vadot		compatible = "fsl,imx8qxp-hsio";
245f62a964SEmmanuel Vadot		reg = <0x5f1a0000 0x10000>,
255f62a964SEmmanuel Vadot		      <0x5f120000 0x10000>,
265f62a964SEmmanuel Vadot		      <0x5f140000 0x10000>,
275f62a964SEmmanuel Vadot		      <0x5f160000 0x10000>;
285f62a964SEmmanuel Vadot		reg-names = "reg", "phy", "ctrl", "misc";
295f62a964SEmmanuel Vadot		clocks = <&phyx1_lpcg IMX_LPCG_CLK_0>,
305f62a964SEmmanuel Vadot			 <&phyx1_lpcg IMX_LPCG_CLK_4>,
315f62a964SEmmanuel Vadot			 <&phyx1_crr1_lpcg IMX_LPCG_CLK_4>,
325f62a964SEmmanuel Vadot			 <&pcieb_crr3_lpcg IMX_LPCG_CLK_4>,
335f62a964SEmmanuel Vadot			 <&misc_crr5_lpcg IMX_LPCG_CLK_4>;
345f62a964SEmmanuel Vadot		clock-names = "pclk0", "apb_pclk0", "phy0_crr", "ctl0_crr",
355f62a964SEmmanuel Vadot			      "misc_crr";
365f62a964SEmmanuel Vadot		#phy-cells = <3>;
375f62a964SEmmanuel Vadot		power-domains = <&pd IMX_SC_R_SERDES_1>;
385f62a964SEmmanuel Vadot		status = "disabled";
395f62a964SEmmanuel Vadot	};
405f62a964SEmmanuel Vadot
41*ae5de77eSEmmanuel Vadot	pcie0: pcie@5f010000 {
425f62a964SEmmanuel Vadot		#interrupt-cells = <1>;
435f62a964SEmmanuel Vadot		interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>;
445f62a964SEmmanuel Vadot		interrupt-names = "msi";
455f62a964SEmmanuel Vadot		interrupt-map = <0 0 0 1 &gic 0 47 4>,
465f62a964SEmmanuel Vadot				<0 0 0 2 &gic 0 48 4>,
475f62a964SEmmanuel Vadot				<0 0 0 3 &gic 0 49 4>,
485f62a964SEmmanuel Vadot				<0 0 0 4 &gic 0 50 4>;
495f62a964SEmmanuel Vadot		interrupt-map-mask = <0 0 0 0x7>;
505f62a964SEmmanuel Vadot	};
51*ae5de77eSEmmanuel Vadot
52*ae5de77eSEmmanuel Vadot	pcie0_ep: pcie-ep@5f010000 {
53*ae5de77eSEmmanuel Vadot		interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
54*ae5de77eSEmmanuel Vadot		interrupt-names = "dma";
55*ae5de77eSEmmanuel Vadot	};
56*ae5de77eSEmmanuel Vadot};
57