common.h 560 B

123456789101112131415161718192021
  1. /*
  2. * Copyright (C) 2014, Compulab Ltd - http://compulab.co.il/
  3. *
  4. * Author: Nikita Kiryanov <nikita@compulab.co.il>
  5. *
  6. * SPDX-License-Identifier: GPL-2.0+
  7. */
  8. #include <asm/arch/mx6-pins.h>
  9. #include <asm/arch/clock.h>
  10. #define UART_PAD_CTRL (PAD_CTL_PUS_100K_UP | \
  11. PAD_CTL_SPEED_MED | PAD_CTL_DSE_40ohm | \
  12. PAD_CTL_SRE_FAST | PAD_CTL_HYS)
  13. #define CM_FX6_ECSPI_BUS0_CS0 IMX_GPIO_NR(2, 30)
  14. #define CM_FX6_GREEN_LED IMX_GPIO_NR(2, 31)
  15. #define CM_FX6_ENET_NRST IMX_GPIO_NR(2, 8)
  16. void cm_fx6_set_usdhc_iomux(void);
  17. void cm_fx6_set_ecspi_iomux(void);