]>
Commit | Line | Data |
---|---|---|
53633a89 TR |
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 | ||
12 | maintainers: | |
13 | - Johan Hovold <johan@kernel.org> | |
14 | ||
15 | description: > | |
16 | The U-blox GNSS receivers can use UART, DDC (I2C), SPI and USB interfaces. | |
17 | ||
18 | properties: | |
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 | ||
93743d24 TR |
31 | reset-gpios: |
32 | maxItems: 1 | |
33 | ||
53633a89 TR |
34 | 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 | ||
47 | required: | |
48 | - compatible | |
49 | - vcc-supply | |
50 | ||
51 | unevaluatedProperties: false | |
52 | ||
53 | examples: | |
54 | - | | |
93743d24 TR |
55 | #include <dt-bindings/gpio/gpio.h> |
56 | ||
53633a89 TR |
57 | serial { |
58 | gnss { | |
59 | compatible = "u-blox,neo-8"; | |
60 | v-bckp-supply = <&gnss_v_bckp_reg>; | |
61 | vcc-supply = <&gnss_vcc_reg>; | |
93743d24 | 62 | reset-gpios = <&gpio 1 GPIO_ACTIVE_LOW>; |
53633a89 TR |
63 | }; |
64 | }; |