Path: blob/master/Documentation/devicetree/bindings/gnss/sirfstar.yaml
26308 views
# SPDX-License-Identifier: GPL-2.01%YAML 1.22---3$id: http://devicetree.org/schemas/gnss/sirfstar.yaml#4$schema: http://devicetree.org/meta-schemas/core.yaml#56title: SiRFstar GNSS Receiver78maintainers:9- Johan Hovold <johan@kernel.org>1011description:12The SiRFstar GNSS receivers have incarnated over the years in different13chips, starting from the SiRFstarIII which was a chip that was introduced in142004 and used in a lot of dedicated GPS devices. In 2009 SiRF was acquired15by CSR (Cambridge Silicon Radio) and in 2012 the CSR GPS business was16acquired by Samsung, while some products remained with CSR. In 2014 CSR17was acquired by Qualcomm who still sell some of the SiRF products.1819SiRF chips can be used over UART, I2C or SPI buses.2021allOf:22- $ref: gnss-common.yaml#23- $ref: /schemas/serial/serial-peripheral-props.yaml#2425properties:26compatible:27enum:28- csr,gsd4t29- csr,csrg05ta03-icje-r30- fastrax,uc43031- linx,r432- wi2wi,w2sg000433- wi2wi,w2sg0008i34- wi2wi,w2sg0084i3536reg:37description:38The I2C Address, SPI chip select address. Not required on UART buses.3940vcc-supply:41description:42Main voltage regulator, pin names such as 3V3_IN, VCC, VDD.4344reset-gpios:45maxItems: 146description: An optional active low reset line, should be flagged with47GPIO_ACTIVE_LOW.4849sirf,onoff-gpios:50maxItems: 151description: GPIO used to power on and off device, pin name ON_OFF.5253sirf,wakeup-gpios:54maxItems: 155description: GPIO used to determine device power state, pin names such56as RFPWRUP, WAKEUP.5758required:59- compatible60- vcc-supply6162unevaluatedProperties: false6364examples:65- |66#include <dt-bindings/gpio/gpio.h>67serial {68gnss {69compatible = "wi2wi,w2sg0084i";70vcc-supply = <&gnss_vcc_reg>;71reset-gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;72sirf,onoff-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;73sirf,wakeup-gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;74current-speed = <38400>;75};76};777879