summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/pps/pps-gpio.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/pps/pps-gpio.txt')
-rw-r--r--dts/Bindings/pps/pps-gpio.txt20
1 files changed, 20 insertions, 0 deletions
diff --git a/dts/Bindings/pps/pps-gpio.txt b/dts/Bindings/pps/pps-gpio.txt
new file mode 100644
index 0000000000..40bf9c3564
--- /dev/null
+++ b/dts/Bindings/pps/pps-gpio.txt
@@ -0,0 +1,20 @@
+Device-Tree Bindings for a PPS Signal on GPIO
+
+These properties describe a PPS (pulse-per-second) signal connected to
+a GPIO pin.
+
+Required properties:
+- compatible: should be "pps-gpio"
+- gpios: one PPS GPIO in the format described by ../gpio/gpio.txt
+
+Optional properties:
+- assert-falling-edge: when present, assert is indicated by a falling edge
+ (instead of by a rising edge)
+
+Example:
+ pps {
+ compatible = "pps-gpio";
+ gpios = <&gpio2 6 0>;
+
+ assert-falling-edge;
+ };