From: Adam Ford Date: Wed, 16 Apr 2025 01:01:35 +0000 (-0500) Subject: arm64: dts: imx8mn-beacon: Enable RTC interrupt and wakeup-source X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=12cc5a3898db7ea2ee756672f511a2cde370142a;p=users%2Fwilly%2Fxarray.git arm64: dts: imx8mn-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 Reviewed-by: Frank Li Signed-off-by: Shawn Guo --- diff --git a/arch/arm64/boot/dts/freescale/imx8mn-beacon-som.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-beacon-som.dtsi index b3692b367a42..987c14d3af9d 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-beacon-som.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn-beacon-som.dtsi @@ -245,7 +245,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; }; }; @@ -365,6 +370,12 @@ >; }; + pinctrl_rtc: rtcgrp { + fsl,pins = < + MX8MN_IOMUXC_GPIO1_IO13_GPIO1_IO13 0x146 + >; + }; + pinctrl_uart1: uart1grp { fsl,pins = < MX8MN_IOMUXC_UART1_RXD_UART1_DCE_RX 0x140