gnss.txt 819 B

123456789101112131415161718192021222324252627282930313233343536
  1. GNSS Receiver DT binding
  2. This documents the binding structure and common properties for GNSS receiver
  3. devices.
  4. A GNSS receiver node is a node named "gnss" and typically resides on a serial
  5. bus (e.g. UART, I2C or SPI).
  6. Please refer to the following documents for generic properties:
  7. Documentation/devicetree/bindings/serial/slave-device.txt
  8. Documentation/devicetree/bindings/spi/spi-bus.txt
  9. Required properties:
  10. - compatible : A string reflecting the vendor and specific device the node
  11. represents
  12. Optional properties:
  13. - enable-gpios : GPIO used to enable the device
  14. - timepulse-gpios : Time pulse GPIO
  15. Example:
  16. serial@1234 {
  17. compatible = "ns16550a";
  18. gnss {
  19. compatible = "u-blox,neo-8";
  20. vcc-supply = <&gnss_reg>;
  21. timepulse-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
  22. current-speed = <4800>;
  23. };
  24. };