Merge tag 'amd-drm-next-5.12-2021-01-08' of https://gitlab.freedesktop.org/agd5f...
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / gnss / gnss.txt
1 GNSS Receiver DT binding
2
3 This documents the binding structure and common properties for GNSS receiver
4 devices.
5
6 A GNSS receiver node is a node named "gnss" and typically resides on a serial
7 bus (e.g. UART, I2C or SPI).
8
9 Please refer to the following documents for generic properties:
10
11         Documentation/devicetree/bindings/serial/serial.yaml
12         Documentation/devicetree/bindings/spi/spi-bus.txt
13
14 Required properties:
15
16 - compatible    : A string reflecting the vendor and specific device the node
17                   represents
18
19 Optional properties:
20 - lna-supply    : Separate supply for an LNA
21 - enable-gpios  : GPIO used to enable the device
22 - timepulse-gpios       : Time pulse GPIO
23
24 Example:
25
26 serial@1234 {
27         compatible = "ns16550a";
28
29         gnss {
30                 compatible = "u-blox,neo-8";
31
32                 vcc-supply = <&gnss_reg>;
33                 timepulse-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
34
35                 current-speed = <4800>;
36         };
37 };