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/pinctrl/mscc,ocelot-pinctrl.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/pinctrl/mscc,ocelot-pinctrl.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Microsemi Ocelot pin controller
    8 
    9 maintainers:
   10   - Alexandre Belloni <alexandre.belloni@bootlin.com>
   11   - Lars Povlsen <lars.povlsen@microchip.com>
   12 
   13 properties:
   14   compatible:
   15     enum:
   16       - microchip,lan966x-pinctrl
   17       - microchip,sparx5-pinctrl
   18       - mscc,jaguar2-pinctrl
   19       - mscc,luton-pinctrl
   20       - mscc,ocelot-pinctrl
   21       - mscc,serval-pinctrl
   22       - mscc,servalt-pinctrl
   23 
   24   reg:
   25     items:
   26       - description: Base address
   27       - description: Extended pin configuration registers
   28     minItems: 1
   29 
   30   gpio-controller: true
   31 
   32   '#gpio-cells':
   33     const: 2
   34 
   35   gpio-ranges: true
   36 
   37   interrupts:
   38     maxItems: 1
   39 
   40   interrupt-controller: true
   41 
   42   "#interrupt-cells":
   43     const: 2
   44 
   45   resets:
   46     maxItems: 1
   47 
   48   reset-names:
   49     description: Optional shared switch reset.
   50     items:
   51       - const: switch
   52 
   53 patternProperties:
   54   '-pins$':
   55     type: object
   56     allOf:
   57       - $ref: "pinmux-node.yaml"
   58       - $ref: "pincfg-node.yaml"
   59 
   60     properties:
   61       function: true
   62       pins: true
   63       output-high: true
   64       output-low: true
   65       drive-strength: true
   66 
   67     required:
   68       - function
   69       - pins
   70 
   71     additionalProperties: false
   72 
   73 required:
   74   - compatible
   75   - reg
   76   - gpio-controller
   77   - '#gpio-cells'
   78   - gpio-ranges
   79 
   80 allOf:
   81   - $ref: "pinctrl.yaml#"
   82   - if:
   83       properties:
   84         compatible:
   85           contains:
   86             enum:
   87               - microchip,lan966x-pinctrl
   88               - microchip,sparx5-pinctrl
   89     then:
   90       properties:
   91         reg:
   92           minItems: 2
   93 
   94 additionalProperties: false
   95 
   96 examples:
   97   - |
   98     gpio: pinctrl@71070034 {
   99         compatible = "mscc,ocelot-pinctrl";
  100         reg = <0x71070034 0x28>;
  101         gpio-controller;
  102         #gpio-cells = <2>;
  103         gpio-ranges = <&gpio 0 0 22>;
  104 
  105         uart_pins: uart-pins {
  106             pins = "GPIO_6", "GPIO_7";
  107             function = "uart";
  108         };
  109 
  110         uart2_pins: uart2-pins {
  111             pins = "GPIO_12", "GPIO_13";
  112             function = "uart2";
  113         };
  114     };
  115 
  116 ...

Cache object: fcdcd65821e1f9179f1490b447ce8ab7


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