From nobody Mon Nov 08 08:55:56 2021 X-Original-To: arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 973B3184C57F for ; Mon, 8 Nov 2021 08:55:59 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HnlMM3xgcz4jpj; Mon, 8 Nov 2021 08:55:59 +0000 (UTC) (envelope-from markm@FreeBSD.org) Received: from smtpclient.apple (unknown [IPv6:2a02:8011:300b:42:716c:1352:3906:ba68]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: markm) by smtp.freebsd.org (Postfix) with ESMTPSA id E315477BA; Mon, 8 Nov 2021 08:55:58 +0000 (UTC) (envelope-from markm@FreeBSD.org) Content-Type: multipart/alternative; boundary="Apple-Mail=_76F591CD-9591-4BCE-B445-1DDA03D84554" List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.20.0.1.32\)) Subject: Re: DS3231 v. MAX77620 From: Mark Murray In-Reply-To: Date: Mon, 8 Nov 2021 08:55:56 +0000 Cc: Brian Scott , arm@freebsd.org Message-Id: <76C50E73-B095-4886-B825-6BBE1451B131@FreeBSD.org> References: To: ticso@cicely.de X-Mailer: Apple Mail (2.3693.20.0.1.32) X-ThisMailContainsUnwantedMimeParts: Y --Apple-Mail=_76F591CD-9591-4BCE-B445-1DDA03D84554 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On 7 Nov 2021, at 13:42, Bernd Walter wrote: > > However, I also couldn't get the same DS3231 module running on my Pi4. The GPIO drivers for BCM2711 are subtly different from the others, and thus don't quite work. I have some config.txt hacks to turn on I2C, but ideally we should fix the drivers. I keep on failing to get time to do this, and getting my head around FDT is an obstacle. Some looking around has shown a couple of problems: 1) Register differences in BCM2711 - should be easy to fix with a bit of time 2) We don't use the in-tree FDT files on the RPi's. Needs fixing if we are to be able to tweek them without manual recompilation. M -- Mark R V Murray --Apple-Mail=_76F591CD-9591-4BCE-B445-1DDA03D84554--