Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3847

Device Tree • Re: Adapting an overlay for AT24 EEPROM on i2c-0 for Pi 5

$
0
0
Those lines tell the kernel that a number of pins must be configured in particular ways before the probe function of the device driver is called. They are no longer needed because the dtb files for all the Pi models should already include declarations like that for I2C0.
I also changed the "compatible" line to "bcm2712", but I'm not sure that was needed.
That's not necessary in this case. Neither the firmware nor the kernel overlay application logic pay any attention the value, but the utilities for checking overlays use it to see whether it is sensible to try to apply an overlay to a particular dtb. Since this would work on any Pi, "brcm,bcm2835" is a sensible value.

Statistics: Posted by PhilE — Sat Mar 02, 2024 4:35 pm



Viewing all articles
Browse latest Browse all 3847

Trending Articles