Ye Li | fa10557 | 2022-07-26 16:41:01 +0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
2 | /* | ||||
3 | * Copyright 2022 NXP | ||||
4 | */ | ||||
5 | |||||
6 | #ifndef __ASM_ARCH_IMX9_GPIO_H | ||||
7 | #define __ASM_ARCH_IMX9_GPIO_H | ||||
8 | |||||
Peng Fan | 173555f | 2024-12-03 23:42:46 +0800 | [diff] [blame] | 9 | #include <linux/types.h> |
10 | |||||
Ye Li | fa10557 | 2022-07-26 16:41:01 +0800 | [diff] [blame] | 11 | struct gpio_regs { |
12 | u32 gpio_pdor; | ||||
13 | u32 gpio_psor; | ||||
14 | u32 gpio_pcor; | ||||
15 | u32 gpio_ptor; | ||||
16 | u32 gpio_pdir; | ||||
17 | u32 gpio_pddr; | ||||
18 | u32 gpio_pidr; | ||||
19 | u8 gpio_pxdr[32]; | ||||
20 | }; | ||||
21 | |||||
22 | #endif |