• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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/slave-device.txt
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- enable-gpios	: GPIO used to enable the device
21- timepulse-gpios	: Time pulse GPIO
22
23Example:
24
25serial@1234 {
26	compatible = "ns16550a";
27
28	gnss {
29		compatible = "u-blox,neo-8";
30
31		vcc-supply = <&gnss_reg>;
32		timepulse-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
33
34		current-speed = <4800>;
35	};
36};
37