1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/gnss/mediat 4 $id: http://devicetree.org/schemas/gnss/mediatek.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Mediatek GNSS Receiver 7 title: Mediatek GNSS Receiver 8 8 9 maintainers: 9 maintainers: 10 - Johan Hovold <johan@kernel.org> 10 - Johan Hovold <johan@kernel.org> 11 11 12 description: 12 description: 13 Mediatek chipsets are used in GNSS-receiver 13 Mediatek chipsets are used in GNSS-receiver modules produced by several 14 vendors and can use a UART interface. 14 vendors and can use a UART interface. 15 15 16 allOf: 16 allOf: 17 - $ref: gnss-common.yaml# 17 - $ref: gnss-common.yaml# 18 - $ref: /schemas/serial/serial-peripheral-pr 18 - $ref: /schemas/serial/serial-peripheral-props.yaml# 19 19 20 properties: 20 properties: 21 compatible: 21 compatible: 22 const: globaltop,pa6h 22 const: globaltop,pa6h 23 23 24 vcc-supply: 24 vcc-supply: 25 description: 25 description: 26 Main voltage regulator, pin name VCC. 26 Main voltage regulator, pin name VCC. 27 27 28 reset-gpios: 28 reset-gpios: 29 maxItems: 1 29 maxItems: 1 30 description: An optional reset line, with 30 description: An optional reset line, with names such as RESET or NRESET. 31 If the line is active low it should be f 31 If the line is active low it should be flagged with GPIO_ACTIVE_LOW. 32 32 33 timepulse-gpios: 33 timepulse-gpios: 34 description: Comes with pin names such as 34 description: Comes with pin names such as PPS1 or 1PPS. 35 35 36 gnss-fix-gpios: 36 gnss-fix-gpios: 37 maxItems: 1 37 maxItems: 1 38 description: GPIO used to determine device 38 description: GPIO used to determine device position fix state, pin names 39 FIX or 3D_FIX. 39 FIX or 3D_FIX. 40 40 41 vbackup-supply: 41 vbackup-supply: 42 description: 42 description: 43 Regulator providing backup voltage, pin 43 Regulator providing backup voltage, pin names such as VBAT or VBACKUP. 44 44 45 required: 45 required: 46 - compatible 46 - compatible 47 - vcc-supply 47 - vcc-supply 48 48 49 unevaluatedProperties: false 49 unevaluatedProperties: false 50 50 51 examples: 51 examples: 52 - | 52 - | 53 #include <dt-bindings/gpio/gpio.h> 53 #include <dt-bindings/gpio/gpio.h> 54 serial { 54 serial { 55 gnss { 55 gnss { 56 compatible = "globaltop,pa6h"; 56 compatible = "globaltop,pa6h"; 57 vcc-supply = <&vcc_3v3>; 57 vcc-supply = <&vcc_3v3>; 58 reset-gpios = <&gpio 1 GPIO_ACTIVE 58 reset-gpios = <&gpio 1 GPIO_ACTIVE_LOW>; 59 }; 59 }; 60 }; 60 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.