]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
arm64: dts: imx8mp-beacon: Enable RTC interrupt and wakeup-source
authorAdam Ford <aford173@gmail.com>
Wed, 16 Apr 2025 01:01:36 +0000 (20:01 -0500)
committerShawn Guo <shawnguo@kernel.org>
Fri, 25 Apr 2025 02:05:05 +0000 (10:05 +0800)
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>
arch/arm64/boot/dts/freescale/imx8mp-beacon-som.dtsi

index 88561df70d03ac44aec425b705a08672d43208f0..6a62cb32e22ecea200ef89c546395a03595c34e7 100644 (file)
        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;
        };
 };
 
                >;
        };
 
+       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