Anson Huang | b629413 | 2018-06-05 16:05:59 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved. |
| 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
Antonio Nino Diaz | 5eb8837 | 2018-11-08 10:20:19 +0000 | [diff] [blame] | 7 | #ifndef IMX8_IOMUX_H |
| 8 | #define IMX8_IOMUX_H |
Anson Huang | b629413 | 2018-06-05 16:05:59 +0800 | [diff] [blame] | 9 | |
| 10 | #define PADRING_IFMUX_EN_SHIFT 31 |
| 11 | #define PADRING_IFMUX_EN_MASK (1 << PADRING_IFMUX_EN_SHIFT) |
| 12 | #define PADRING_GP_EN_SHIFT 30 |
| 13 | #define PADRING_GP_EN_MASK (1 << PADRING_GP_EN_SHIFT) |
| 14 | #define PADRING_IFMUX_SHIFT 27 |
| 15 | #define PADRING_IFMUX_MASK (0x7 << PADRING_IFMUX_SHIFT) |
| 16 | #define PADRING_CONFIG_SHIFT 25 |
| 17 | #define PADRING_CONFIG_MASK (0x3 << PADRING_CONFIG_SHIFT) |
| 18 | #define PADRING_LPCONFIG_SHIFT 23 |
| 19 | #define PADRING_LPCONFIG_MASK (0x3 << PADRING_LPCONFIG_SHIFT) |
| 20 | #define PADRING_PULL_SHIFT 5 |
| 21 | #define PADRING_PULL_MASK (0x3 << PADRING_PULL_SHIFT) |
| 22 | #define PADRING_DSE_SHIFT 0 |
| 23 | #define PADRING_DSE_MASK (0x7 << PADRING_DSE_SHIFT) |
| 24 | |
Antonio Nino Diaz | 5eb8837 | 2018-11-08 10:20:19 +0000 | [diff] [blame] | 25 | #endif /* IMX8_IOMUX_H */ |