xref: /freebsd/sys/contrib/device-tree/Bindings/gnss/u-blox.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadotu-blox GNSS Receiver DT binding
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThe u-blox GNSS receivers can use UART, DDC (I2C), SPI and USB interfaces.
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel VadotPlease see Documentation/devicetree/bindings/gnss/gnss.txt for generic
6*c66ec88fSEmmanuel Vadotproperties.
7*c66ec88fSEmmanuel Vadot
8*c66ec88fSEmmanuel VadotRequired properties:
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel Vadot- compatible	: Must be one of
11*c66ec88fSEmmanuel Vadot
12*c66ec88fSEmmanuel Vadot			"u-blox,neo-6m"
13*c66ec88fSEmmanuel Vadot			"u-blox,neo-8"
14*c66ec88fSEmmanuel Vadot			"u-blox,neo-m8"
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel Vadot- vcc-supply	: Main voltage regulator
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel VadotRequired properties (DDC):
19*c66ec88fSEmmanuel Vadot- reg		: DDC (I2C) slave address
20*c66ec88fSEmmanuel Vadot
21*c66ec88fSEmmanuel VadotRequired properties (SPI):
22*c66ec88fSEmmanuel Vadot- reg		: SPI chip select address
23*c66ec88fSEmmanuel Vadot
24*c66ec88fSEmmanuel VadotRequired properties (USB):
25*c66ec88fSEmmanuel Vadot- reg		: Number of the USB hub port or the USB host-controller port
26*c66ec88fSEmmanuel Vadot                  to which this device is attached
27*c66ec88fSEmmanuel Vadot
28*c66ec88fSEmmanuel VadotOptional properties:
29*c66ec88fSEmmanuel Vadot
30*c66ec88fSEmmanuel Vadot- timepulse-gpios	: Time pulse GPIO
31*c66ec88fSEmmanuel Vadot- u-blox,extint-gpios	: GPIO connected to the "external interrupt" input pin
32*c66ec88fSEmmanuel Vadot- v-bckp-supply	: Backup voltage regulator
33*c66ec88fSEmmanuel Vadot
34*c66ec88fSEmmanuel VadotExample:
35*c66ec88fSEmmanuel Vadot
36*c66ec88fSEmmanuel Vadotserial@1234 {
37*c66ec88fSEmmanuel Vadot	compatible = "ns16550a";
38*c66ec88fSEmmanuel Vadot
39*c66ec88fSEmmanuel Vadot	gnss {
40*c66ec88fSEmmanuel Vadot		compatible = "u-blox,neo-8";
41*c66ec88fSEmmanuel Vadot
42*c66ec88fSEmmanuel Vadot		v-bckp-supply = <&gnss_v_bckp_reg>;
43*c66ec88fSEmmanuel Vadot		vcc-supply = <&gnss_vcc_reg>;
44*c66ec88fSEmmanuel Vadot	};
45*c66ec88fSEmmanuel Vadot};
46