4
* Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
6
* This program is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU General Public License as
8
* published by the Free Software Foundation version 2.
10
* This program is distributed "as is" WITHOUT ANY WARRANTY of any
11
* kind, whether express or implied; without even the implied warranty
12
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
16
#ifndef _MUX_AM33XX_H_
17
#define _MUX_AM33XX_H_
22
#define MUX_CFG(value, offset) \
23
__raw_writel(value, (CTRL_BASE + offset));
25
/* PAD Control Fields */
26
#define SLEWCTRL (0x1 << 6)
27
#define RXACTIVE (0x1 << 5)
28
#define PULLDOWN_EN (0x0 << 4) /* Pull Down Selection */
29
#define PULLUP_EN (0x1 << 4) /* Pull Up Selection */
30
#define PULLUDEN (0x0 << 3) /* Pull up enabled */
31
#define PULLUDDIS (0x1 << 3) /* Pull up disabled */
32
#define MODE(val) val /* used for Readability */
36
* Field names corresponds to the pad signal name
128
int ecap0_in_pwm0_out;
147
int xdma_event_intr0;
148
int xdma_event_intr1;
247
#endif /* endif _MUX_AM33XX_H_ */