Mediatek GNSS Receiver
Schema identifier ($id): "http://devicetree.org/schemas/gnss/mediatek.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Johan Hovold <johan@kernel.org>"
Mediatek chipsets are used in GNSS-receiver modules produced by several vendors and can use a UART interface.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):gnss-common.yaml#
Rule 2 #
Shared schema rule (
$ref):/schemas/serial/serial-peripheral-props.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "globaltop,pa6h"
vcc-supply — required here #
Main voltage regulator, pin name VCC.
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
An optional reset line, with names such as RESET or NRESET. If the line is active low it should be flagged with GPIO_ACTIVE_LOW.
timepulse-gpios — not listed as required here #
Comes with pin names such as PPS1 or 1PPS.
gnss-fix-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO used to determine device position fix state, pin names FIX or 3D_FIX.
vbackup-supply — not listed as required here #
Regulator providing backup voltage, pin names such as VBAT or VBACKUP.
Required in this object (required): "compatible", "vcc-supply"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
serial {
gnss {
compatible = "globaltop,pa6h";
vcc-supply = <&vcc_3v3>;
reset-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0