#include <linux/device.h>
#include <linux/module.h>
#include <linux/io.h>
#include <linux/platform_device.h>
#include "pinctrl-pxa3xx.h"
Go to the source code of this file.
|
#define | PXA168_DS_MASK 0x1800 |
|
#define | PXA168_DS_SHIFT 11 |
|
#define | PXA168_SLEEP_MASK 0x38 |
|
#define | PXA168_SLEEP_SELECT (1 << 9) |
|
#define | PXA168_SLEEP_DATA (1 << 8) |
|
#define | PXA168_SLEEP_DIR (1 << 7) |
|
#define | MFPR_168(a, r, f0, f1, f2, f3, f4, f5, f6, f7) |
|
#define | GRP_168(a, m, p) { .name = a, .mux = PXA168_MUX_##m, .pins = p, .npins = ARRAY_SIZE(p), } |
|
|
enum | pxa168_pin_list {
PWR_SCL = 123,
PWR_SDA,
TDI,
TMS,
TCK,
TDO,
TRST,
WAKEUP = 130
} |
|
enum | pxa168_mux {
PXA168_MUX_GPIO = 0,
PXA168_MUX_DFIO,
PXA168_MUX_NAND,
PXA168_MUX_SMC,
PXA168_MUX_SMC_CS0,
PXA168_MUX_SMC_CS1,
PXA168_MUX_SMC_INT,
PXA168_MUX_SMC_RDY,
PXA168_MUX_MMC1,
PXA168_MUX_MMC2,
PXA168_MUX_MMC2_CMD,
PXA168_MUX_MMC2_CLK,
PXA168_MUX_MMC3,
PXA168_MUX_MMC3_CMD,
PXA168_MUX_MMC3_CLK,
PXA168_MUX_MMC4,
PXA168_MUX_MSP,
PXA168_MUX_MSP_DAT3,
PXA168_MUX_MSP_INS,
PXA168_MUX_I2C,
PXA168_MUX_PWRI2C,
PXA168_MUX_AC97,
PXA168_MUX_AC97_SYSCLK,
PXA168_MUX_PWM,
PXA168_MUX_PWM1,
PXA168_MUX_XD,
PXA168_MUX_XP,
PXA168_MUX_LCD,
PXA168_MUX_CCIC,
PXA168_MUX_CF,
PXA168_MUX_CF_RDY,
PXA168_MUX_CF_nINPACK,
PXA168_MUX_CF_nWAIT,
PXA168_MUX_KP_MKOUT,
PXA168_MUX_KP_MKIN,
PXA168_MUX_KP_DK,
PXA168_MUX_ETH,
PXA168_MUX_ETH_TX,
PXA168_MUX_ETH_RX,
PXA168_MUX_ONE_WIRE,
PXA168_MUX_UART1,
PXA168_MUX_UART1_TX,
PXA168_MUX_UART1_CTS,
PXA168_MUX_UART1_nRI,
PXA168_MUX_UART1_DTR,
PXA168_MUX_UART2,
PXA168_MUX_UART2_TX,
PXA168_MUX_UART3,
PXA168_MUX_UART3_TX,
PXA168_MUX_UART3_CTS,
PXA168_MUX_SSP1,
PXA168_MUX_SSP1_TX,
PXA168_MUX_SSP2,
PXA168_MUX_SSP2_TX,
PXA168_MUX_SSP3,
PXA168_MUX_SSP3_TX,
PXA168_MUX_SSP4,
PXA168_MUX_SSP4_TX,
PXA168_MUX_SSP5,
PXA168_MUX_SSP5_TX,
PXA168_MUX_USB,
PXA168_MUX_JTAG,
PXA168_MUX_RESET,
PXA168_MUX_WAKEUP,
PXA168_MUX_EXT_32K_IN,
PXA168_MUX_NONE = 0xffff
} |
|
#define PXA168_DS_MASK 0x1800 |
#define PXA168_DS_SHIFT 11 |
#define PXA168_SLEEP_DATA (1 << 8) |
#define PXA168_SLEEP_DIR (1 << 7) |
#define PXA168_SLEEP_MASK 0x38 |
#define PXA168_SLEEP_SELECT (1 << 9) |
- Enumerator:
PXA168_MUX_GPIO |
|
PXA168_MUX_DFIO |
|
PXA168_MUX_NAND |
|
PXA168_MUX_SMC |
|
PXA168_MUX_SMC_CS0 |
|
PXA168_MUX_SMC_CS1 |
|
PXA168_MUX_SMC_INT |
|
PXA168_MUX_SMC_RDY |
|
PXA168_MUX_MMC1 |
|
PXA168_MUX_MMC2 |
|
PXA168_MUX_MMC2_CMD |
|
PXA168_MUX_MMC2_CLK |
|
PXA168_MUX_MMC3 |
|
PXA168_MUX_MMC3_CMD |
|
PXA168_MUX_MMC3_CLK |
|
PXA168_MUX_MMC4 |
|
PXA168_MUX_MSP |
|
PXA168_MUX_MSP_DAT3 |
|
PXA168_MUX_MSP_INS |
|
PXA168_MUX_I2C |
|
PXA168_MUX_PWRI2C |
|
PXA168_MUX_AC97 |
|
PXA168_MUX_AC97_SYSCLK |
|
PXA168_MUX_PWM |
|
PXA168_MUX_PWM1 |
|
PXA168_MUX_XD |
|
PXA168_MUX_XP |
|
PXA168_MUX_LCD |
|
PXA168_MUX_CCIC |
|
PXA168_MUX_CF |
|
PXA168_MUX_CF_RDY |
|
PXA168_MUX_CF_nINPACK |
|
PXA168_MUX_CF_nWAIT |
|
PXA168_MUX_KP_MKOUT |
|
PXA168_MUX_KP_MKIN |
|
PXA168_MUX_KP_DK |
|
PXA168_MUX_ETH |
|
PXA168_MUX_ETH_TX |
|
PXA168_MUX_ETH_RX |
|
PXA168_MUX_ONE_WIRE |
|
PXA168_MUX_UART1 |
|
PXA168_MUX_UART1_TX |
|
PXA168_MUX_UART1_CTS |
|
PXA168_MUX_UART1_nRI |
|
PXA168_MUX_UART1_DTR |
|
PXA168_MUX_UART2 |
|
PXA168_MUX_UART2_TX |
|
PXA168_MUX_UART3 |
|
PXA168_MUX_UART3_TX |
|
PXA168_MUX_UART3_CTS |
|
PXA168_MUX_SSP1 |
|
PXA168_MUX_SSP1_TX |
|
PXA168_MUX_SSP2 |
|
PXA168_MUX_SSP2_TX |
|
PXA168_MUX_SSP3 |
|
PXA168_MUX_SSP3_TX |
|
PXA168_MUX_SSP4 |
|
PXA168_MUX_SSP4_TX |
|
PXA168_MUX_SSP5 |
|
PXA168_MUX_SSP5_TX |
|
PXA168_MUX_USB |
|
PXA168_MUX_JTAG |
|
PXA168_MUX_RESET |
|
PXA168_MUX_WAKEUP |
|
PXA168_MUX_EXT_32K_IN |
|
PXA168_MUX_NONE |
|
Definition at line 60 of file pinctrl-pxa168.c.
- Enumerator:
PWR_SCL |
|
PWR_SDA |
|
TDI |
|
TMS |
|
TCK |
|
TDO |
|
TRST |
|
WAKEUP |
|
Definition at line 48 of file pinctrl-pxa168.c.
core_initcall_sync |
( |
pxa168_pinmux_init |
| ) |
|
module_exit |
( |
pxa168_pinmux_exit |
| ) |
|
MODULE_LICENSE |
( |
"GPL v2" |
| ) |
|