Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/Documentation/devicetree/bindings/gnss/u-blox,neo-6m.yaml
26308 views
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
7
title: U-blox GNSS Receiver
8
9
allOf:
10
- $ref: gnss-common.yaml#
11
- $ref: /schemas/serial/serial-peripheral-props.yaml#
12
13
maintainers:
14
- Johan Hovold <johan@kernel.org>
15
16
description: >
17
The U-blox GNSS receivers can use UART, DDC (I2C), SPI and USB interfaces.
18
19
properties:
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
vcc-supply:
40
description: >
41
Main voltage regulator
42
43
u-blox,extint-gpios:
44
maxItems: 1
45
description: >
46
GPIO connected to the "external interrupt" input pin
47
48
v-bckp-supply:
49
description: >
50
Backup voltage regulator
51
52
required:
53
- compatible
54
- vcc-supply
55
56
unevaluatedProperties: false
57
58
examples:
59
- |
60
#include <dt-bindings/gpio/gpio.h>
61
62
serial {
63
gnss {
64
compatible = "u-blox,neo-8";
65
v-bckp-supply = <&gnss_v_bckp_reg>;
66
vcc-supply = <&gnss_vcc_reg>;
67
reset-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
68
};
69
};
70
71