xref: /linux/Documentation/devicetree/bindings/gnss/mediatek.yaml (revision 38415a81e685eefaf5cd4d045ffc798134071654)
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
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  - $ref: /schemas/serial/serial-peripheral-props.yaml#
19
20properties:
21  compatible:
22    const: globaltop,pa6h
23
24  vcc-supply:
25    description:
26      Main voltage regulator, pin name VCC.
27
28  reset-gpios:
29    maxItems: 1
30    description: An optional reset line, with names such as RESET or NRESET.
31      If the line is active low it should be flagged with GPIO_ACTIVE_LOW.
32
33  timepulse-gpios:
34    description: Comes with pin names such as PPS1 or 1PPS.
35
36  gnss-fix-gpios:
37    maxItems: 1
38    description: GPIO used to determine device position fix state, pin names
39      FIX or 3D_FIX.
40
41  vbackup-supply:
42    description:
43      Regulator providing backup voltage, pin names such as VBAT or VBACKUP.
44
45required:
46  - compatible
47  - vcc-supply
48
49unevaluatedProperties: false
50
51examples:
52  - |
53    #include <dt-bindings/gpio/gpio.h>
54    serial {
55        gnss {
56            compatible = "globaltop,pa6h";
57            vcc-supply = <&vcc_3v3>;
58            reset-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
59        };
60    };
61