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.
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.I also changed the "compatible" line to "bcm2712", but I'm not sure that was needed.
Statistics: Posted by PhilE — Sat Mar 02, 2024 4:35 pm