mirror of https://gitee.com/openkylin/linux.git
21 lines
499 B
Plaintext
21 lines
499 B
Plaintext
|
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;
|
||
|
};
|