diff options
author | Jonas Karlman <jonas@kwiboo.se> | 2023-07-31 04:28:34 +0000 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2023-07-31 17:34:43 +0800 |
commit | def50c66ccc839da8df8e31a4e3a7decaaaa2b17 (patch) | |
tree | 3e734403fc15691db417154dd509c5271d54bb70 /arch/arm | |
parent | 747f9f26633835bb1f80efac2270d075666cccf1 (diff) | |
download | u-boot-def50c66ccc839da8df8e31a4e3a7decaaaa2b17.zip u-boot-def50c66ccc839da8df8e31a4e3a7decaaaa2b17.tar.gz u-boot-def50c66ccc839da8df8e31a4e3a7decaaaa2b17.tar.bz2 |
rockchip: rk3568-rock-3a: Fix pcie2x1 and pcie3x2 pinctrl override
The pcie pinctrl override added in the commit a76aa6ffa6cd ("rockchip:
rk3568-rock-3a: Enable PCIe and NVMe support") is causing a pinmux issue
on linux when using a EFI boot flow.
The pcie reset-gpios must however be configured with gpio function, or
the device will freeze running pci enum and nothing is connected.
Adjust the pinctrl override in u-boot.dtsi to fix this issue. PCIe/NVMe
continues to work in both U-Boot and linux after this change.
Also revert disable of sdmmc2 and uart1 to fix use of wifi in linux when
using a EFI boot flow.
Fixes: a76aa6ffa6cd ("rockchip: rk3568-rock-3a: Enable PCIe and NVMe support")
Fixes: 073d911ae64a ("rockchip: rk3568-rock-3a: Sync device tree from linux")
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/dts/rk3568-rock-3a-u-boot.dtsi | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/arch/arm/dts/rk3568-rock-3a-u-boot.dtsi b/arch/arm/dts/rk3568-rock-3a-u-boot.dtsi index a36a329..b05b715 100644 --- a/arch/arm/dts/rk3568-rock-3a-u-boot.dtsi +++ b/arch/arm/dts/rk3568-rock-3a-u-boot.dtsi @@ -12,12 +12,8 @@ }; }; -&pcie2x1 { - pinctrl-0 = <&pcie20m1_pins &pcie_reset_h>; -}; - &pcie3x2 { - pinctrl-0 = <&pcie30x2m1_pins &pcie3x2_reset_h>; + pinctrl-0 = <&pcie3x2_reset_h>; }; &pinctrl { @@ -53,14 +49,6 @@ }; }; -&sdmmc2 { - status = "disabled"; -}; - -&uart1 { - status = "disabled"; -}; - &uart2 { clock-frequency = <24000000>; bootph-all; |