0001 # SPDX-License-Identifier: GPL-2.0
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/gnss/sirfstar.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: SiRFstar GNSS Receiver Device Tree Bindings
0008
0009 maintainers:
0010 - Johan Hovold <johan@kernel.org>
0011
0012 description:
0013 The SiRFstar GNSS receivers have incarnated over the years in different
0014 chips, starting from the SiRFstarIII which was a chip that was introduced in
0015 2004 and used in a lot of dedicated GPS devices. In 2009 SiRF was acquired
0016 by CSR (Cambridge Silicon Radio) and in 2012 the CSR GPS business was
0017 acquired by Samsung, while some products remained with CSR. In 2014 CSR
0018 was acquired by Qualcomm who still sell some of the SiRF products.
0019
0020 SiRF chips can be used over UART, I2C or SPI buses.
0021
0022 allOf:
0023 - $ref: gnss-common.yaml#
0024
0025 properties:
0026 compatible:
0027 enum:
0028 - csr,gsd4t
0029 - csr,csrg05ta03-icje-r
0030 - fastrax,uc430
0031 - linx,r4
0032 - wi2wi,w2sg0004
0033 - wi2wi,w2sg0008i
0034 - wi2wi,w2sg0084i
0035
0036 reg:
0037 description:
0038 The I2C Address, SPI chip select address. Not required on UART buses.
0039
0040 vcc-supply:
0041 description:
0042 Main voltage regulator, pin names such as 3V3_IN, VCC, VDD.
0043
0044 reset-gpios:
0045 maxItems: 1
0046 description: An optional active low reset line, should be flagged with
0047 GPIO_ACTIVE_LOW.
0048
0049 sirf,onoff-gpios:
0050 maxItems: 1
0051 description: GPIO used to power on and off device, pin name ON_OFF.
0052
0053 sirf,wakeup-gpios:
0054 maxItems: 1
0055 description: GPIO used to determine device power state, pin names such
0056 as RFPWRUP, WAKEUP.
0057
0058 required:
0059 - compatible
0060 - vcc-supply
0061
0062 unevaluatedProperties: false
0063
0064 examples:
0065 - |
0066 #include <dt-bindings/gpio/gpio.h>
0067 serial {
0068 gnss {
0069 compatible = "wi2wi,w2sg0084i";
0070 vcc-supply = <&gnss_vcc_reg>;
0071 reset-gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
0072 sirf,onoff-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
0073 sirf,wakeup-gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
0074 current-speed = <38400>;
0075 };
0076 };