xref: /freebsd/sys/contrib/device-tree/Bindings/gnss/gnss.txt (revision 19fae0f66023a97a9b464b3beeeabb2081f575b3)
1GNSS Receiver DT binding
2
3This documents the binding structure and common properties for GNSS receiver
4devices.
5
6A GNSS receiver node is a node named "gnss" and typically resides on a serial
7bus (e.g. UART, I2C or SPI).
8
9Please 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
14Required properties:
15
16- compatible	: A string reflecting the vendor and specific device the node
17		  represents
18
19Optional 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
24Example:
25
26serial@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};
38