]> git.ipfire.org Git - thirdparty/u-boot.git/blob - Bindings/gnss/mediatek.yaml
Squashed 'dts/upstream/' content from commit aaba2d45dc2a
[thirdparty/u-boot.git] / Bindings / gnss / mediatek.yaml
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
7 title: Mediatek GNSS Receiver
8
9 maintainers:
10 - Johan Hovold <johan@kernel.org>
11
12 description:
13 Mediatek chipsets are used in GNSS-receiver modules produced by several
14 vendors and can use a UART interface.
15
16 allOf:
17 - $ref: gnss-common.yaml#
18
19 properties:
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
44 required:
45 - compatible
46 - vcc-supply
47
48 unevaluatedProperties: false
49
50 examples:
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 };