[U-Boot] [PATCH 3/4] arm: socfpga: socrates: make rtc work
Stefan Roese
sr at denx.de
Wed Mar 13 05:47:15 UTC 2019
On 12.03.19 22:01, Simon Goldschmidt wrote:
> This patch makes the on-board RTC work on the socfpga_socrates board.
> This rtc is present on the board, but it does not work (fails with a
> timeout).
>
> This patch adds a weak pull-up on the I2C0-SCL pin connected to the m41t82
> RTC on this board. While the SDA line has a pull-up on the pcb, the pull-up
> on the SCL line seems to be missing. To work around this, enable the
> weak-pull-up feature on this pin.
>
> After applying this patch, the rtc timeout is gone and the 'date' command
> can access the rtc chip.
>
> Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt at gmail.com>
Reviewed-by: Stefan Roese <sr at denx.de>
Thanks,
Stefan
More information about the U-Boot
mailing list