1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/gnss/mediatek.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Mediatek GNSS Receiver Device Tree Bindings
8
9maintainers:
10  - Johan Hovold <johan@kernel.org>
11
12description:
13  Mediatek chipsets are used in GNSS-receiver modules produced by several
14  vendors and can use a UART interface.
15
16allOf:
17  - $ref: gnss-common.yaml#
18
19properties:
20  compatible:
21    const: globaltop,pa6h
22
23  vcc-supply:
24    description:
25      Main voltage regulator, pin name VCC.
26
27  reset-gpios:
28    maxItems: 1
29    description: An optional reset line, with names such as RESET or NRESET.
30      If the line is active low it should be flagged with GPIO_ACTIVE_LOW.
31
32  timepulse-gpios:
33    description: Comes with pin names such as PPS1 or 1PPS.
34
35  gnss-fix-gpios:
36    maxItems: 1
37    description: GPIO used to determine device position fix state, pin names
38      FIX or 3D_FIX.
39
40  vbackup-supply:
41    description:
42      Regulator providing backup voltage, pin names such as VBAT or VBACKUP.
43
44required:
45  - compatible
46  - vcc-supply
47
48unevaluatedProperties: false
49
50examples:
51  - |
52    #include <dt-bindings/gpio/gpio.h>
53    serial {
54        gnss {
55            compatible = "globaltop,pa6h";
56            vcc-supply = <&vcc_3v3>;
57            reset-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
58        };
59    };
60