diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2010-12-15 09:56:35 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-12-15 14:42:23 +0100 |
commit | ee1ae4d7b1c9a8b73e232fa33dc733be59368ff6 (patch) | |
tree | 51016cebe4618a87a6c5a7e8ef2c8abfe4699302 /arch/arm/plat-mxc/include/mach/iomux-v3.h | |
parent | 96f3e2568456402769f3998e111746941f549dc6 (diff) | |
download | op-kernel-dev-ee1ae4d7b1c9a8b73e232fa33dc733be59368ff6.zip op-kernel-dev-ee1ae4d7b1c9a8b73e232fa33dc733be59368ff6.tar.gz |
ARM i.MX51: Full iomux support
This iomux file has been constructed from the Freescale pinmux tool.
It contains all pins from the tool, but the datasheet lists some
configurations not present in the tool, these are not yet added.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/iomux-v3.h')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/iomux-v3.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/iomux-v3.h b/arch/arm/plat-mxc/include/mach/iomux-v3.h index 1462a1c..2277b01 100644 --- a/arch/arm/plat-mxc/include/mach/iomux-v3.h +++ b/arch/arm/plat-mxc/include/mach/iomux-v3.h @@ -70,6 +70,8 @@ typedef u64 iomux_v3_cfg_t; #define MUX_SEL_INPUT_SHIFT 58 #define MUX_SEL_INPUT_MASK ((iomux_v3_cfg_t)0xf << MUX_SEL_INPUT_SHIFT) +#define MUX_PAD_CTRL(x) ((iomux_v3_cfg_t)(x) << MUX_PAD_CTRL_SHIFT) + #define IOMUX_PAD(_pad_ctrl_ofs, _mux_ctrl_ofs, _mux_mode, _sel_input_ofs, \ _sel_input, _pad_ctrl) \ (((iomux_v3_cfg_t)(_mux_ctrl_ofs) << MUX_CTRL_OFS_SHIFT) | \ |