From owner-freebsd-arm@freebsd.org Fri Apr 30 14:22:33 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B7A3E5FF9C9 for ; Fri, 30 Apr 2021 14:22:33 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FWvhn4VrLz4p8F; Fri, 30 Apr 2021 14:22:33 +0000 (UTC) (envelope-from maciphone2@googlemail.com) Received: by mail-wr1-x433.google.com with SMTP id h4so61740953wrt.12; Fri, 30 Apr 2021 07:22:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=RiDGgXTG5KlG9y8iHHpH1pcNFVpzWASU5F3EVmff9qw=; b=aQoOL/T7jDHigzNeFyd5aJiymMrZoyVsPBKCHLRvvLc7YmTIlua6P6bIHe+ir0L21q PF6LxUiZZSrt94wr5+qZvWzQQXkZ8+1yVXXIoxG19ONHGB8V47OvjfJzmBKbc2/cW5Z8 Idr+WIJOcd4AzwDyh46iTPKxItZmYeOPV2z7M3XNqBDP77aCkT73OQd4hJBEFkNNg1ZH bAuF0N7fbxS8KHOIO7TjOdLqaypAkyVUm+1Rhs5t2p+V8gX85Amk0iOf41dj/dwxcbpe h+SatbPO6YhBiOh3sMDU0kTDLfpflIGysnSciVY5lavv05cWkjIH4MB6F6j0ZkcESiKv irvg== X-Gm-Message-State: AOAM5319+x2wWC8Ilqy5EQbRLBcMer27rwNeWtEj98FPseNd553rxWtx VWsgy0aYtOFGQfaTfj+nR3lvUG6M1Ag= X-Google-Smtp-Source: ABdhPJzmQ5jtKlBehso8Oh3DLpYqvaK0+ULtKTxrBMHEdfIgtT94hFuFQyNTyKVR2bE5VcXc0tIFUw== X-Received: by 2002:adf:fd4d:: with SMTP id h13mr7352075wrs.285.1619792552301; Fri, 30 Apr 2021 07:22:32 -0700 (PDT) Received: from smtpclient.apple (dynamic-046-114-152-004.46.114.pool.telefonica.de. [46.114.152.4]) by smtp.googlemail.com with ESMTPSA id b6sm12340762wmj.2.2021.04.30.07.22.31 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 Apr 2021 07:22:31 -0700 (PDT) From: =?utf-8?Q?Klaus_K=C3=BCchemann?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.80.0.2.43\)) Subject: Re: I2C/IIC working on RPI4 8GB? Date: Fri, 30 Apr 2021 16:22:29 +0200 References: <1C2DD11C-B1F6-4C2A-9AB0-5F1553520FF5@FreeBSD.org> <20210426161138.a8f44b6e1134f73a411be57d@bidouilliste.com> <47A634E3-4938-4AFC-9341-E480CEBF67FB@FreeBSD.org> <20210428101945.67417ef8eba251dcbcb38078@bidouilliste.com> <486E3EA3-EBAE-492E-B12E-E72E3E3E7B6A@FreeBSD.org> To: Mark Murray , freebsd-arm@freebsd.org In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3654.80.0.2.43) X-Rspamd-Queue-Id: 4FWvhn4VrLz4p8F X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Apr 2021 14:22:33 -0000 > On 29 Apr 2021, at 19:17, Mark Millard wrote: >> =E2=80=A6..Looking around, I see: >=20 > https://github.com/raspberrypi/hats/blob/master/designguide.md >=20 ... > Am 30.04.2021 um 09:55 schrieb Mark Murray : > That's a useful document, thanks, but I'm not yet making much = progress.=E2=80=A6=E2=80=A6 =E2=80=A6.. > . The pins 2/3 need to be configured to be BCM2835_FSEL_ALT0 = (FSEL[2-3]=3D4), and pinctrl-0 is 0x17, but that doesn=E2=80=99t seem to = help register GPFSEL0 fields FSEL3(11:9) and FSEL(8:6). >=20 >=20 > Mark R V Murray yet another useful document(at least that's what I hope to fix your = usecase) : = https://www.raspberrypi.org/documentation/configuration/config-txt/gpio.md= K.=