Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
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
8
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 oneOf:
22 - enum:
23 - u-blox,neo-6m
24 - u-blox,neo-8
25 - u-blox,neo-m8
26 - items:
27 - const: u-blox,neo-m9
28 - const: u-blox,neo-m8
29
30 reg:
31 description: >
32 The DDC Slave Address, SPI chip select address, the number of the USB hub
33 port or the USB host-controller port to which this device is attached,
34 depending on the bus used. Required for the DDC, SPI or USB busses.
35
36 reset-gpios:
37 maxItems: 1
38
39 safeboot-gpios:
40 maxItems: 1
41
42 vcc-supply:
43 description: >
44 Main voltage regulator
45
46 u-blox,extint-gpios:
47 maxItems: 1
48 description: >
49 GPIO connected to the "external interrupt" input pin
50
51 v-bckp-supply:
52 description: >
53 Backup voltage regulator
54
55required:
56 - compatible
57 - vcc-supply
58
59unevaluatedProperties: false
60
61examples:
62 - |
63 #include <dt-bindings/gpio/gpio.h>
64
65 serial {
66 gnss {
67 compatible = "u-blox,neo-8";
68 v-bckp-supply = <&gnss_v_bckp_reg>;
69 vcc-supply = <&gnss_vcc_reg>;
70 reset-gpios = <&gpio 1 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
71 safeboot-gpios = <&gpio 2 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
72 };
73 };