diff options
author | Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> | 2019-03-28 21:11:50 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2019-04-25 00:00:49 +0200 |
commit | d1aa159d999f876e28bb200cca69a0a8c86ed888 (patch) | |
tree | fbf3622e21d46510610f44a1854983462524a5ff /arch/arm/dts/am3517.dtsi | |
parent | 4e829e9841f80c540150a14b4d12169139a0b7b9 (diff) |
arm: socfpga: socrates: make rtc work
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@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch/arm/dts/am3517.dtsi')
0 files changed, 0 insertions, 0 deletions