[PATCH v4 2/2] ARM: dts: bcm2711-rpi-cm4-io: Add RTC on I2C0
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Mon Jul 31 14:55:15 PDT 2023
From: Uwe Kleine-König <uwe at kleine-koenig.org>
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 at kleine-koenig.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
Changes since v3:
- Separate addition of the RTC to a patch of its own
---
arch/arm/boot/dts/bcm2711-rpi-cm4-io.dts | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/arch/arm/boot/dts/bcm2711-rpi-cm4-io.dts b/arch/arm/boot/dts/bcm2711-rpi-cm4-io.dts
index d7ba02f586d3..0d9b328a215a 100644
--- a/arch/arm/boot/dts/bcm2711-rpi-cm4-io.dts
+++ b/arch/arm/boot/dts/bcm2711-rpi-cm4-io.dts
@@ -101,6 +101,22 @@ &genet {
status = "okay";
};
+&i2c0 {
+ status = "okay";
+};
+
+&i2c0_1 {
+ rtc at 51 {
+ /* Attention: An alarm resets the machine */
+ compatible = "nxp,pcf85063";
+ reg = <0x51>;
+ };
+};
+
+&i2c0mux {
+ status = "okay";
+};
+
&led_act {
gpios = <&gpio 42 GPIO_ACTIVE_HIGH>;
};
--
Regards,
Laurent Pinchart
More information about the linux-arm-kernel
mailing list