Merge tag 'acpi-5.1-rc1-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / gnss / sirfstar.txt
1 SiRFstar-based GNSS Receiver DT binding
2
3 SiRFstar chipsets are used in GNSS-receiver modules produced by several
4 vendors and can use UART, SPI or I2C interfaces.
5
6 Please see Documentation/devicetree/bindings/gnss/gnss.txt for generic
7 properties.
8
9 Required 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
21 Required properties (I2C):
22 - reg           : I2C slave address
23
24 Required properties (SPI):
25 - reg           : SPI chip select address
26
27 Optional 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
34 Example:
35
36 serial@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 };