ARM: dts: bcm2711-rpi-cm4-io: Add RTC on I2C0
authorUwe Kleine-König <uwe@kleine-koenig.org>
Tue, 2 Apr 2024 00:04:15 +0000 (03:04 +0300)
committerFlorian Fainelli <florian.fainelli@broadcom.com>
Thu, 4 Apr 2024 16:49:35 +0000 (09:49 -0700)
The cm4-io board comes with a PCF85063 on I2C0, connected to the GPIO44
and GPIO45 pins. Add it to the device tree.

Signed-off-by: Uwe Kleine-König <uwe@kleine-koenig.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Link: https://lore.kernel.org/r/20240402000424.4650-9-laurent.pinchart@ideasonboard.com
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4-io.dts

index d7ba02f586d30f6e37b4b2eeb4bb4860a6eee775..7c6a5bdf48aa1cff30664054770af9effe6a99f8 100644 (file)
        status = "okay";
 };
 
+&i2c0_1 {
+       rtc@51 {
+               /* Attention: An alarm resets the machine */
+               compatible = "nxp,pcf85063a";
+               reg = <0x51>;
+               quartz-load-femtofarads = <7000>;
+       };
+};
+
 &led_act {
        gpios = <&gpio 42 GPIO_ACTIVE_HIGH>;
 };