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

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 Microsemi Ocelot pin controller Device Tree Bindings
    2 ----------------------------------------------------
    3 
    4 Required properties:
    5  - compatible           : Should be "mscc,ocelot-pinctrl",
    6                           "mscc,jaguar2-pinctrl", "microchip,sparx5-pinctrl",
    7                           "mscc,luton-pinctrl", "mscc,serval-pinctrl",
    8                           "microchip,lan966x-pinctrl" or "mscc,servalt-pinctrl"
    9  - reg                  : Address and length of the register set for the device
   10  - gpio-controller      : Indicates this device is a GPIO controller
   11  - #gpio-cells          : Must be 2.
   12                           The first cell is the pin number and the
   13                           second cell specifies GPIO flags, as defined in
   14                           <dt-bindings/gpio/gpio.h>.
   15  - gpio-ranges          : Range of pins managed by the GPIO controller.
   16 
   17 
   18 The ocelot-pinctrl driver uses the generic pin multiplexing and generic pin
   19 configuration documented in pinctrl-bindings.txt.
   20 
   21 The following generic properties are supported:
   22  - function
   23  - pins
   24 
   25 Example:
   26         gpio: pinctrl@71070034 {
   27                 compatible = "mscc,ocelot-pinctrl";
   28                 reg = <0x71070034 0x28>;
   29                 gpio-controller;
   30                 #gpio-cells = <2>;
   31                 gpio-ranges = <&gpio 0 0 22>;
   32 
   33                 uart_pins: uart-pins {
   34                                 pins = "GPIO_6", "GPIO_7";
   35                                 function = "uart";
   36                 };
   37 
   38                 uart2_pins: uart2-pins {
   39                                 pins = "GPIO_12", "GPIO_13";
   40                                 function = "uart2";
   41                 };
   42         };

Cache object: 2856bbaa08201f3ddfb5e67d4dc2ecb4


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