RTEMS | Add the support for i2c driver in the aarch64/raspberrypi bsp (!363)

Shaunak Datar (@skdatar) gitlab at rtems.org
Tue Jun 24 17:21:56 UTC 2025




Shaunak Datar commented on a discussion on bsps/aarch64/raspberrypi/include/bsp/raspberrypi-i2c.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/363#note_125156

 > +} raspberrypi_bsc_masters;
 > +
 > +#define BCM2711_I2C_CONTROL 0x0
 > +#define BCM2711_I2C_STATUS 0x4
 > +#define BCM2711_I2C_DLEN 0x8
 > +#define BCM2711_I2C_SLAVE_ADDRESS 0xc
 > +#define BCM2711_I2C_FIFO 0x10
 > +#define BCM2711_I2C_DIV 0x14
 > +#define BCM2711_DELAY 0x18
 > +#define BCM2711_I2C_FIFO_MASK 0xFF
 > +#define BCM2711_I2C_DLEN_MASK 0xFFFF
 > +#define BCM2711_10_BIT_ADDR_MASK 0x78
 > +
 > +#define BSC_CORE_CLK_HZ 150000000
 > +
 > +#define C_REG( bus ) BCM2835_REG( ( bus )->base_address + BCM2711_I2C_CONTROL )

Yeah will shift it to the C file

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/363#note_125156
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20250624/84beec4b/attachment.htm>


More information about the bugs mailing list