Skip to content

Commit d72e40d

Browse files
ukleinekffainelli
authored andcommitted
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>
1 parent 84b1d6c commit d72e40d

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4-io.dts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,15 @@
101101
status = "okay";
102102
};
103103

104+
&i2c0_1 {
105+
rtc@51 {
106+
/* Attention: An alarm resets the machine */
107+
compatible = "nxp,pcf85063a";
108+
reg = <0x51>;
109+
quartz-load-femtofarads = <7000>;
110+
};
111+
};
112+
104113
&led_act {
105114
gpios = <&gpio 42 GPIO_ACTIVE_HIGH>;
106115
};

0 commit comments

Comments
 (0)