Skip to content

Commit

Permalink
linux-variscite: Enable PCIE for var-som-mx8
Browse files Browse the repository at this point in the history
It was disabled for 6.1 kernel default DT

Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
kraj committed Mar 28, 2024
1 parent 82b5a81 commit b01177d
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
From 442ff80c5e32f6a01ec160b15efb8ada114beff5 Mon Sep 17 00:00:00 2001
From: Khem Raj <[email protected]>
Date: Tue, 26 Mar 2024 12:24:50 -0700
Subject: [PATCH] Enable PCIE for imx8qm-var-som

Upstream-Status: Pending

Signed-off-by: Khem Raj <[email protected]>
---
arch/arm64/boot/dts/freescale/imx8qm-var-som-symphony.dtsi | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/freescale/imx8qm-var-som-symphony.dtsi b/arch/arm64/boot/dts/freescale/imx8qm-var-som-symphony.dtsi
index 62d17f620822..f055d864df6d 100644
--- a/arch/arm64/boot/dts/freescale/imx8qm-var-som-symphony.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx8qm-var-som-symphony.dtsi
@@ -676,8 +676,12 @@ &mipi_csi_1 {
status = "disabled";
};

+&phyx2_0 {
+ fsl,refclk-pad-mode = <IMX8_PCIE_REFCLK_PAD_INPUT>;
+ status = "okay";
+};
+
&pciea{
- ext_osc = <1>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pciea>;
reset-gpio = <&lsio_gpio3 14 GPIO_ACTIVE_LOW>;
--
2.44.0

Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
SRC_URI += "file://overlayfs.cfg"
SRC_URI += "file://nologo.cfg"

SRC_URI += "file://0001-Enable-PCIE-for-imx8qm-var-som.patch"

0 comments on commit b01177d

Please sign in to comment.