0001 Device-Tree Bindings for a PPS Signal on GPIO
0002
0003 These properties describe a PPS (pulse-per-second) signal connected to
0004 a GPIO pin.
0005
0006 Required properties:
0007 - compatible: should be "pps-gpio"
0008 - gpios: one PPS GPIO in the format described by ../gpio/gpio.txt
0009
0010 Additional required properties for the PPS ECHO functionality:
0011 - echo-gpios: one PPS ECHO GPIO in the format described by ../gpio/gpio.txt
0012 - echo-active-ms: duration in ms of the active portion of the echo pulse
0013
0014 Optional properties:
0015 - assert-falling-edge: when present, assert is indicated by a falling edge
0016 (instead of by a rising edge)
0017
0018 Example:
0019 pps {
0020 pinctrl-names = "default";
0021 pinctrl-0 = <&pinctrl_pps>;
0022
0023 gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
0024 assert-falling-edge;
0025
0026 echo-gpios = <&gpio1 27 GPIO_ACTIVE_HIGH>;
0027 echo-active-ms = <100>;
0028
0029 compatible = "pps-gpio";
0030 };