Debian Codegraph @

Documentation/devicetree/bindings/gnss/brcm,bcm4751.yaml

raw
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/gnss/brcm,bcm4751.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Broadcom BCM4751 family GNSS Receiver
8
9 maintainers:
10 - Johan Hovold <[email protected]>
11 - Linus Walleij <[email protected]>
12
13 description:
14 Broadcom GPS chips can be used over the UART or I2C bus. The UART
15 bus requires CTS/RTS support. The number of the capsule is more
16 elaborate than the compatibles BCM4751 may be printed
17 BCM4751IFBG for example.
18
19 allOf:
20 - $ref: gnss-common.yaml#
21 - $ref: /schemas/serial/serial-peripheral-props.yaml#
22
23 properties:
24 compatible:
25 enum:
26 - brcm,bcm4751
27 - brcm,bcm4752
28 - brcm,bcm4753
29
30 reg:
31 description:
32 The I2C Address, not required on UART buses.
33
34 vdd-auxin-supply:
35 description:
36 Main voltage supply, pin name VDD_AUXIN, typically connected
37 directly to a battery such as LiIon 3.8V battery or a 2.6V supply.
38
39 vddio-supply:
40 description:
41 IO voltage supply, pin name VDDIO, typically 1.8V
42
43 reset-gpios:
44 maxItems: 1
45 description: An optional active low reset line, should be flagged with
46 GPIO_ACTIVE_LOW.
47
48 enable-gpios:
49 description: Enable GPIO line, connected to pins named REGPU or NSTANDBY.
50 If the line is active low such as NSTANDBY, it should be tagged
51 GPIO_ACTIVE_LOW.
52
53 required:
54 - compatible
55 - enable-gpios
56
57 unevaluatedProperties: false
58
59 examples:
60 - |
61 #include <dt-bindings/gpio/gpio.h>
62 serial {
63 gnss {
64 compatible = "brcm,bcm4751";
65 vdd-auxin-supply = <&vbat>;
66 reset-gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
67 enable-gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
68 current-speed = <38400>;
69 };
70 };