summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJonas Jensen <jonas.jensen@gmail.com>2013-09-12 01:24:17 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2013-09-12 02:58:54 +0400
commit453b4c6db59f7f6411a0b5eb58389a1fa129cc9a (patch)
treee96efb3520d9faf46ca777bc9cdbb4300822b18d /Documentation
parent4540bae9cd8c03ec4a26eacad468d2f2f2e85cbb (diff)
downloadlinux-453b4c6db59f7f6411a0b5eb58389a1fa129cc9a.tar.xz
rtc: add MOXA ART RTC driver
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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/rtc/moxa,moxart-rtc.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/rtc/moxa,moxart-rtc.txt b/Documentation/devicetree/bindings/rtc/moxa,moxart-rtc.txt
new file mode 100644
index 000000000000..c9d3ac1477fe
--- /dev/null
+++ b/Documentation/devicetree/bindings/rtc/moxa,moxart-rtc.txt
@@ -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>;
+ };