66 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/gnss/u-blox,neo-6m.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: U-blox GNSS Receiver8 9allOf:10 - $ref: gnss-common.yaml#11 - $ref: /schemas/serial/serial-peripheral-props.yaml#12 13maintainers:14 - Johan Hovold <johan@kernel.org>15 16description: >17 The U-blox GNSS receivers can use UART, DDC (I2C), SPI and USB interfaces.18 19properties:20 compatible:21 enum:22 - u-blox,neo-6m23 - u-blox,neo-824 - u-blox,neo-m825 26 reg:27 description: >28 The DDC Slave Address, SPI chip select address, the number of the USB hub29 port or the USB host-controller port to which this device is attached,30 depending on the bus used. Required for the DDC, SPI or USB busses.31 32 reset-gpios:33 maxItems: 134 35 vcc-supply:36 description: >37 Main voltage regulator38 39 u-blox,extint-gpios:40 maxItems: 141 description: >42 GPIO connected to the "external interrupt" input pin43 44 v-bckp-supply:45 description: >46 Backup voltage regulator47 48required:49 - compatible50 - vcc-supply51 52unevaluatedProperties: false53 54examples:55 - |56 #include <dt-bindings/gpio/gpio.h>57 58 serial {59 gnss {60 compatible = "u-blox,neo-8";61 v-bckp-supply = <&gnss_v_bckp_reg>;62 vcc-supply = <&gnss_vcc_reg>;63 reset-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;64 };65 };66