Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
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,w2sg0008i"
16 "wi2wi,w2sg0084i"
17
18- vcc-supply : Main voltage regulator (pin name: 3V3_IN, VCC, VDD)
19
20Required properties (I2C):
21- reg : I2C slave address
22
23Required properties (SPI):
24- reg : SPI chip select address
25
26Optional properties:
27
28- sirf,onoff-gpios : GPIO used to power on and off device (pin name: ON_OFF)
29- sirf,wakeup-gpios : GPIO used to determine device power state
30 (pin name: RFPWRUP, WAKEUP)
31- timepulse-gpios : Time pulse GPIO (pin name: 1PPS, TM)
32
33Example:
34
35serial@1234 {
36 compatible = "ns16550a";
37
38 gnss {
39 compatible = "wi2wi,w2sg0084i";
40
41 vcc-supply = <&gnss_reg>;
42 sirf,onoff-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
43 sirf,wakeup-gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
44 };
45};