xref: /freebsd-src/sys/contrib/device-tree/Bindings/gnss/mediatek.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotMediatek-based GNSS Receiver DT binding
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotMediatek chipsets are used in GNSS-receiver modules produced by several
4*c66ec88fSEmmanuel Vadotvendors and can use a UART interface.
5*c66ec88fSEmmanuel Vadot
6*c66ec88fSEmmanuel VadotPlease see Documentation/devicetree/bindings/gnss/gnss.txt for generic
7*c66ec88fSEmmanuel Vadotproperties.
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel VadotRequired properties:
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel Vadot- compatible	: Must be
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel Vadot			"globaltop,pa6h"
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel Vadot- vcc-supply	: Main voltage regulator (pin name: VCC)
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel VadotOptional properties:
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel Vadot- current-speed		: Default UART baud rate
20*c66ec88fSEmmanuel Vadot- gnss-fix-gpios	: GPIO used to determine device position fix state
21*c66ec88fSEmmanuel Vadot			  (pin name: FIX, 3D_FIX)
22*c66ec88fSEmmanuel Vadot- reset-gpios		: GPIO used to reset the device (pin name: RESET, NRESET)
23*c66ec88fSEmmanuel Vadot- timepulse-gpios	: Time pulse GPIO (pin name: PPS1, 1PPS)
24*c66ec88fSEmmanuel Vadot- vbackup-supply	: Backup voltage regulator (pin name: VBAT, VBACKUP)
25*c66ec88fSEmmanuel Vadot
26*c66ec88fSEmmanuel VadotExample:
27*c66ec88fSEmmanuel Vadot
28*c66ec88fSEmmanuel Vadotserial@1234 {
29*c66ec88fSEmmanuel Vadot	compatible = "ns16550a";
30*c66ec88fSEmmanuel Vadot
31*c66ec88fSEmmanuel Vadot	gnss {
32*c66ec88fSEmmanuel Vadot		compatible = "globaltop,pa6h";
33*c66ec88fSEmmanuel Vadot		vcc-supply = <&vcc_3v3>;
34*c66ec88fSEmmanuel Vadot	};
35*c66ec88fSEmmanuel Vadot};
36