The rk3588-rock-5-itx DT models the M.2 M-key NVMe and SATA PCIe
reference clocks (pcie30_port0_refclk, pcie30_port1_refclk) with
the "gated-fixed-clock" compatible, and references them from the
pcie3x4 and pcie3x2 clocks lists.  Without a driver for that
compatible, clk_get_by_index() returns -ENODEV and
pcie_dw_rockchip aborts probing both controllers, breaking NVMe
and SATA boot on this board since v2026.04:

  pcie_dw_rockchip pcie@fe150000: Can't get clock: -19
  pcie_dw_rockchip pcie@fe160000: Can't get clock: -19

Signed-off-by: Daniele Briguglio <[email protected]>
---
 configs/rock-5-itx-rk3588_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/rock-5-itx-rk3588_defconfig 
b/configs/rock-5-itx-rk3588_defconfig
index cb014de41..def626878 100644
--- a/configs/rock-5-itx-rk3588_defconfig
+++ b/configs/rock-5-itx-rk3588_defconfig
@@ -52,6 +52,7 @@ CONFIG_AHCI=y
 CONFIG_AHCI_PCI=y
 CONFIG_DWC_AHCI=y
 CONFIG_SPL_CLK=y
+CONFIG_CLK_GATED_FIXED=y
 # CONFIG_USB_FUNCTION_FASTBOOT is not set
 CONFIG_ROCKCHIP_GPIO=y
 CONFIG_SYS_I2C_ROCKCHIP=y

-- 
2.47.3

Reply via email to