1a6bf474cSLinus Walleij# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2a6bf474cSLinus Walleij%YAML 1.2 3a6bf474cSLinus Walleij--- 4a6bf474cSLinus Walleij$id: http://devicetree.org/schemas/gnss/brcm,bcm4751.yaml# 5a6bf474cSLinus Walleij$schema: http://devicetree.org/meta-schemas/core.yaml# 6a6bf474cSLinus Walleij 7dd3cb467SAndrew Lunntitle: Broadcom BCM4751 family GNSS Receiver 8a6bf474cSLinus Walleij 9a6bf474cSLinus Walleijmaintainers: 10a6bf474cSLinus Walleij - Johan Hovold <johan@kernel.org> 11a6bf474cSLinus Walleij - Linus Walleij <linus.walleij@linaro.org> 12a6bf474cSLinus Walleij 13a6bf474cSLinus Walleijdescription: 14a6bf474cSLinus Walleij Broadcom GPS chips can be used over the UART or I2C bus. The UART 15a6bf474cSLinus Walleij bus requires CTS/RTS support. The number of the capsule is more 16a6bf474cSLinus Walleij elaborate than the compatibles BCM4751 may be printed 17a6bf474cSLinus Walleij BCM4751IFBG for example. 18a6bf474cSLinus Walleij 19a6bf474cSLinus WalleijallOf: 20a6bf474cSLinus Walleij - $ref: gnss-common.yaml# 21*38415a81SKrzysztof Kozlowski - $ref: /schemas/serial/serial-peripheral-props.yaml# 22a6bf474cSLinus Walleij 23a6bf474cSLinus Walleijproperties: 24a6bf474cSLinus Walleij compatible: 25a6bf474cSLinus Walleij enum: 26a6bf474cSLinus Walleij - brcm,bcm4751 27a6bf474cSLinus Walleij - brcm,bcm4752 28a6bf474cSLinus Walleij - brcm,bcm4753 29a6bf474cSLinus Walleij 30a6bf474cSLinus Walleij reg: 31a6bf474cSLinus Walleij description: 32a6bf474cSLinus Walleij The I2C Address, not required on UART buses. 33a6bf474cSLinus Walleij 34a6bf474cSLinus Walleij vdd-auxin-supply: 35a6bf474cSLinus Walleij description: 36a6bf474cSLinus Walleij Main voltage supply, pin name VDD_AUXIN, typically connected 37a6bf474cSLinus Walleij directly to a battery such as LiIon 3.8V battery or a 2.6V supply. 38a6bf474cSLinus Walleij 39a6bf474cSLinus Walleij vddio-supply: 40a6bf474cSLinus Walleij description: 41a6bf474cSLinus Walleij IO voltage supply, pin name VDDIO, typically 1.8V 42a6bf474cSLinus Walleij 43a6bf474cSLinus Walleij reset-gpios: 44a6bf474cSLinus Walleij maxItems: 1 45a6bf474cSLinus Walleij description: An optional active low reset line, should be flagged with 46a6bf474cSLinus Walleij GPIO_ACTIVE_LOW. 47a6bf474cSLinus Walleij 48a6bf474cSLinus Walleij enable-gpios: 49a6bf474cSLinus Walleij description: Enable GPIO line, connected to pins named REGPU or NSTANDBY. 50a6bf474cSLinus Walleij If the line is active low such as NSTANDBY, it should be tagged 51a6bf474cSLinus Walleij GPIO_ACTIVE_LOW. 52a6bf474cSLinus Walleij 53a6bf474cSLinus Walleijrequired: 54a6bf474cSLinus Walleij - compatible 55a6bf474cSLinus Walleij - enable-gpios 56a6bf474cSLinus Walleij 57a6bf474cSLinus WalleijunevaluatedProperties: false 58a6bf474cSLinus Walleij 59a6bf474cSLinus Walleijexamples: 60a6bf474cSLinus Walleij - | 61a6bf474cSLinus Walleij #include <dt-bindings/gpio/gpio.h> 62a6bf474cSLinus Walleij serial { 63a6bf474cSLinus Walleij gnss { 64a6bf474cSLinus Walleij compatible = "brcm,bcm4751"; 65a6bf474cSLinus Walleij vdd-auxin-supply = <&vbat>; 66a6bf474cSLinus Walleij reset-gpios = <&gpio0 15 GPIO_ACTIVE_LOW>; 67a6bf474cSLinus Walleij enable-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>; 68a6bf474cSLinus Walleij current-speed = <38400>; 69a6bf474cSLinus Walleij }; 70a6bf474cSLinus Walleij }; 71