Lines Matching +full:in +full:- +full:masks
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/usb/brcm,usb-pinmap.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Al Cooper <alcooperx@gmail.com>
15 - const: brcm,usb-pinmap
22 description: Interrupt for signals mirrored to out-gpios.
24 in-gpios:
29 brcm,in-functions:
30 $ref: /schemas/types.yaml#/definitions/string-array
31 description: Array of input signal names, one per gpio in in-gpios.
33 brcm,in-masks:
34 $ref: /schemas/types.yaml#/definitions/uint32-array
35 description: Array of enable and mask pairs, one per gpio in-gpios.
37 out-gpios:
41 brcm,out-functions:
42 $ref: /schemas/types.yaml#/definitions/string-array
43 description: Array of output signal names, one per gpio in out-gpios.
45 brcm,out-masks:
46 $ref: /schemas/types.yaml#/definitions/uint32-array
47 description: Array of enable, value, changed and clear masks, one
48 per gpio in out-gpios.
51 - compatible
52 - reg
57 in-gpios: [ interrupts ]
60 - |
61 usb_pinmap: usb-pinmap@22000d0 {
62 compatible = "brcm,usb-pinmap";
64 in-gpios = <&gpio 18 0>, <&gpio 19 0>;
65 brcm,in-functions = "VBUS", "PWRFLT";
66 brcm,in-masks = <0x8000 0x40000 0x10000 0x80000>;
67 out-gpios = <&gpio 20 0>;
68 brcm,out-functions = "PWRON";
69 brcm,out-masks = <0x20000 0x800000 0x400000 0x200000>;