@@ -22,6 +22,8 @@ properties:
interrupts:
maxItems: 1
+ backup-switch-mode: true
+
start-year: true
trickle-resistor-ohms:
@@ -40,6 +42,7 @@ additionalProperties: false
examples:
- |
#include <dt-bindings/interrupt-controller/irq.h>
+ #include <dt-bindings/rtc/rtc.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
@@ -49,6 +52,7 @@ examples:
reg = <0x52>;
pinctrl-0 = <&rtc_nint_pins>;
interrupts-extended = <&gpio1 16 IRQ_TYPE_LEVEL_HIGH>;
+ backup-switch-mode: <RTC_BSM_LEVEL>;
trickle-resistor-ohms = <3000>;
};
};