pps-gpio.txt 594 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
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 {
16 17
		pinctrl-names = "default";
		pinctrl-0 = <&pinctrl_pps>;
18

19
		gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>;
20
		assert-falling-edge;
21 22 23

		compatible = "pps-gpio";
		status = "okay";
24
	};