1# 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 Device Tree Bindings
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
31  vcc-supply:
32    description: >
33      Main voltage regulator
34
35  u-blox,extint-gpios:
36    maxItems: 1
37    description: >
38      GPIO connected to the "external interrupt" input pin
39
40  v-bckp-supply:
41    description: >
42      Backup voltage regulator
43
44required:
45  - compatible
46  - vcc-supply
47
48unevaluatedProperties: false
49
50examples:
51  - |
52    serial {
53        gnss {
54            compatible = "u-blox,neo-8";
55            v-bckp-supply = <&gnss_v_bckp_reg>;
56            vcc-supply = <&gnss_vcc_reg>;
57        };
58    };
59