diff options
author | Adam Ford <aford173@gmail.com> | 2025-04-15 20:01:36 -0500 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2025-04-25 10:05:05 +0800 |
commit | 8dd0e8a4966804e8aaf40c03e508191256e1437b (patch) | |
tree | 130bc4d80d09b5031e794be28c37ec3e8af11496 | |
parent | 12cc5a3898db7ea2ee756672f511a2cde370142a (diff) |
arm64: dts: imx8mp-beacon: Enable RTC interrupt and wakeup-source
Enable the interrupts and wakeup-source to allow the external RTC to be
used as an alarm.
Signed-off-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8mp-beacon-som.dtsi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mp-beacon-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-beacon-som.dtsi index 88561df70d03..6a62cb32e22e 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-beacon-som.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp-beacon-som.dtsi @@ -257,7 +257,12 @@ rtc: rtc@51 { compatible = "nxp,pcf85263"; reg = <0x51>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_rtc>; + interrupt-parent = <&gpio1>; + interrupts = <13 IRQ_TYPE_LEVEL_LOW>; quartz-load-femtofarads = <12500>; + wakeup-source; }; }; @@ -382,6 +387,12 @@ >; }; + pinctrl_rtc: rtcgrp { + fsl,pins = < + MX8MP_IOMUXC_GPIO1_IO13__GPIO1_IO13 0x1d0 + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < MX8MP_IOMUXC_UART1_RXD__UART1_DCE_RX 0x140 |