imx8_iomux.h 876 B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #ifndef IMX8_IOMUX_H
  7. #define IMX8_IOMUX_H
  8. #define PADRING_IFMUX_EN_SHIFT U(31)
  9. #define PADRING_IFMUX_EN_MASK (U(0x1) << PADRING_IFMUX_EN_SHIFT)
  10. #define PADRING_GP_EN_SHIFT U(30)
  11. #define PADRING_GP_EN_MASK (U(0x1) << PADRING_GP_EN_SHIFT)
  12. #define PADRING_IFMUX_SHIFT U(27)
  13. #define PADRING_IFMUX_MASK (U(0x7) << PADRING_IFMUX_SHIFT)
  14. #define PADRING_CONFIG_SHIFT U(25)
  15. #define PADRING_CONFIG_MASK (U(0x3) << PADRING_CONFIG_SHIFT)
  16. #define PADRING_LPCONFIG_SHIFT U(23)
  17. #define PADRING_LPCONFIG_MASK (U(0x3) << PADRING_LPCONFIG_SHIFT)
  18. #define PADRING_PULL_SHIFT U(5)
  19. #define PADRING_PULL_MASK (U(0x3) << PADRING_PULL_SHIFT)
  20. #define PADRING_DSE_SHIFT U(0)
  21. #define PADRING_DSE_MASK (U(0x7) << PADRING_DSE_SHIFT)
  22. #endif /* IMX8_IOMUX_H */