Path: blob/master/Documentation/devicetree/bindings/gnss/mediatek.yaml
26308 views
# SPDX-License-Identifier: GPL-2.01%YAML 1.22---3$id: http://devicetree.org/schemas/gnss/mediatek.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Mediatek GNSS Receiver78maintainers:9- Johan Hovold <johan@kernel.org>1011description:12Mediatek chipsets are used in GNSS-receiver modules produced by several13vendors and can use a UART interface.1415allOf:16- $ref: gnss-common.yaml#17- $ref: /schemas/serial/serial-peripheral-props.yaml#1819properties:20compatible:21const: globaltop,pa6h2223vcc-supply:24description:25Main voltage regulator, pin name VCC.2627reset-gpios:28maxItems: 129description: An optional reset line, with names such as RESET or NRESET.30If the line is active low it should be flagged with GPIO_ACTIVE_LOW.3132timepulse-gpios:33description: Comes with pin names such as PPS1 or 1PPS.3435gnss-fix-gpios:36maxItems: 137description: GPIO used to determine device position fix state, pin names38FIX or 3D_FIX.3940vbackup-supply:41description:42Regulator providing backup voltage, pin names such as VBAT or VBACKUP.4344required:45- compatible46- vcc-supply4748unevaluatedProperties: false4950examples:51- |52#include <dt-bindings/gpio/gpio.h>53serial {54gnss {55compatible = "globaltop,pa6h";56vcc-supply = <&vcc_3v3>;57reset-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;58};59};606162