u-blox GNSS receiver
Schema identifier ($id): "http://devicetree.org/schemas/gnss/u-blox,neo-6m.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):gnss-common.yaml#
Rule 2 #
Shared schema rule (
$ref):/schemas/serial/serial-peripheral-props.yaml#
Maintainers (maintainers): "Johan Hovold <johan@kernel.org>"
The u-blox GNSS receivers can use UART, DDC (I2C), SPI and USB interfaces.
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"u-blox,neo-6m","u-blox,neo-8","u-blox,neo-m8"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"u-blox,neo-m9"Item 2
Exact value (
const):"u-blox,neo-m8"
reg — not listed as required here #
The DDC Slave Address, SPI chip select address, the number of the USB hub port or the USB host-controller port to which this device is attached, depending on the bus used. Required for the DDC, SPI or USB busses.
reset-gpios — not listed as required here #
Maximum number of items (maxItems): 1
safeboot-gpios — not listed as required here #
Maximum number of items (maxItems): 1
vcc-supply — required here #
Main voltage regulator
u-blox,extint-gpios — not listed as required here #
Maximum number of items (maxItems): 1
GPIO connected to the "external interrupt" input pin
v-bckp-supply — not listed as required here #
Backup voltage regulator
Required in this object (required): "compatible", "vcc-supply"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/gpio/gpio.h>
serial {
gnss {
compatible = "u-blox,neo-8";
v-bckp-supply = <&gnss_v_bckp_reg>;
vcc-supply = <&gnss_vcc_reg>;
reset-gpios = <&gpio 1 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
safeboot-gpios = <&gpio 2 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0