mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
rtc: add MOXA ART RTC driver
Add RTC driver for MOXA ART SoCs. Signed-off-by: Jonas Jensen <[email protected]> Reviewed-by: Mark Brown <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
4540bae9cd
commit
453b4c6db5
4 changed files with 357 additions and 0 deletions
17
Documentation/devicetree/bindings/rtc/moxa,moxart-rtc.txt
Normal file
17
Documentation/devicetree/bindings/rtc/moxa,moxart-rtc.txt
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
MOXA ART real-time clock
|
||||
|
||||
Required properties:
|
||||
|
||||
- compatible : Should be "moxa,moxart-rtc"
|
||||
- gpio-rtc-sclk : RTC sclk gpio, with zero flags
|
||||
- gpio-rtc-data : RTC data gpio, with zero flags
|
||||
- gpio-rtc-reset : RTC reset gpio, with zero flags
|
||||
|
||||
Example:
|
||||
|
||||
rtc: rtc {
|
||||
compatible = "moxa,moxart-rtc";
|
||||
gpio-rtc-sclk = <&gpio 5 0>;
|
||||
gpio-rtc-data = <&gpio 6 0>;
|
||||
gpio-rtc-reset = <&gpio 7 0>;
|
||||
};
|
||||
Loading…
Reference in a new issue