overlays: i2c-rtc: Add RV3032 support
authorPhil Elwell <phil@raspberrypi.com>
Wed, 12 Oct 2022 09:04:31 +0000 (10:04 +0100)
committerPhil Elwell <phil@raspberrypi.com>
Wed, 12 Oct 2022 09:04:31 +0000 (10:04 +0100)
See: https://github.com/raspberrypi/linux/issues/5205

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
arch/arm/boot/dts/overlays/i2c-rtc-common.dtsi

index 5e03764..94b0243 100644 (file)
                };
        };
 
+       fragment@21 {
+               target = <&i2cbus>;
+               __dormant__ {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       rv3032: rv3032@51 {
+                               compatible = "microcrystal,rv3032";
+                               reg = <0x51>;
+                       };
+               };
+       };
+
 
        __overrides__ {
                abx80x = <0>,"+0";
                s35390a = <0>,"+18";
                bq32000 = <0>,"+19";
                rv8803 = <0>,"+20";
+               rv3032 = <0>,"+21";
 
                addr = <&abx80x>, "reg:0",
                       <&ds1307>, "reg:0",