71 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/gnss/brcm,bcm4751.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Broadcom BCM4751 family GNSS Receiver8 9maintainers:10 - Johan Hovold <johan@kernel.org>11 - Linus Walleij <linus.walleij@linaro.org>12 13description:14 Broadcom GPS chips can be used over the UART or I2C bus. The UART15 bus requires CTS/RTS support. The number of the capsule is more16 elaborate than the compatibles BCM4751 may be printed17 BCM4751IFBG for example.18 19allOf:20 - $ref: gnss-common.yaml#21 - $ref: /schemas/serial/serial-peripheral-props.yaml#22 23properties:24 compatible:25 enum:26 - brcm,bcm475127 - brcm,bcm475228 - brcm,bcm475329 30 reg:31 description:32 The I2C Address, not required on UART buses.33 34 vdd-auxin-supply:35 description:36 Main voltage supply, pin name VDD_AUXIN, typically connected37 directly to a battery such as LiIon 3.8V battery or a 2.6V supply.38 39 vddio-supply:40 description:41 IO voltage supply, pin name VDDIO, typically 1.8V42 43 reset-gpios:44 maxItems: 145 description: An optional active low reset line, should be flagged with46 GPIO_ACTIVE_LOW.47 48 enable-gpios:49 description: Enable GPIO line, connected to pins named REGPU or NSTANDBY.50 If the line is active low such as NSTANDBY, it should be tagged51 GPIO_ACTIVE_LOW.52 53required:54 - compatible55 - enable-gpios56 57unevaluatedProperties: false58 59examples:60 - |61 #include <dt-bindings/gpio/gpio.h>62 serial {63 gnss {64 compatible = "brcm,bcm4751";65 vdd-auxin-supply = <&vbat>;66 reset-gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;67 enable-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;68 current-speed = <38400>;69 };70 };71