Only rtc0 was aliased to the internal bbnsm_rtc, while the external
PCF2131 RTC had no fixed index. When both RTC drivers are built as
modules, the pcf2131 may probe first and take rtc0, pushing bbnsm_rtc
to rtc1. Since suspend/resume wakeup relies on the internal bbnsm RTC
being rtc0, this broke wakeup.
Add an rtc1 alias for the PCF2131 on the i.MX91 and i.MX93 EVK/QSB
boards, so the external RTC keeps a fixed index while bbnsm_rtc always
stays rtc0.
Signed-off-by: Joy Zou <redacted>
---
Joy Zou (2):
arm64: dts: imx91-evk/qsb: add rtc1 alias for external PCF2131 RTC
arm64: dts: imx93-evk/qsb: add rtc1 alias for external PCF2131 RTC
arch/arm64/boot/dts/freescale/imx91-11x11-evk.dts | 1 +
arch/arm64/boot/dts/freescale/imx91-9x9-qsb.dts | 1 +
arch/arm64/boot/dts/freescale/imx93-11x11-evk-common.dtsi | 1 +
arch/arm64/boot/dts/freescale/imx93-9x9-qsb.dts | 3 ++-
4 files changed, 5 insertions(+), 1 deletion(-)
---
base-commit: c68a982815dcce5464e3bf2a31ac94f5146c04ca
change-id: 20260914-b4_imx91_93_rtc-07d17cf027ab
Best regards,
--
Joy Zou [off-list ref]