Path: blob/master/Documentation/devicetree/bindings/gnss/brcm,bcm4751.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/gnss/brcm,bcm4751.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Broadcom BCM4751 family GNSS Receiver78maintainers:9- Johan Hovold <johan@kernel.org>10- Linus Walleij <linus.walleij@linaro.org>1112description:13Broadcom GPS chips can be used over the UART or I2C bus. The UART14bus requires CTS/RTS support. The number of the capsule is more15elaborate than the compatibles BCM4751 may be printed16BCM4751IFBG for example.1718allOf:19- $ref: gnss-common.yaml#20- $ref: /schemas/serial/serial-peripheral-props.yaml#2122properties:23compatible:24enum:25- brcm,bcm475126- brcm,bcm475227- brcm,bcm47532829reg:30description:31The I2C Address, not required on UART buses.3233vdd-auxin-supply:34description:35Main voltage supply, pin name VDD_AUXIN, typically connected36directly to a battery such as LiIon 3.8V battery or a 2.6V supply.3738vddio-supply:39description:40IO voltage supply, pin name VDDIO, typically 1.8V4142reset-gpios:43maxItems: 144description: An optional active low reset line, should be flagged with45GPIO_ACTIVE_LOW.4647enable-gpios:48description: Enable GPIO line, connected to pins named REGPU or NSTANDBY.49If the line is active low such as NSTANDBY, it should be tagged50GPIO_ACTIVE_LOW.5152required:53- compatible54- enable-gpios5556unevaluatedProperties: false5758examples:59- |60#include <dt-bindings/gpio/gpio.h>61serial {62gnss {63compatible = "brcm,bcm4751";64vdd-auxin-supply = <&vbat>;65reset-gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;66enable-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;67current-speed = <38400>;68};69};707172