summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/pps/pps-gpio.txt
blob: 40bf9c3564a552639cbf8c432b2c3c175d630601 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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;
	};
OpenPOWER on IntegriCloud