summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorUwe Kleine-König <uwe@kleine-koenig.org>2024-04-02 03:04:15 +0300
committerFlorian Fainelli <florian.fainelli@broadcom.com>2024-04-04 09:49:35 -0700
commitd72e40d41736d083e47dc50c6c2e1d59e5af6944 (patch)
treec307bc92ff2ab356ee7ad0ce222b12006a82af75 /arch/arm
parent84b1d6cc3e4cc49f04aaacc5e0094c221a772cf0 (diff)
downloadlinux-stable-d72e40d41736d083e47dc50c6c2e1d59e5af6944.tar.gz
linux-stable-d72e40d41736d083e47dc50c6c2e1d59e5af6944.tar.bz2
linux-stable-d72e40d41736d083e47dc50c6c2e1d59e5af6944.zip
ARM: dts: bcm2711-rpi-cm4-io: Add RTC on I2C0
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>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4-io.dts9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4-io.dts b/arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4-io.dts
index d7ba02f586d3..7c6a5bdf48aa 100644
--- a/arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4-io.dts
+++ b/arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4-io.dts
@@ -101,6 +101,15 @@
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>;
};