1 From 8688b06ae53d6f60adcdcfe3d58ad7ef0ed7dba0 Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.com>
3 Date: Mon, 5 Oct 2020 16:10:26 +0100
4 Subject: [PATCH] overlays: Add sd3078 to the i2c-rtc overlay
6 Add support for the SD3078 RTC to the i2c-rtc overlay.
8 See: https://github.com/raspberrypi/linux/issues/3881
10 Signed-off-by: Phil Elwell <phil@raspberrypi.com>
12 arch/arm/boot/dts/overlays/README | 2 ++
13 arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts | 16 ++++++++++++++++
14 2 files changed, 18 insertions(+)
16 --- a/arch/arm/boot/dts/overlays/README
17 +++ b/arch/arm/boot/dts/overlays/README
18 @@ -1232,6 +1232,8 @@ Params: abx80x Select o
20 rv3028 Select the Micro Crystal RV3028 device
22 + sd3078 Select the ZXW Shenzhen whwave SD3078 device
24 addr Sets the address for the RTC. Note that the
25 device must be configured to use the specified
27 --- a/arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts
28 +++ b/arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts
34 + target = <&i2c_arm>;
36 + #address-cells = <1>;
41 + compatible = "whwave,sd3078";
57 addr = <&abx80x>, "reg:0",