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/include/dt-bindings/pinctrl/keystone.h

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 */
    2 /*
    3  * This header provides constants for Keystone pinctrl bindings.
    4  *
    5  * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/
    6  */
    7 
    8 #ifndef _DT_BINDINGS_PINCTRL_KEYSTONE_H
    9 #define _DT_BINDINGS_PINCTRL_KEYSTONE_H
   10 
   11 #define MUX_MODE0       0
   12 #define MUX_MODE1       1
   13 #define MUX_MODE2       2
   14 #define MUX_MODE3       3
   15 #define MUX_MODE4       4
   16 #define MUX_MODE5       5
   17 
   18 #define BUFFER_CLASS_B  (0 << 19)
   19 #define BUFFER_CLASS_C  (1 << 19)
   20 #define BUFFER_CLASS_D  (2 << 19)
   21 #define BUFFER_CLASS_E  (3 << 19)
   22 
   23 #define PULL_DISABLE    (1 << 16)
   24 #define PIN_PULLUP      (1 << 17)
   25 #define PIN_PULLDOWN    (0 << 17)
   26 
   27 #define KEYSTONE_IOPAD_OFFSET(pa, offset) (((pa) & 0xffff) - (offset))
   28 
   29 #define K2G_CORE_IOPAD(pa) KEYSTONE_IOPAD_OFFSET((pa), 0x1000)
   30 
   31 #endif

Cache object: 3244c6f6abf37522c2935194523b3472


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