Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 May 2021 18:49:07 +0400
From:      Hrant Dadivanyan <hrant@dadivanyan.com>
To:        freebsd-arm@freebsd.org
Subject:   Re: I2C/IIC working on RPI4 8GB?
Message-ID:  <48f3dabe-b2c9-5285-f159-74487e28949d@dadivanyan.net>
In-Reply-To: <501CB1C0-73D4-4BEF-A1E6-1F13C02EFA42@FreeBSD.org>
References:  <1C2DD11C-B1F6-4C2A-9AB0-5F1553520FF5@FreeBSD.org> <20210426161138.a8f44b6e1134f73a411be57d@bidouilliste.com> <CF4C4332-BB2F-47E9-B879-8EEA0E53E848@FreeBSD.org> <C4828BF2-E8B7-45D1-B0F8-5E72AF84D565@yahoo.com> <47A634E3-4938-4AFC-9341-E480CEBF67FB@FreeBSD.org> <20210428101945.67417ef8eba251dcbcb38078@bidouilliste.com> <ED9ABBBE-9B5A-4B51-806C-F91AABE39731@FreeBSD.org> <486E3EA3-EBAE-492E-B12E-E72E3E3E7B6A@FreeBSD.org> <A10EA46D-6FE5-4FCD-895C-5A08A974D6DB@yahoo.com> <E9098242-5ED4-401B-9D46-E11A214A0E2F@FreeBSD.org> <F38325DB-DC0E-44F8-A256-A5D6A23925D0@googlemail.com> <501CB1C0-73D4-4BEF-A1E6-1F13C02EFA42@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--O5ovaVocWQRoHL8dkc2y9bBSN3kc7Vt24
Content-Type: multipart/mixed; boundary="uspYLaWjLj3EPCR7O9jZO1cufFpHlWzBM";
 protected-headers="v1"
From: Hrant Dadivanyan <hrant@dadivanyan.com>
To: freebsd-arm@freebsd.org
Message-ID: <48f3dabe-b2c9-5285-f159-74487e28949d@dadivanyan.net>
Subject: Re: I2C/IIC working on RPI4 8GB?
References: <1C2DD11C-B1F6-4C2A-9AB0-5F1553520FF5@FreeBSD.org>
 <20210426161138.a8f44b6e1134f73a411be57d@bidouilliste.com>
 <CF4C4332-BB2F-47E9-B879-8EEA0E53E848@FreeBSD.org>
 <C4828BF2-E8B7-45D1-B0F8-5E72AF84D565@yahoo.com>
 <47A634E3-4938-4AFC-9341-E480CEBF67FB@FreeBSD.org>
 <20210428101945.67417ef8eba251dcbcb38078@bidouilliste.com>
 <ED9ABBBE-9B5A-4B51-806C-F91AABE39731@FreeBSD.org>
 <486E3EA3-EBAE-492E-B12E-E72E3E3E7B6A@FreeBSD.org>
 <A10EA46D-6FE5-4FCD-895C-5A08A974D6DB@yahoo.com>
 <E9098242-5ED4-401B-9D46-E11A214A0E2F@FreeBSD.org>
 <F38325DB-DC0E-44F8-A256-A5D6A23925D0@googlemail.com>
 <501CB1C0-73D4-4BEF-A1E6-1F13C02EFA42@FreeBSD.org>
In-Reply-To: <501CB1C0-73D4-4BEF-A1E6-1F13C02EFA42@FreeBSD.org>

--uspYLaWjLj3EPCR7O9jZO1cufFpHlWzBM
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable


Yes, this helps me too:
iichb0: <BCM2708/2835 BSC controller> mem 0x7e804000-0x7e804fff irq 26=20
on simplebus0
iicbus0: <OFW I2C bus> on iichb0
iic0: <I2C generic I/O> on iicbus0
ds32310: <Maxim DS3231 RTC> at addr 0xd0 on iicbus0
ds32310: registered as a time-of-day clock, resolution 1.000000s

Thank you!
Hrant

On 5/1/21 3:48 PM, Mark Murray wrote:
> On 30 Apr 2021, at 15:22, Klaus K=C3=BCchemann <maciphone2@googlemail.c=
om> wrote:
>>
>>
>> yet another useful document(at least that's what I hope to fix your us=
ecase) :
>>
>> https://www.raspberrypi.org/documentation/configuration/config-txt/gpi=
o.md
>=20
> BINGO!!
>=20
> I added
>=20
> gpio=3D2,3=3Da0
>=20
> to my config.txt file and after a reboot,
>=20
> # i2c -f /dev/iic0 -s worked!
>=20
>=20
> Thank you!
>=20
> M
> --
> Mark R V Murray
>=20

--=20
     Hrant Dadivanyan - hrant(at)dadivanyan.net
/* "Feci quod potui, faciant meliora potentes." */


--uspYLaWjLj3EPCR7O9jZO1cufFpHlWzBM--

--O5ovaVocWQRoHL8dkc2y9bBSN3kc7Vt24
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature"

-----BEGIN PGP SIGNATURE-----

wsB5BAABCAAjFiEEPbz+l3tnoK718ci3h/fmw7c/bD0FAmCNamMFAwAAAAAACgkQh/fmw7c/bD1k
Mgf+LofM2pxHrsdAc0DuhMw6aEG2rDLo9R64T1uEmCP3lFrohOdJpzVJBZZPAyuO/2ZLJurQDGqE
LsZiHpFEMnPKV0c53yMBxBnA26UUNv0OtgMmzsOP3GHnO/SFSUkqUkZLobtC/cg+PLUim+a4EHPp
bjDHNaCjFUTMIQ+CJKs5httoB+BQDTXYohPreukCUQRqmZm3oNhnLElrpLyoMipDLAM9jUgNAWzG
+gGhdul5jUWSbFEcGcvTXdMI7Nfh/dXiO4q2ntYOQGqLhWv3brdLpjVH4uqf2fQ0L+1vk+P1byKz
XPkt7kbwJP/Vw5XQ0gVAaJd7K2qgaXUUFYMIed7Yew==
=JM83
-----END PGP SIGNATURE-----

--O5ovaVocWQRoHL8dkc2y9bBSN3kc7Vt24--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48f3dabe-b2c9-5285-f159-74487e28949d>