Skip to content

Commit

Permalink
rockchip: rk3568-radxa-e25: Enable pcie3x1 node
Browse files Browse the repository at this point in the history
Enable mini PCIe slot, pcie3x1 node, now that the PCIe PHY driver
support bifurcation.

A pinctrl is assigned for reset-gpios or the device may freeze running
pci enum and nothing is connected to the mini PCIe slot.

Also drop the AHCI_PCI Kconfig option as this option is not required for
a functional M.2 SATA drive slot.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
  • Loading branch information
Kwiboo committed Aug 1, 2023
1 parent 031df04 commit 4439243
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
11 changes: 9 additions & 2 deletions arch/arm/dts/rk3568-radxa-e25-u-boot.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,16 @@
};
};

/* PCIe PHY driver in U-Boot does not support bifurcation */
&pcie3x1 {
status = "disabled";
pinctrl-0 = <&pcie30x1_reset_h>;
};

&pinctrl {
pcie {
pcie30x1_reset_h: pcie30x1-reset-h {
rockchip,pins = <0 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>;
};
};
};

&sdhci {
Expand Down
1 change: 0 additions & 1 deletion configs/radxa-e25-rk3568_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ CONFIG_OF_SPL_REMOVE_PROPS="clock-names interrupt-parent assigned-clocks assigne
CONFIG_SPL_DM_SEQ_ALIAS=y
CONFIG_SPL_REGMAP=y
CONFIG_SPL_SYSCON=y
CONFIG_AHCI_PCI=y
CONFIG_DWC_AHCI=y
CONFIG_SPL_CLK=y
CONFIG_ROCKCHIP_GPIO=y
Expand Down

0 comments on commit 4439243

Please sign in to comment.