aboutsummaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/gnss/mediatek.yaml
blob: c0eb35beb2ef39a45cc778dabe31afd1a0ddb1d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/gnss/mediatek.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Mediatek GNSS Receiver

maintainers:
  - Johan Hovold <johan@kernel.org>

description:
  Mediatek chipsets are used in GNSS-receiver modules produced by several
  vendors and can use a UART interface.

allOf:
  - $ref: gnss-common.yaml#

properties:
  compatible:
    const: globaltop,pa6h

  vcc-supply:
    description:
      Main voltage regulator, pin name VCC.

  reset-gpios:
    maxItems: 1
    description: An optional reset line, with names such as RESET or NRESET.
      If the line is active low it should be flagged with GPIO_ACTIVE_LOW.

  timepulse-gpios:
    description: Comes with pin names such as PPS1 or 1PPS.

  gnss-fix-gpios:
    maxItems: 1
    description: GPIO used to determine device position fix state, pin names
      FIX or 3D_FIX.

  vbackup-supply:
    description:
      Regulator providing backup voltage, pin names such as VBAT or VBACKUP.

required:
  - compatible
  - vcc-supply

unevaluatedProperties: false

examples:
  - |
    #include <dt-bindings/gpio/gpio.h>
    serial {
        gnss {
            compatible = "globaltop,pa6h";
            vcc-supply = <&vcc_3v3>;
            reset-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
        };
    };