From patchwork Wed Mar 27 00:05:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 782903 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [213.167.242.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8AB817FF; Wed, 27 Mar 2024 00:05:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=213.167.242.64 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711497942; cv=none; b=Qtx68Zwt1C2E0QykJzP5QrYMzpQcntnbbuJZRJ/yVztKrj9/YUC+okT0T/lPhbTUHKl3NPW8j+MOQzGcL1PW1QmqrnEqpEo69nD/1eYFaM8givcgfS38U7z0Wcc1fVVon+nd5bTO0Nw64WqAviOHTy4E5erd6bSnYD8sMBallCM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711497942; c=relaxed/simple; bh=nfmG66xJVQgl7ZManiXHS7ko/Ld2MVqZXQSBho/7z/o=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=aqHgymx8+S4rgFvRsQ0VRfoFB2VLmUvNEmHMXxdIWDDublJnV6BmpdCUnQn/NzFdiEGIqcHzwTaK1cIpysvHh4qli/kp2TqbMPB+8DPXDT5ytjfKC6xRz0oV3/ek4fR/S8aw1otAMBBlnkjfPMbdpFr8uMUyNOpg0oiBDs0qXds= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com; spf=pass smtp.mailfrom=ideasonboard.com; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b=pRaZRyfw; arc=none smtp.client-ip=213.167.242.64 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ideasonboard.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=ideasonboard.com header.i=@ideasonboard.com header.b="pRaZRyfw" Received: from pendragon.ideasonboard.com (81-175-209-231.bb.dnainternet.fi [81.175.209.231]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id DE96E505; Wed, 27 Mar 2024 01:05:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1711497902; bh=nfmG66xJVQgl7ZManiXHS7ko/Ld2MVqZXQSBho/7z/o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pRaZRyfwuuTZtvrFhuuwyFivVmnQ/lnCMybx6uejSTinVN1FXj14UDEqFjQx28nn7 thErkVhrmBsX2yGXve7u2aYAaHWkXgDoyAow9Eym9Kr/DLALT39atCzzPWpVAwi+HU PkjVA88vKqV4K2gTEs/wj68KkxQBj/xy8Zy5gh0k= From: Laurent Pinchart To: linux-media@vger.kernel.org Cc: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , Dave Stevenson , David Plowman , Jean-Michel Hautbois , Hans Verkuil , Naushir Patuck , Sakari Ailus , kernel-list@raspberrypi.com, linux-rpi-kernel@lists.infradead.org, Florian Fainelli , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Conor Dooley , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org Subject: [PATCH v8 08/10] ARM: dts: bcm2711-rpi-cm4-io: Add RTC on I2C0 Date: Wed, 27 Mar 2024 02:05:06 +0200 Message-ID: <20240327000510.2541-9-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240327000510.2541-1-laurent.pinchart@ideasonboard.com> References: <20240327000510.2541-1-laurent.pinchart@ideasonboard.com> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Uwe Kleine-König 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 Signed-off-by: Laurent Pinchart Acked-by: Dave Stevenson --- Changes since v6: - Drop unneeded status = "okay" Changes since v4: - Use the right part number in the compatible string - Add the quartz-load-femtofarads property Changes since v3: - Separate addition of the RTC to a patch of its own --- arch/arm/boot/dts/broadcom/bcm2711-rpi-cm4-io.dts | 9 +++++++++ 1 file changed, 9 insertions(+) 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 @@ &genet { 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>; };