Path: blob/master/Documentation/devicetree/bindings/gnss/gnss-common.yaml
26308 views
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)1%YAML 1.22---3$id: http://devicetree.org/schemas/gnss/gnss-common.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: Common Properties for Global Navigation Satellite Systems (GNSS)7receiver devices89maintainers:10- Johan Hovold <johan@kernel.org>1112description: |13This document defines device tree properties common to Global Navigation14Satellite System receivers.1516properties:17$nodename:18pattern: "^gnss(@.*)?$"1920lna-supply:21description: A separate regulator supplying power for the Low Noise22Amplifier (LNA). This is an amplifier connected between the GNSS23device and the receiver antenna.2425enable-gpios:26description: A GPIO line that will enable the GNSS receiver when27asserted. If this line is active low, the GPIO phandle should28consequently be tagged with the GPIO_ACTIVE_LOW flag so the operating29system can rely on asserting the line to enable the GNSS device.30maxItems: 13132timepulse-gpios:33description: When a timepulse is provided to the GNSS device using a34GPIO line, this is used.35maxItems: 13637additionalProperties: true3839examples:40- |41#include <dt-bindings/gpio/gpio.h>42serial {43gnss {44compatible = "u-blox,neo-8";45vcc-supply = <&gnss_reg>;46timepulse-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;47current-speed = <4800>;48};49};505152