blob: cd80668182b608aebaad460f63c558e6387d7076 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
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 Receiver
8
9allOf:
10 - $ref: gnss-common.yaml#
11
12maintainers:
13 - Johan Hovold <johan@kernel.org>
14
15description: >
16 The U-blox GNSS receivers can use UART, DDC (I2C), SPI and USB interfaces.
17
18properties:
19 compatible:
20 enum:
21 - u-blox,neo-6m
22 - u-blox,neo-8
23 - u-blox,neo-m8
24
25 reg:
26 description: >
27 The DDC Slave Address, SPI chip select address, the number of the USB hub
28 port or the USB host-controller port to which this device is attached,
29 depending on the bus used. Required for the DDC, SPI or USB busses.
30
Tom Rini93743d22024-04-01 09:08:13 -040031 reset-gpios:
32 maxItems: 1
33
Tom Rini53633a82024-02-29 12:33:36 -050034 vcc-supply:
35 description: >
36 Main voltage regulator
37
38 u-blox,extint-gpios:
39 maxItems: 1
40 description: >
41 GPIO connected to the "external interrupt" input pin
42
43 v-bckp-supply:
44 description: >
45 Backup voltage regulator
46
47required:
48 - compatible
49 - vcc-supply
50
51unevaluatedProperties: false
52
53examples:
54 - |
Tom Rini93743d22024-04-01 09:08:13 -040055 #include <dt-bindings/gpio/gpio.h>
56
Tom Rini53633a82024-02-29 12:33:36 -050057 serial {
58 gnss {
59 compatible = "u-blox,neo-8";
60 v-bckp-supply = <&gnss_v_bckp_reg>;
61 vcc-supply = <&gnss_vcc_reg>;
Tom Rini93743d22024-04-01 09:08:13 -040062 reset-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
Tom Rini53633a82024-02-29 12:33:36 -050063 };
64 };