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