Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/gnss/mediatek.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Mediatek GNSS Receiver Device Tree Bindings
0008 
0009 maintainers:
0010   - Johan Hovold <johan@kernel.org>
0011 
0012 description:
0013   Mediatek chipsets are used in GNSS-receiver modules produced by several
0014   vendors and can use a UART interface.
0015 
0016 allOf:
0017   - $ref: gnss-common.yaml#
0018 
0019 properties:
0020   compatible:
0021     const: globaltop,pa6h
0022 
0023   vcc-supply:
0024     description:
0025       Main voltage regulator, pin name VCC.
0026 
0027   reset-gpios:
0028     maxItems: 1
0029     description: An optional reset line, with names such as RESET or NRESET.
0030       If the line is active low it should be flagged with GPIO_ACTIVE_LOW.
0031 
0032   timepulse-gpios:
0033     description: Comes with pin names such as PPS1 or 1PPS.
0034 
0035   gnss-fix-gpios:
0036     maxItems: 1
0037     description: GPIO used to determine device position fix state, pin names
0038       FIX or 3D_FIX.
0039 
0040   vbackup-supply:
0041     description:
0042       Regulator providing backup voltage, pin names such as VBAT or VBACKUP.
0043 
0044 required:
0045   - compatible
0046   - vcc-supply
0047 
0048 unevaluatedProperties: false
0049 
0050 examples:
0051   - |
0052     #include <dt-bindings/gpio/gpio.h>
0053     serial {
0054         gnss {
0055             compatible = "globaltop,pa6h";
0056             vcc-supply = <&vcc_3v3>;
0057             reset-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
0058         };
0059     };