sirfstar.yaml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. # SPDX-License-Identifier: GPL-2.0
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/gnss/sirfstar.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: SiRFstar GNSS Receiver
  7. maintainers:
  8. - Johan Hovold <johan@kernel.org>
  9. description:
  10. The SiRFstar GNSS receivers have incarnated over the years in different
  11. chips, starting from the SiRFstarIII which was a chip that was introduced in
  12. 2004 and used in a lot of dedicated GPS devices. In 2009 SiRF was acquired
  13. by CSR (Cambridge Silicon Radio) and in 2012 the CSR GPS business was
  14. acquired by Samsung, while some products remained with CSR. In 2014 CSR
  15. was acquired by Qualcomm who still sell some of the SiRF products.
  16. SiRF chips can be used over UART, I2C or SPI buses.
  17. allOf:
  18. - $ref: gnss-common.yaml#
  19. - $ref: /schemas/serial/serial-peripheral-props.yaml#
  20. properties:
  21. compatible:
  22. enum:
  23. - csr,gsd4t
  24. - csr,csrg05ta03-icje-r
  25. - fastrax,uc430
  26. - linx,r4
  27. - wi2wi,w2sg0004
  28. - wi2wi,w2sg0008i
  29. - wi2wi,w2sg0084i
  30. reg:
  31. description:
  32. The I2C Address, SPI chip select address. Not required on UART buses.
  33. vcc-supply:
  34. description:
  35. Main voltage regulator, pin names such as 3V3_IN, VCC, VDD.
  36. reset-gpios:
  37. maxItems: 1
  38. description: An optional active low reset line, should be flagged with
  39. GPIO_ACTIVE_LOW.
  40. sirf,onoff-gpios:
  41. maxItems: 1
  42. description: GPIO used to power on and off device, pin name ON_OFF.
  43. sirf,wakeup-gpios:
  44. maxItems: 1
  45. description: GPIO used to determine device power state, pin names such
  46. as RFPWRUP, WAKEUP.
  47. required:
  48. - compatible
  49. - vcc-supply
  50. unevaluatedProperties: false
  51. examples:
  52. - |
  53. #include <dt-bindings/gpio/gpio.h>
  54. serial {
  55. gnss {
  56. compatible = "wi2wi,w2sg0084i";
  57. vcc-supply = <&gnss_vcc_reg>;
  58. reset-gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
  59. sirf,onoff-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
  60. sirf,wakeup-gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
  61. current-speed = <38400>;
  62. };
  63. };