overlays: i2c-rtc: Add pcf85363 support
authorPhil Elwell <phil@raspberrypi.org>
Sun, 22 Dec 2019 15:29:40 +0000 (15:29 +0000)
committerpopcornmix <popcornmix@gmail.com>
Wed, 1 Jul 2020 15:33:13 +0000 (16:33 +0100)
See: https://github.com/raspberrypi/firmware/issues/1309

Signed-off-by: Phil Elwell <phil@raspberrypi.org>
arch/arm/boot/dts/overlays/README
arch/arm/boot/dts/overlays/i2c-rtc-overlay.dts

index 26b0b9b..e40ab82 100644 (file)
@@ -1078,6 +1078,8 @@ Params: abx80x                  Select one of the ABx80x family:
 
         pcf8523                 Select the PCF8523 device
 
+        pcf85363                Select the PCF85363 device
+
         pcf8563                 Select the PCF8563 device
 
         rv3028                  Select the Micro Crystal RV3028 device
index af5ca04..5df390b 100644 (file)
                };
        };
 
+       fragment@12 {
+               target = <&i2c_arm>;
+              __dormant__ {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       status = "okay";
+
+                       pcf85363@51 {
+                               compatible = "nxp,pcf85363";
+                               reg = <0x51>;
+                               status = "okay";
+                       };
+               };
+       };
+
        __overrides__ {
                abx80x = <0>,"+0";
                ds1307 = <0>,"+1";
                m41t62 = <0>,"+9";
                rv3028 = <0>,"+10";
                pcf2129 = <0>,"+11";
+               pcf85363 = <0>,"+12";
 
                addr = <&abx80x>, "reg:0",
                       <&ds1307>, "reg:0",