xref: /freebsd/sys/contrib/device-tree/Bindings/gnss/sirfstar.txt (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1SiRFstar-based GNSS Receiver DT binding
2
3SiRFstar chipsets are used in GNSS-receiver modules produced by several
4vendors and can use UART, SPI or I2C interfaces.
5
6Please see Documentation/devicetree/bindings/gnss/gnss.txt for generic
7properties.
8
9Required properties:
10
11- compatible	: Must be one of
12
13			"fastrax,uc430"
14			"linx,r4"
15			"wi2wi,w2sg0004"
16			"wi2wi,w2sg0008i"
17			"wi2wi,w2sg0084i"
18
19- vcc-supply	: Main voltage regulator (pin name: 3V3_IN, VCC, VDD)
20
21Required properties (I2C):
22- reg		: I2C slave address
23
24Required properties (SPI):
25- reg		: SPI chip select address
26
27Optional properties:
28
29- sirf,onoff-gpios	: GPIO used to power on and off device (pin name: ON_OFF)
30- sirf,wakeup-gpios	: GPIO used to determine device power state
31			  (pin name: RFPWRUP, WAKEUP)
32- timepulse-gpios	: Time pulse GPIO (pin name: 1PPS, TM)
33
34Example:
35
36serial@1234 {
37	compatible = "ns16550a";
38
39	gnss {
40		compatible = "wi2wi,w2sg0084i";
41
42		vcc-supply = <&gnss_reg>;
43		sirf,onoff-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
44		sirf,wakeup-gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
45	};
46};
47