blob: 76097f80af364ed211063062de8150d50d31c8a8 [file] [log] [blame]
Nikita Kiryanove32028a2014-09-07 18:59:29 +03001/*
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
9#include <asm/arch/mx6-pins.h>
10#include <asm/arch/clock.h>
11
12#define UART_PAD_CTRL (PAD_CTL_PUS_100K_UP | \
13 PAD_CTL_SPEED_MED | PAD_CTL_DSE_40ohm | \
14 PAD_CTL_SRE_FAST | PAD_CTL_HYS)
15
16#define CM_FX6_ECSPI_BUS0_CS0 IMX_GPIO_NR(2, 30)
17#define CM_FX6_GREEN_LED IMX_GPIO_NR(2, 31)
Nikita Kiryanov02b13432014-08-20 15:09:02 +030018#define CM_FX6_ENET_NRST IMX_GPIO_NR(2, 8)
Nikita Kiryanov0f3effb2014-08-20 15:09:03 +030019#define CM_FX6_ENET_NRST IMX_GPIO_NR(2, 8)
20#define CM_FX6_USB_HUB_RST IMX_GPIO_NR(7, 8)
21#define SB_FX6_USB_OTG_PWR IMX_GPIO_NR(3, 22)
Nikita Kiryanov206f38f2014-08-20 15:09:06 +030022#define CM_FX6_ENET_NRST IMX_GPIO_NR(2, 8)
23#define CM_FX6_USB_HUB_RST IMX_GPIO_NR(7, 8)
24#define SB_FX6_USB_OTG_PWR IMX_GPIO_NR(3, 22)
25#define CM_FX6_SATA_PWREN IMX_GPIO_NR(1, 28)
26#define CM_FX6_SATA_VDDC_CTRL IMX_GPIO_NR(1, 30)
27#define CM_FX6_SATA_LDO_EN IMX_GPIO_NR(2, 16)
28#define CM_FX6_SATA_NSTANDBY1 IMX_GPIO_NR(3, 20)
29#define CM_FX6_SATA_PHY_SLP IMX_GPIO_NR(3, 23)
30#define CM_FX6_SATA_STBY_REQ IMX_GPIO_NR(3, 29)
31#define CM_FX6_SATA_NSTANDBY2 IMX_GPIO_NR(5, 2)
32#define CM_FX6_SATA_NRSTDLY IMX_GPIO_NR(6, 6)
33#define CM_FX6_SATA_PWLOSS_INT IMX_GPIO_NR(6, 31)
34
Nikita Kiryanove32028a2014-09-07 18:59:29 +030035
36void cm_fx6_set_usdhc_iomux(void);
37void cm_fx6_set_ecspi_iomux(void);