.. | .. |
---|
7 | 7 | - compatible: should be "pps-gpio" |
---|
8 | 8 | - gpios: one PPS GPIO in the format described by ../gpio/gpio.txt |
---|
9 | 9 | |
---|
| 10 | +Additional required properties for the PPS ECHO functionality: |
---|
| 11 | +- echo-gpios: one PPS ECHO GPIO in the format described by ../gpio/gpio.txt |
---|
| 12 | +- echo-active-ms: duration in ms of the active portion of the echo pulse |
---|
| 13 | + |
---|
10 | 14 | Optional properties: |
---|
11 | 15 | - assert-falling-edge: when present, assert is indicated by a falling edge |
---|
12 | 16 | (instead of by a rising edge) |
---|
.. | .. |
---|
19 | 23 | gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>; |
---|
20 | 24 | assert-falling-edge; |
---|
21 | 25 | |
---|
| 26 | + echo-gpios = <&gpio1 27 GPIO_ACTIVE_HIGH>; |
---|
| 27 | + echo-active-ms = <100>; |
---|
| 28 | + |
---|
22 | 29 | compatible = "pps-gpio"; |
---|
23 | 30 | }; |
---|