diff options
Diffstat (limited to 'roms/u-boot/arch/arm/include/asm/arch-imxrt')
5 files changed, 81 insertions, 0 deletions
diff --git a/roms/u-boot/arch/arm/include/asm/arch-imxrt/clock.h b/roms/u-boot/arch/arm/include/asm/arch-imxrt/clock.h new file mode 100644 index 000000000..7409028b9 --- /dev/null +++ b/roms/u-boot/arch/arm/include/asm/arch-imxrt/clock.h @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2019 + * Author(s): Giulio Benetti <giulio.benetti@benettiengineering.com> + */ + +#ifndef __ASM_ARCH_CLOCK_H +#define __ASM_ARCH_CLOCK_H + +#endif /* __ASM_ARCH_CLOCK_H */ diff --git a/roms/u-boot/arch/arm/include/asm/arch-imxrt/gpio.h b/roms/u-boot/arch/arm/include/asm/arch-imxrt/gpio.h new file mode 100644 index 000000000..da31a7438 --- /dev/null +++ b/roms/u-boot/arch/arm/include/asm/arch-imxrt/gpio.h @@ -0,0 +1,19 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2019 + * Author(s): Giulio Benetti <giulio.benetti@benettiengineering.com> + */ + +#ifndef __ASM_ARCH_GPIO_H__ +#define __ASM_ARCH_GPIO_H__ + +#if !(defined(__KERNEL_STRICT_NAMES) || defined(__ASSEMBLY__)) +/* GPIO registers */ +struct gpio_regs { + u32 gpio_dr; /* data */ + u32 gpio_dir; /* direction */ + u32 gpio_psr; /* pad satus */ +}; +#endif + +#endif /* __ASM_ARCH_GPIO_H__ */ diff --git a/roms/u-boot/arch/arm/include/asm/arch-imxrt/imx-regs.h b/roms/u-boot/arch/arm/include/asm/arch-imxrt/imx-regs.h new file mode 100644 index 000000000..d01e6ca2e --- /dev/null +++ b/roms/u-boot/arch/arm/include/asm/arch-imxrt/imx-regs.h @@ -0,0 +1,30 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright(C) 2019 + * Author(s): Giulio Benetti <giulio.benetti@benettiengineering.com> + */ + +#ifndef __ASM_ARCH_IMX_REGS_H__ +#define __ASM_ARCH_IMX_REGS_H__ + +#define ARCH_MXC + +#define GPIO1_BASE_ADDR 0x401B8000 +#define GPIO2_BASE_ADDR 0x401BC000 +#define GPIO3_BASE_ADDR 0x401C0000 +#define GPIO4_BASE_ADDR 0x401C4000 +#define GPIO5_BASE_ADDR 0x400C0000 + +#define ANATOP_BASE_ADDR 0x400d8000 + +#define MXS_LCDIF_BASE 0x402b8000 + +#if !(defined(__KERNEL_STRICT_NAMES) || defined(__ASSEMBLY__)) +#include <asm/mach-imx/regs-lcdif.h> +#endif + +#define USB_BASE_ADDR 0x402E0000 +#define USB_PHY0_BASE_ADDR 0x400D9000 +#define USB_PHY1_BASE_ADDR 0x400DA000 + +#endif /* __ASM_ARCH_IMX_REGS_H__ */ diff --git a/roms/u-boot/arch/arm/include/asm/arch-imxrt/imxrt.h b/roms/u-boot/arch/arm/include/asm/arch-imxrt/imxrt.h new file mode 100644 index 000000000..1cb2c57d3 --- /dev/null +++ b/roms/u-boot/arch/arm/include/asm/arch-imxrt/imxrt.h @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2019 + * Author(s): Giulio Benetti <giulio.benetti@benettiengineering.com> + */ + +#ifndef _ASM_ARCH_IMXRT_H +#define _ASM_ARCH_IMXRT_H + +#endif /* _ASM_ARCH_IMXRT_H */ + diff --git a/roms/u-boot/arch/arm/include/asm/arch-imxrt/sys_proto.h b/roms/u-boot/arch/arm/include/asm/arch-imxrt/sys_proto.h new file mode 100644 index 000000000..eb878e672 --- /dev/null +++ b/roms/u-boot/arch/arm/include/asm/arch-imxrt/sys_proto.h @@ -0,0 +1,11 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * Copyright (C) 2017 NXP + */ + +#ifndef _ASM_ARCH_SYS_PROTO_H +#define _ASM_ARCH_SYS_PROTO_H + +#include <asm/mach-imx/sys_proto.h> + +#endif /* _ASM_ARCH_SYS_PROTO_H */ |