The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/usb/brcm,usb-pinmap.yaml

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/usb/brcm,usb-pinmap.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Broadcom USB pin map Controller Device Tree Bindings
    8 
    9 maintainers:
   10   - Al Cooper <alcooperx@gmail.com>
   11 
   12 properties:
   13   compatible:
   14     items:
   15       - const: brcm,usb-pinmap
   16 
   17   reg:
   18     maxItems: 1
   19 
   20   interrupts:
   21     maxItems: 1
   22     description: Interrupt for signals mirrored to out-gpios.
   23 
   24   in-gpios:
   25     minItems: 1
   26     maxItems: 2
   27     description: Array of one or two GPIO pins used for input signals.
   28 
   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.
   32 
   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.
   36 
   37   out-gpios:
   38     maxItems: 1
   39     description: Array of one GPIO pin used for output signals.
   40 
   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.
   44 
   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.
   49 
   50 required:
   51   - compatible
   52   - reg
   53 
   54 additionalProperties: false
   55 
   56 dependencies:
   57   in-gpios: [ interrupts ]
   58 
   59 examples:
   60   - |
   61     usb_pinmap: usb-pinmap@22000d0 {
   62         compatible = "brcm,usb-pinmap";
   63         reg = <0x22000d0 0x4>;
   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>;
   70         interrupts = <0x0 0xb2 0x4>;
   71     };
   72 
   73 ...

Cache object: b915b528bb38d48ba147c9cfc224a490


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.