mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-28 05:24:47 +08:00
453b4c6db5
Add RTC driver for MOXA ART SoCs. Signed-off-by: Jonas Jensen <jonas.jensen@gmail.com> Reviewed-by: Mark Brown <broonie@linaro.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
18 lines
395 B
Plaintext
18 lines
395 B
Plaintext
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>;
|
|
};
|