mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
imx: imx9: Add gpio registers structure
Add GPIO registers structure for iMX93, so that we can enable lpgpio driver Signed-off-by: Ye Li <ye.li@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
This commit is contained in:
parent
5e2612f1dc
commit
12f2322736
2 changed files with 21 additions and 0 deletions
|
@ -916,6 +916,7 @@ config ARCH_IMX9
|
|||
select DM
|
||||
select MACH_IMX
|
||||
select SUPPORT_SPL
|
||||
select GPIO_EXTRA_HEADER
|
||||
select MISC
|
||||
select IMX_SENTINEL
|
||||
imply CMD_DM
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0+ */
|
||||
/*
|
||||
* Copyright 2022 NXP
|
||||
*/
|
||||
|
||||
#ifndef __ASM_ARCH_IMX9_GPIO_H
|
||||
#define __ASM_ARCH_IMX9_GPIO_H
|
||||
|
||||
struct gpio_regs {
|
||||
u32 gpio_pdor;
|
||||
u32 gpio_psor;
|
||||
u32 gpio_pcor;
|
||||
u32 gpio_ptor;
|
||||
u32 gpio_pdir;
|
||||
u32 gpio_pddr;
|
||||
u32 gpio_pidr;
|
||||
u8 gpio_pxdr[32];
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Reference in a new issue