Common Properties for Global Navigation Satellite Systems (GNSS) receiver devices

Schema identifier ($id): "http://devicetree.org/schemas/gnss/gnss-common.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Johan Hovold <johan@kernel.org>"

This document defines device tree properties common to Global Navigation Satellite System receivers.

Properties and child nodes (properties) #

$nodename — not listed as required here #

String pattern (pattern): "^gnss(@.*)?$"

lna-supply — not listed as required here #

A separate regulator supplying power for the Low Noise Amplifier (LNA). This is an amplifier connected between the GNSS device and the receiver antenna.

enable-gpios — not listed as required here #

A GPIO line that will enable the GNSS receiver when asserted. If this line is active low, the GPIO phandle should consequently be tagged with the GPIO_ACTIVE_LOW flag so the operating system can rely on asserting the line to enable the GNSS device.

Maximum number of items (maxItems): 1

timepulse-gpios — not listed as required here #

Timepulse signal

Maximum number of items (maxItems): 1

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

true

Allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>
serial {
  gnss {
    compatible = "u-blox,neo-8";
    vcc-supply = <&gnss_reg>;
    timepulse-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
    current-speed = <4800>;
  };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page