Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-src
Path: blob/main/sys/contrib/device-tree/Bindings/gnss/u-blox,neo-6m.yaml
48377 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
enum:
22
- u-blox,neo-6m
23
- u-blox,neo-8
24
- u-blox,neo-m8
25
26
reg:
27
description: >
28
The DDC Slave Address, SPI chip select address, the number of the USB hub
29
port or the USB host-controller port to which this device is attached,
30
depending on the bus used. Required for the DDC, SPI or USB busses.
31
32
reset-gpios:
33
maxItems: 1
34
35
vcc-supply:
36
description: >
37
Main voltage regulator
38
39
u-blox,extint-gpios:
40
maxItems: 1
41
description: >
42
GPIO connected to the "external interrupt" input pin
43
44
v-bckp-supply:
45
description: >
46
Backup voltage regulator
47
48
required:
49
- compatible
50
- vcc-supply
51
52
unevaluatedProperties: false
53
54
examples:
55
- |
56
#include <dt-bindings/gpio/gpio.h>
57
58
serial {
59
gnss {
60
compatible = "u-blox,neo-8";
61
v-bckp-supply = <&gnss_v_bckp_reg>;
62
vcc-supply = <&gnss_vcc_reg>;
63
reset-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
64
};
65
};
66
67