mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-17 02:15:02 +00:00
arm64: zynqmp: Configure SoC RTC on SOM
Use RTC available in HW on Kria SOM without using emulation that's why configure it properly and disable emulated one. Power on reset value of RTC Calibration register without battery backup is not matching with crystal frequency which leads to RTC time drift. That's why write CALIB_WRITE register with crystal frequency (0x7FFF). There is also an option to write zero so that Linux will set default value (0x7FFF) in driver probe but calibration 0 is not permited by DT schema. Co-developed-by: Srinivas Goud <srinivas.goud@amd.com> Signed-off-by: Srinivas Goud <srinivas.goud@amd.com> Signed-off-by: Michal Simek <michal.simek@amd.com> Link: https://lore.kernel.org/r/9b684faeec85381b9b8fe796aaebc2ee79f17b8e.1729663761.git.michal.simek@amd.com
This commit is contained in:
parent
cca05617a8
commit
4de127a44a
2 changed files with 1 additions and 1 deletions
|
@ -387,6 +387,7 @@
|
|||
|
||||
&rtc {
|
||||
status = "okay";
|
||||
calibration = <0x7fff>;
|
||||
};
|
||||
|
||||
&lpd_dma_chan1 {
|
||||
|
|
|
@ -187,7 +187,6 @@ CONFIG_DM_PWM=y
|
|||
CONFIG_PWM_CADENCE_TTC=y
|
||||
CONFIG_RESET_ZYNQMP=y
|
||||
CONFIG_DM_RTC=y
|
||||
CONFIG_RTC_EMULATION=y
|
||||
CONFIG_RTC_ZYNQMP=y
|
||||
CONFIG_SCSI=y
|
||||
CONFIG_ARM_DCC=y
|
||||
|
|
Loading…
Add table
Reference in a new issue