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/gpio/microchip,mpfs-gpio.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 OR BSD-2-Clause)
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/gpio/microchip,mpfs-gpio.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Microchip MPFS GPIO Controller Device Tree Bindings
    8 
    9 maintainers:
   10   - Conor Dooley <conor.dooley@microchip.com>
   11 
   12 properties:
   13   compatible:
   14     items:
   15       - enum:
   16           - microchip,mpfs-gpio
   17 
   18   reg:
   19     maxItems: 1
   20 
   21   interrupts:
   22     description:
   23       Interrupt mapping, one per GPIO. Maximum 32 GPIOs.
   24     minItems: 1
   25     maxItems: 32
   26 
   27   interrupt-controller: true
   28 
   29   clocks:
   30     maxItems: 1
   31 
   32   "#gpio-cells":
   33     const: 2
   34 
   35   "#interrupt-cells":
   36     const: 1
   37 
   38   ngpios:
   39     description:
   40       The number of GPIOs available.
   41     minimum: 1
   42     maximum: 32
   43     default: 32
   44 
   45   gpio-controller: true
   46 
   47 required:
   48   - compatible
   49   - reg
   50   - interrupts
   51   - "#interrupt-cells"
   52   - interrupt-controller
   53   - "#gpio-cells"
   54   - gpio-controller
   55   - clocks
   56 
   57 additionalProperties: false
   58 
   59 examples:
   60   - |
   61     gpio@20122000 {
   62         compatible = "microchip,mpfs-gpio";
   63         reg = <0x20122000 0x1000>;
   64         clocks = <&clkcfg 25>;
   65         interrupt-parent = <&plic>;
   66         gpio-controller;
   67         #gpio-cells = <2>;
   68         interrupt-controller;
   69         #interrupt-cells = <1>;
   70         interrupts = <53>, <53>, <53>, <53>,
   71                      <53>, <53>, <53>, <53>,
   72                      <53>, <53>, <53>, <53>,
   73                      <53>, <53>, <53>, <53>,
   74                      <53>, <53>, <53>, <53>,
   75                      <53>, <53>, <53>, <53>,
   76                      <53>, <53>, <53>, <53>,
   77                      <53>, <53>, <53>, <53>;
   78     };
   79 ...

Cache object: 93f0d0c6a1add403be47eabcf8e77fd9


[ 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.