Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
74 lines
1.6 KiB
YAML
74 lines
1.6 KiB
YAML
# SPDX-License-Identifier: GPL-2.0
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/gnss/u-blox,neo-6m.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: u-blox GNSS receiver
|
|
|
|
allOf:
|
|
- $ref: gnss-common.yaml#
|
|
- $ref: /schemas/serial/serial-peripheral-props.yaml#
|
|
|
|
maintainers:
|
|
- Johan Hovold <johan@kernel.org>
|
|
|
|
description: >
|
|
The u-blox GNSS receivers can use UART, DDC (I2C), SPI and USB interfaces.
|
|
|
|
properties:
|
|
compatible:
|
|
oneOf:
|
|
- enum:
|
|
- u-blox,neo-6m
|
|
- u-blox,neo-8
|
|
- u-blox,neo-m8
|
|
- items:
|
|
- const: u-blox,neo-m9
|
|
- const: u-blox,neo-m8
|
|
|
|
reg:
|
|
description: >
|
|
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:
|
|
maxItems: 1
|
|
|
|
safeboot-gpios:
|
|
maxItems: 1
|
|
|
|
vcc-supply:
|
|
description: >
|
|
Main voltage regulator
|
|
|
|
u-blox,extint-gpios:
|
|
maxItems: 1
|
|
description: >
|
|
GPIO connected to the "external interrupt" input pin
|
|
|
|
v-bckp-supply:
|
|
description: >
|
|
Backup voltage regulator
|
|
|
|
required:
|
|
- compatible
|
|
- vcc-supply
|
|
|
|
unevaluatedProperties: false
|
|
|
|
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)>;
|
|
};
|
|
};
|