Part Number: AM3352
Other Parts Discussed in Thread: TPS65910,
Tool/software: Linux
I am working on a design with AM3352 and TPS65910 PMIC. I am looking for the LInux device tree configuration to load the tps65910-rtc driver at boot.
I can get the driver to load after booting the system with
# modprobe rtc-tps65910
Then I can see it as rtc1.
[ 59.357679] tps65910-rtc tps65910-rtc: rtc core: registered tps65910-rtc as rtc1
# cat /sys/class/rtc/rtc1/time
00:02:48
Is there a way to get this to load automatically by changing the device tree?
Some additional background information
The system was designed to use the PMIC RTC during standby and when sitara is powered off instead of the AM3352 RTC.
The TPS65910 is using the internal 32-kHz RC oscillator.
The AM3352 RTC is needed when Linux is running. It is assigned rtc0 at boot automatically. It needs to be the system-power-controller so ALARM2 can control PMIC_POWER_EN for the poweroff command. This is working currently.
A related thread is