Message ID | 20230201143431.863784-8-frieder@fris.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Enable backup switch mode on RTCs via devicetree | expand |
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-kontron-osm-s.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-kontron-osm-s.dtsi index 131f98cf5a04..5188b5b718a0 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-kontron-osm-s.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-kontron-osm-s.dtsi @@ -4,6 +4,7 @@ */ #include <dt-bindings/interrupt-controller/irq.h> +#include <dt-bindings/rtc/rtc.h> #include "imx8mm.dtsi" / { @@ -206,6 +207,7 @@ rtc@52 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_rtc>; interrupts-extended = <&gpio4 1 IRQ_TYPE_LEVEL_HIGH>; + backup-switch-mode = <RTC_BSM_LEVEL>; }; };