d691e9931bbab18b81a2d9845294d84180c15ad9
[openwrt/staging/blogic.git] /
1 From a9b4f52e26299eb51f2615fb97214b45012ae59e Mon Sep 17 00:00:00 2001
2 From: Phil Howard <phil@gadgetoid.com>
3 Date: Fri, 29 Mar 2019 10:59:55 +0000
4 Subject: [PATCH 424/782] overlays: Add rv3028 backup switchover support to
5 i2c-rtc
6
7 Signed-off-by: Phil Howard <phil@pimoroni.com>
8 ---
9 arch/arm/boot/dts/overlays/README | 3 +++
10 arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts | 1 +
11 2 files changed, 4 insertions(+)
12
13 --- a/arch/arm/boot/dts/overlays/README
14 +++ b/arch/arm/boot/dts/overlays/README
15 @@ -1013,6 +1013,9 @@ Params: abx80x Select o
16 wakeup-source Specify that the RTC can be used as a wakeup
17 source
18
19 + backup-switchover-mode Backup power supply switch mode. Must be 0 for
20 + off or 1 for Vdd < VBackup (RV3028 only)
21 +
22
23 Name: i2c-rtc-gpio
24 Info: Adds support for a number of I2C Real Time Clock devices
25 --- a/arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts
26 +++ b/arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts
27 @@ -200,6 +200,7 @@
28 trickle-resistor-ohms = <&ds1339>,"trickle-resistor-ohms:0",
29 <&abx80x>,"abracon,tc-resistor",
30 <&rv3028>,"trickle-resistor-ohms:0";
31 + backup-switchover-mode = <&rv3028>,"backup-switchover-mode:0";
32 wakeup-source = <&ds1339>,"wakeup-source?",
33 <&ds3231>,"wakeup-source?",
34 <&mcp7940x>,"wakeup-source?",