61 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/gnss/mediatek.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Mediatek GNSS Receiver8 9maintainers:10 - Johan Hovold <johan@kernel.org>11 12description:13 Mediatek chipsets are used in GNSS-receiver modules produced by several14 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,pa6h23 24 vcc-supply:25 description:26 Main voltage regulator, pin name VCC.27 28 reset-gpios:29 maxItems: 130 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: 138 description: GPIO used to determine device position fix state, pin names39 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 - compatible47 - vcc-supply48 49unevaluatedProperties: false50 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