mediatek.yaml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # SPDX-License-Identifier: GPL-2.0
  2. %YAML 1.2
  3. ---
  4. $id: http://devicetree.org/schemas/gnss/mediatek.yaml#
  5. $schema: http://devicetree.org/meta-schemas/core.yaml#
  6. title: Mediatek GNSS Receiver
  7. maintainers:
  8. - Johan Hovold <johan@kernel.org>
  9. description:
  10. Mediatek chipsets are used in GNSS-receiver modules produced by several
  11. vendors and can use a UART interface.
  12. allOf:
  13. - $ref: gnss-common.yaml#
  14. - $ref: /schemas/serial/serial-peripheral-props.yaml#
  15. properties:
  16. compatible:
  17. const: globaltop,pa6h
  18. vcc-supply:
  19. description:
  20. Main voltage regulator, pin name VCC.
  21. reset-gpios:
  22. maxItems: 1
  23. description: An optional reset line, with names such as RESET or NRESET.
  24. If the line is active low it should be flagged with GPIO_ACTIVE_LOW.
  25. timepulse-gpios:
  26. description: Comes with pin names such as PPS1 or 1PPS.
  27. gnss-fix-gpios:
  28. maxItems: 1
  29. description: GPIO used to determine device position fix state, pin names
  30. FIX or 3D_FIX.
  31. vbackup-supply:
  32. description:
  33. Regulator providing backup voltage, pin names such as VBAT or VBACKUP.
  34. required:
  35. - compatible
  36. - vcc-supply
  37. unevaluatedProperties: false
  38. examples:
  39. - |
  40. #include <dt-bindings/gpio/gpio.h>
  41. serial {
  42. gnss {
  43. compatible = "globaltop,pa6h";
  44. vcc-supply = <&vcc_3v3>;
  45. reset-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
  46. };
  47. };