I2C/IIC working on RPI4 8GB?

Hrant Dadivanyan hrant at dadivanyan.com
Sat May 1 14:49:13 UTC 2021


Yes, this helps me too:
iichb0: <BCM2708/2835 BSC controller> mem 0x7e804000-0x7e804fff irq 26 
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üchemann <maciphone2 at googlemail.com> wrote:
>>
>>
>> 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
> 
> BINGO!!
> 
> I added
> 
> gpio=2,3=a0
> 
> to my config.txt file and after a reboot,
> 
> # i2c -f /dev/iic0 -s worked!
> 
> 
> Thank you!
> 
> M
> --
> Mark R V Murray
> 

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20210501/01941d02/attachment.sig>


More information about the freebsd-arm mailing list