summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorJonas Jensen <jonas.jensen@gmail.com>2013-09-11 14:24:17 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-09-11 15:58:54 -0700
commit453b4c6db59f7f6411a0b5eb58389a1fa129cc9a (patch)
treee96efb3520d9faf46ca777bc9cdbb4300822b18d /Documentation
parent4540bae9cd8c03ec4a26eacad468d2f2f2e85cbb (diff)
downloadop-kernel-dev-453b4c6db59f7f6411a0b5eb58389a1fa129cc9a.zip
op-kernel-dev-453b4c6db59f7f6411a0b5eb58389a1fa129cc9a.tar.gz
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 0000000..c9d3ac1
--- /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>;
+ };
OpenPOWER on IntegriCloud