sirfstar.txt 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. SiRFstar-based GNSS Receiver DT binding
  2. SiRFstar chipsets are used in GNSS-receiver modules produced by several
  3. vendors and can use UART, SPI or I2C interfaces.
  4. Please see Documentation/devicetree/bindings/gnss/gnss.txt for generic
  5. properties.
  6. Required properties:
  7. - compatible : Must be one of
  8. "fastrax,uc430"
  9. "linx,r4"
  10. "wi2wi,w2sg0008i"
  11. "wi2wi,w2sg0084i"
  12. - vcc-supply : Main voltage regulator (pin name: 3V3_IN, VCC, VDD)
  13. Required properties (I2C):
  14. - reg : I2C slave address
  15. Required properties (SPI):
  16. - reg : SPI chip select address
  17. Optional properties:
  18. - sirf,onoff-gpios : GPIO used to power on and off device (pin name: ON_OFF)
  19. - sirf,wakeup-gpios : GPIO used to determine device power state
  20. (pin name: RFPWRUP, WAKEUP)
  21. - timepulse-gpios : Time pulse GPIO (pin name: 1PPS, TM)
  22. Example:
  23. serial@1234 {
  24. compatible = "ns16550a";
  25. gnss {
  26. compatible = "wi2wi,w2sg0084i";
  27. vcc-supply = <&gnss_reg>;
  28. sirf,onoff-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
  29. sirf,wakeup-gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
  30. };
  31. };