gnss.txt 856 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
GNSS Receiver DT binding

This documents the binding structure and common properties for GNSS receiver
devices.

A GNSS receiver node is a node named "gnss" and typically resides on a serial
bus (e.g. UART, I2C or SPI).

Please refer to the following documents for generic properties:

11
	Documentation/devicetree/bindings/serial/serial.yaml
12 13 14 15 16 17 18 19
	Documentation/devicetree/bindings/spi/spi-bus.txt

Required properties:

- compatible	: A string reflecting the vendor and specific device the node
		  represents

Optional properties:
20
- lna-supply	: Separate supply for an LNA
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
- enable-gpios	: GPIO used to enable the device
- timepulse-gpios	: Time pulse GPIO

Example:

serial@1234 {
	compatible = "ns16550a";

	gnss {
		compatible = "u-blox,neo-8";

		vcc-supply = <&gnss_reg>;
		timepulse-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;

		current-speed = <4800>;
	};
};