mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-12 07:57:21 +00:00
7b4dd81666
Add iomux header file for i.MX6ULL. Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Ye Li <ye.li@nxp.com> Cc: Stefano Babic <sbabic@denx.de> Reviewed-by: Stefano Babic <sbabic@denx.de>
48 lines
1.3 KiB
C
48 lines
1.3 KiB
C
/*
|
|
* Copyright (C) 2013 Boundary Devices Inc.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
#ifndef __ASM_ARCH_MX6_PINS_H__
|
|
#define __ASM_ARCH_MX6_PINS_H__
|
|
|
|
#include <asm/imx-common/iomux-v3.h>
|
|
|
|
#define MX6_PAD_DECLARE(prefix, name, pco, mc, mm, sio, si, pc) \
|
|
prefix##name = IOMUX_PAD(pco, mc, mm, sio, si, pc)
|
|
|
|
#ifdef CONFIG_MX6QDL
|
|
enum {
|
|
#define MX6_PAD_DECL(name, pco, mc, mm, sio, si, pc) \
|
|
MX6_PAD_DECLARE(MX6Q_PAD_,name, pco, mc, mm, sio, si, pc),
|
|
#include "mx6q_pins.h"
|
|
#undef MX6_PAD_DECL
|
|
#define MX6_PAD_DECL(name, pco, mc, mm, sio, si, pc) \
|
|
MX6_PAD_DECLARE(MX6DL_PAD_,name, pco, mc, mm, sio, si, pc),
|
|
#include "mx6dl_pins.h"
|
|
};
|
|
#elif defined(CONFIG_MX6Q)
|
|
enum {
|
|
#define MX6_PAD_DECL(name, pco, mc, mm, sio, si, pc) \
|
|
MX6_PAD_DECLARE(MX6_PAD_,name, pco, mc, mm, sio, si, pc),
|
|
#include "mx6q_pins.h"
|
|
};
|
|
#elif defined(CONFIG_MX6DL) || defined(CONFIG_MX6S)
|
|
enum {
|
|
#define MX6_PAD_DECL(name, pco, mc, mm, sio, si, pc) \
|
|
MX6_PAD_DECLARE(MX6_PAD_,name, pco, mc, mm, sio, si, pc),
|
|
#include "mx6dl_pins.h"
|
|
};
|
|
#elif defined(CONFIG_MX6SL)
|
|
#include "mx6sl_pins.h"
|
|
#elif defined(CONFIG_MX6SX)
|
|
#include "mx6sx_pins.h"
|
|
#elif defined(CONFIG_MX6ULL)
|
|
#include "mx6ull_pins.h"
|
|
#elif defined(CONFIG_MX6UL)
|
|
#include "mx6ul_pins.h"
|
|
#else
|
|
#error "Please select cpu"
|
|
#endif /* CONFIG_MX6Q */
|
|
|
|
#endif /*__ASM_ARCH_MX6_PINS_H__ */
|