radxa / u-boot

U-Boot tree for pending commits
43 stars 90 forks source link

board: evb_rk3588: add get rtc device address to select dtb for CM5 #96

Closed RadxaMitchell closed 2 months ago

RadxaMitchell commented 2 months ago

The cm5-io has the same hw_id value as the cm5-rpi-cm4-io, and the corresponding dtb file needs to be selected by obtaining the address of the rtc device on the I2C bus.

The rtc device of cm5-io is on the I2C6 bus. The rtc device for cm5-rpi-cm4-io is on the I2C7 bus. Both rtc devices have address 0x51.

RadxaYuntian commented 2 months ago

@StephenInVamrs 另外硬件id需要有一个留空的值不匹配任何产品,用于客户定制项目使用定制dtb

RadxaStephen commented 2 months ago

那就不弄 cm5 io / rpicm4io 的检测。

RadxaYuntian commented 2 months ago

除非看看树莓派底板有没有什么id电路