All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <uwe@kleine-koenig.org>
To: Nicolas Saenz Julienne <nsaenz@kernel.org>
Cc: bcm-kernel-feedback-list@broadcom.com,
	linux-rpi-kernel@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org,
	Stefan Wahren <stefan.wahren@i2se.com>,
	Cyril Brulebois <kibi@debian.org>
Subject: [PATCH] ARM: dts: bcm2711-rpi-cm4-io: Add rtc on i2c0
Date: Mon, 22 Nov 2021 16:26:48 +0100	[thread overview]
Message-ID: <20211122152648.57242-1-uwe@kleine-koenig.org> (raw)

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@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@51 {
+		/* Attention: An alarm resets the machine */
+		compatible = "nxp,pcf85063";
+		reg = <0x51>;
+	};
+};
+
 &ddc0 {
 	status = "okay";
 };

base-commit: 8ab774587903771821b59471cc723bba6d893942
-- 
2.30.2


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

             reply	other threads:[~2021-11-22 15:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-22 15:26 Uwe Kleine-König [this message]
2021-11-22 16:08 ` [PATCH] ARM: dts: bcm2711-rpi-cm4-io: Add rtc on i2c0 Cyril Brulebois
2021-11-22 16:33 ` Dave Stevenson
2021-11-30 12:02   ` nicolas saenz julienne
2021-11-30 17:18     ` Stefan Wahren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211122152648.57242-1-uwe@kleine-koenig.org \
    --to=uwe@kleine-koenig.org \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=kibi@debian.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-rpi-kernel@lists.infradead.org \
    --cc=nsaenz@kernel.org \
    --cc=stefan.wahren@i2se.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.