xref: /freebsd-src/sys/contrib/device-tree/Bindings/rtc/rtc-mt6397.txt (revision b97ee269eae3cbaf35c18f51a459aea581c2a7dc)
1c66ec88fSEmmanuel VadotDevice-Tree bindings for MediaTek PMIC based RTC
2c66ec88fSEmmanuel Vadot
3c66ec88fSEmmanuel VadotMediaTek PMIC based RTC is an independent function of MediaTek PMIC that works
4c66ec88fSEmmanuel Vadotas a type of multi-function device (MFD). The RTC can be configured and set up
5c66ec88fSEmmanuel Vadotwith PMIC wrapper bus which is a common resource shared with the other
6c66ec88fSEmmanuel Vadotfunctions found on the same PMIC.
7c66ec88fSEmmanuel Vadot
8c66ec88fSEmmanuel VadotFor MediaTek PMIC MFD bindings, see:
9c66ec88fSEmmanuel Vadot../mfd/mt6397.txt
10c66ec88fSEmmanuel Vadot
11c66ec88fSEmmanuel VadotFor MediaTek PMIC wrapper bus bindings, see:
12c66ec88fSEmmanuel Vadot../soc/mediatek/pwrap.txt
13c66ec88fSEmmanuel Vadot
14c66ec88fSEmmanuel VadotRequired properties:
15c66ec88fSEmmanuel Vadot- compatible: Should be one of follows
16c66ec88fSEmmanuel Vadot       "mediatek,mt6323-rtc": for MT6323 PMIC
17*b97ee269SEmmanuel Vadot       "mediatek,mt6358-rtc": for MT6358 PMIC
18*b97ee269SEmmanuel Vadot       "mediatek,mt6366-rtc", "mediatek,mt6358-rtc": for MT6366 PMIC
19c66ec88fSEmmanuel Vadot       "mediatek,mt6397-rtc": for MT6397 PMIC
20c66ec88fSEmmanuel Vadot
21c66ec88fSEmmanuel VadotExample:
22c66ec88fSEmmanuel Vadot
23c66ec88fSEmmanuel Vadot       pmic {
24c66ec88fSEmmanuel Vadot               compatible = "mediatek,mt6323";
25c66ec88fSEmmanuel Vadot
26c66ec88fSEmmanuel Vadot               ...
27c66ec88fSEmmanuel Vadot
28c66ec88fSEmmanuel Vadot               rtc {
29c66ec88fSEmmanuel Vadot                       compatible = "mediatek,mt6323-rtc";
30c66ec88fSEmmanuel Vadot               };
31c66ec88fSEmmanuel Vadot       };
32