xref: /freebsd/sys/contrib/device-tree/Bindings/gnss/u-blox,neo-6m.yaml (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
18cc087a1SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0
28cc087a1SEmmanuel Vadot%YAML 1.2
38cc087a1SEmmanuel Vadot---
48cc087a1SEmmanuel Vadot$id: http://devicetree.org/schemas/gnss/u-blox,neo-6m.yaml#
58cc087a1SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
68cc087a1SEmmanuel Vadot
77ef62cebSEmmanuel Vadottitle: U-blox GNSS Receiver
88cc087a1SEmmanuel Vadot
9c9ccf3a3SEmmanuel VadotallOf:
10c9ccf3a3SEmmanuel Vadot  - $ref: gnss-common.yaml#
11*b2d2a78aSEmmanuel Vadot  - $ref: /schemas/serial/serial-peripheral-props.yaml#
12c9ccf3a3SEmmanuel Vadot
138cc087a1SEmmanuel Vadotmaintainers:
148cc087a1SEmmanuel Vadot  - Johan Hovold <johan@kernel.org>
158cc087a1SEmmanuel Vadot
168cc087a1SEmmanuel Vadotdescription: >
178cc087a1SEmmanuel Vadot  The U-blox GNSS receivers can use UART, DDC (I2C), SPI and USB interfaces.
188cc087a1SEmmanuel Vadot
198cc087a1SEmmanuel Vadotproperties:
208cc087a1SEmmanuel Vadot  compatible:
218cc087a1SEmmanuel Vadot    enum:
228cc087a1SEmmanuel Vadot      - u-blox,neo-6m
238cc087a1SEmmanuel Vadot      - u-blox,neo-8
248cc087a1SEmmanuel Vadot      - u-blox,neo-m8
258cc087a1SEmmanuel Vadot
268cc087a1SEmmanuel Vadot  reg:
278cc087a1SEmmanuel Vadot    description: >
288cc087a1SEmmanuel Vadot      The DDC Slave Address, SPI chip select address, the number of the USB hub
298cc087a1SEmmanuel Vadot      port or the USB host-controller port to which this device is attached,
308cc087a1SEmmanuel Vadot      depending on the bus used. Required for the DDC, SPI or USB busses.
318cc087a1SEmmanuel Vadot
328d13bc63SEmmanuel Vadot  reset-gpios:
338d13bc63SEmmanuel Vadot    maxItems: 1
348d13bc63SEmmanuel Vadot
358cc087a1SEmmanuel Vadot  vcc-supply:
368cc087a1SEmmanuel Vadot    description: >
378cc087a1SEmmanuel Vadot      Main voltage regulator
388cc087a1SEmmanuel Vadot
398cc087a1SEmmanuel Vadot  u-blox,extint-gpios:
408cc087a1SEmmanuel Vadot    maxItems: 1
418cc087a1SEmmanuel Vadot    description: >
428cc087a1SEmmanuel Vadot      GPIO connected to the "external interrupt" input pin
438cc087a1SEmmanuel Vadot
448cc087a1SEmmanuel Vadot  v-bckp-supply:
458cc087a1SEmmanuel Vadot    description: >
468cc087a1SEmmanuel Vadot      Backup voltage regulator
478cc087a1SEmmanuel Vadot
488cc087a1SEmmanuel Vadotrequired:
498cc087a1SEmmanuel Vadot  - compatible
508cc087a1SEmmanuel Vadot  - vcc-supply
518cc087a1SEmmanuel Vadot
52c9ccf3a3SEmmanuel VadotunevaluatedProperties: false
538cc087a1SEmmanuel Vadot
548cc087a1SEmmanuel Vadotexamples:
558cc087a1SEmmanuel Vadot  - |
568d13bc63SEmmanuel Vadot    #include <dt-bindings/gpio/gpio.h>
578d13bc63SEmmanuel Vadot
588cc087a1SEmmanuel Vadot    serial {
598cc087a1SEmmanuel Vadot        gnss {
608cc087a1SEmmanuel Vadot            compatible = "u-blox,neo-8";
618cc087a1SEmmanuel Vadot            v-bckp-supply = <&gnss_v_bckp_reg>;
628cc087a1SEmmanuel Vadot            vcc-supply = <&gnss_vcc_reg>;
638d13bc63SEmmanuel Vadot            reset-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
648cc087a1SEmmanuel Vadot        };
658cc087a1SEmmanuel Vadot    };
66