[PATCH] ARM: dts: bcm2711-rpi-cm4-io: Add rtc on i2c0
Uwe Kleine-König
uwe at kleine-koenig.org
Mon Nov 22 07:26:48 PST 2021
The cm4-io board comes with an PCF85063. Add it to the device tree to make
it usable.
Signed-off-by: Uwe Kleine-König <uwe at kleine-koenig.org>
---
arch/arm/boot/dts/bcm2711-rpi-cm4-io.dts | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/boot/dts/bcm2711-rpi-cm4-io.dts b/arch/arm/boot/dts/bcm2711-rpi-cm4-io.dts
index 19600b629be5..1b67ad65e228 100644
--- a/arch/arm/boot/dts/bcm2711-rpi-cm4-io.dts
+++ b/arch/arm/boot/dts/bcm2711-rpi-cm4-io.dts
@@ -20,6 +20,17 @@ led-pwr {
};
};
+&i2c0 {
+ pinctrl-0 = <&i2c0_gpio44>;
+ status = "okay";
+
+ rtc at 51 {
+ /* Attention: An alarm resets the machine */
+ compatible = "nxp,pcf85063";
+ reg = <0x51>;
+ };
+};
+
&ddc0 {
status = "okay";
};
base-commit: 8ab774587903771821b59471cc723bba6d893942
--
2.30.2
More information about the linux-arm-kernel
mailing list