Skip to content

Commit

Permalink
arm64: dts: verdin-imx8mp: add pcie support
Browse files Browse the repository at this point in the history
Add PCIe support on the Verdin iMX8M Plus.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
  • Loading branch information
ziswiler authored and Shawn Guo committed Mar 13, 2023
1 parent c083131 commit 93ba667
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 3 deletions.
9 changes: 8 additions & 1 deletion arch/arm64/boot/dts/freescale/imx8mp-verdin-dahlia.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,14 @@
/* TODO: Audio Codec */
};

/* TODO: Verdin PCIE_1 */
/* Verdin PCIE_1 */
&pcie {
status = "okay";
};

&pcie_phy {
status = "okay";
};

/* Verdin PWM_1 */
&pwm1 {
Expand Down
9 changes: 8 additions & 1 deletion arch/arm64/boot/dts/freescale/imx8mp-verdin-dev.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,14 @@
/* TODO: Audio Codec */
};

/* TODO: Verdin PCIE_1 */
/* Verdin PCIE_1 */
&pcie {
status = "okay";
};

&pcie_phy {
status = "okay";
};

/* Verdin PWM_1 */
&pwm1 {
Expand Down
15 changes: 14 additions & 1 deletion arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,20 @@
};
};

/* TODO: Verdin PCIE_1 */
/* Verdin PCIE_1 */
&pcie {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pcie>;
/* PCIE_1_RESET# (SODIMM 244) */
reset-gpio = <&gpio4 19 GPIO_ACTIVE_LOW>;
};

&pcie_phy {
clocks = <&hsio_blk_ctrl>;
clock-names = "ref";
fsl,clkreq-unsupported;
fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_OUTPUT>;
};

/* Verdin PWM_1 */
&pwm1 {
Expand Down

0 comments on commit 93ba667

Please sign in to comment.