diff options
author | Adrian Alonso <aalonso@freescale.com> | 2015-08-11 11:19:50 -0500 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2015-09-02 15:31:33 +0200 |
commit | 03f0e4c7cd316a4b0b68776e39865ccf60a883a6 (patch) | |
tree | 51dee43500d79a4ceb5d3c5b9814b942629b00fc /arch/arm/include/asm/arch-mx7/mx7-pins.h | |
parent | 48469c2d88864ff94cb37e1c2f9a22ac0cd5d47f (diff) | |
download | u-boot-03f0e4c7cd316a4b0b68776e39865ccf60a883a6.tar.gz |
imx: iomux-v3: add imx7d support for iomuxc
* Add imx7d support for iomux controller
* imx7d has two iomux controllers iomuxc (0x3033000) and iomuxc-lpsr
(0x302C0000) each conroller provides control and mux mode pad
registers but shares iomuxc input select register with iomuxc-lpsr
IOMUX_CONFIG_LPSR flag is used to properly set daisy chain settings
for iomuxc-lpsr pads.
* Since mx7d introduces LPSR IOMUX pins, add new base to IOMUX v3
driver for these LPSR pins.
Signed-off-by: Adrian Alonso <aalonso@freescale.com>
Signed-off-by: Fugang Duan <B38611@freescale.com>
Signed-off-by: Ye.Li <B37916@freescale.com>
Diffstat (limited to 'arch/arm/include/asm/arch-mx7/mx7-pins.h')
-rw-r--r-- | arch/arm/include/asm/arch-mx7/mx7-pins.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-mx7/mx7-pins.h b/arch/arm/include/asm/arch-mx7/mx7-pins.h new file mode 100644 index 0000000000..164c2be8ac --- /dev/null +++ b/arch/arm/include/asm/arch-mx7/mx7-pins.h @@ -0,0 +1,19 @@ +/* + * Copyright (C) 2015 Freescale Semiconductor, Inc. + * + * SPDX-License-Identifier: GPL-2.0+ + */ +#ifndef __ASM_ARCH_MX7_PINS_H__ +#define __ASM_ARCH_MX7_PINS_H__ + +#include <asm/imx-common/iomux-v3.h> + +#if defined(CONFIG_MX7D) +#include "mx7d_pins.h" +#elif defined(CONFIG_MX7S) +#include "mx7s_pins.h" +#else +#error "Please select cpu" +#endif /* CONFIG_MX7D */ + +#endif /*__ASM_ARCH_MX7_PINS_H__ */ |