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