Skip to content
Snippets Groups Projects
Commit aa664b1d authored by Yuri Mazzuoli's avatar Yuri Mazzuoli
Browse files

[E81][DTS] Add RV-3028 RTC under i2c1 with backup switch enabled

Backup-switch-mode set to "direct" to automatically switch to battery when power
goes down
parent 7e5ec470
No related branches found
No related tags found
2 merge requests!13Merge E81 development branch into trunk,!7[E81] Add support for RV-3028 RTC with backup switch enabled
...@@ -814,6 +814,16 @@ &vreg_l9b_1p2 { ...@@ -814,6 +814,16 @@ &vreg_l9b_1p2 {
}; };
*/ */
// children of i2c1 (I2C_GP)
&i2c1 {
rtc: rtc@52 {
compatible = "microcrystal,rv3028";
reg = <0x52>;
status = "okay";
backup-switch-mode = "direct";
};
};
// children of i2c2 (I2C_PM) // children of i2c2 (I2C_PM)
&i2c2 { &i2c2 {
// will be gpiochip3 // will be gpiochip3
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment