| /OK3568_Linux_fs/u-boot/board/gateworks/gw_ventana/ |
| H A D | common.c | 94 .gp = IMX_GPIO_NR(3, 21) 99 .gp = IMX_GPIO_NR(3, 28) 106 .gp = IMX_GPIO_NR(3, 21) 111 .gp = IMX_GPIO_NR(3, 28) 120 .gp = IMX_GPIO_NR(4, 12) 125 .gp = IMX_GPIO_NR(4, 13) 132 .gp = IMX_GPIO_NR(4, 12) 137 .gp = IMX_GPIO_NR(4, 13) 146 .gp = IMX_GPIO_NR(1, 3) 151 .gp = IMX_GPIO_NR(1, 6) [all …]
|
| /OK3568_Linux_fs/u-boot/board/compulab/cm_fx6/ |
| H A D | common.h | 16 #define CM_FX6_ECSPI_BUS0_CS0 IMX_GPIO_NR(2, 30) 17 #define CM_FX6_GREEN_LED IMX_GPIO_NR(2, 31) 18 #define CM_FX6_ENET_NRST IMX_GPIO_NR(2, 8) 19 #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) 22 #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) [all …]
|
| /OK3568_Linux_fs/u-boot/board/kosagi/novena/ |
| H A D | novena.h | 12 #define NOVENA_AUDIO_PWRON IMX_GPIO_NR(5, 17) 13 #define NOVENA_BACKLIGHT_PWM_GPIO IMX_GPIO_NR(4, 29) 14 #define NOVENA_BACKLIGHT_PWR_GPIO IMX_GPIO_NR(4, 15) 15 #define NOVENA_BUTTON_GPIO IMX_GPIO_NR(4, 14) 16 #define NOVENA_FPGA_RESET_N_GPIO IMX_GPIO_NR(5, 7) 17 #define NOVENA_HDMI_GHOST_HPD IMX_GPIO_NR(5, 4) 18 #define NOVENA_ITE6251_PWR_GPIO IMX_GPIO_NR(5, 28) 19 #define NOVENA_PCIE_DISABLE_GPIO IMX_GPIO_NR(2, 16) 20 #define NOVENA_PCIE_POWER_ON_GPIO IMX_GPIO_NR(7, 12) 21 #define NOVENA_PCIE_RESET_GPIO IMX_GPIO_NR(3, 29) [all …]
|
| H A D | novena_spl.c | 132 gpio_direction_output(IMX_GPIO_NR(3, 23), 0); in novena_spl_setup_iomux_enet() 141 gpio_direction_input(IMX_GPIO_NR(6, 30)); /* PHY_AD2 = 1 */ in novena_spl_setup_iomux_enet() 142 gpio_direction_input(IMX_GPIO_NR(6, 25)); /* MODE0 = 1 */ in novena_spl_setup_iomux_enet() 143 gpio_direction_input(IMX_GPIO_NR(6, 27)); /* MODE1 = 1 */ in novena_spl_setup_iomux_enet() 144 gpio_direction_input(IMX_GPIO_NR(6, 28)); /* MODE2 = 1 */ in novena_spl_setup_iomux_enet() 145 gpio_direction_input(IMX_GPIO_NR(6, 29)); /* MODE3 = 1 */ in novena_spl_setup_iomux_enet() 146 gpio_direction_input(IMX_GPIO_NR(6, 24)); /* CLK125_EN = 1 */ in novena_spl_setup_iomux_enet() 152 gpio_set_value(IMX_GPIO_NR(3, 23), 1); in novena_spl_setup_iomux_enet() 205 .gp = IMX_GPIO_NR(3, 21) 210 .gp = IMX_GPIO_NR(3, 28) [all …]
|
| /OK3568_Linux_fs/u-boot/board/aristainetos/ |
| H A D | aristainetos-v2.c | 47 #define ECSPI1_CS0 IMX_GPIO_NR(4, 9) 48 #define ECSPI4_CS0 IMX_GPIO_NR(3, 29) 50 #define ECSPI1_CS0 IMX_GPIO_NR(2, 30) /* NOR flash */ 52 #define ECSPI1_CS1 IMX_GPIO_NR(4, 10) 55 #define SOFT_RESET_GPIO IMX_GPIO_NR(7, 13) 56 #define SD2_DRIVER_ENABLE IMX_GPIO_NR(7, 8) 62 .gp = IMX_GPIO_NR(1, 5) 67 .gp = IMX_GPIO_NR(1, 6) 75 .gp = IMX_GPIO_NR(1, 7) 80 .gp = IMX_GPIO_NR(1, 8) [all …]
|
| H A D | aristainetos-v1.c | 39 .gp = IMX_GPIO_NR(3, 17) 44 .gp = IMX_GPIO_NR(3, 18) 159 ? (IMX_GPIO_NR(3, 20)) : -1; in board_spi_cs_gpio() 255 gpio_request(IMX_GPIO_NR(1, 7), "i2c4_scl"); in setup_i2c4() 256 gpio_direction_input(IMX_GPIO_NR(1, 7)); in setup_i2c4() 257 gpio_request(IMX_GPIO_NR(1, 8), "i2c4_sda"); in setup_i2c4() 258 gpio_direction_input(IMX_GPIO_NR(1, 8)); in setup_i2c4() 264 gpio_request(IMX_GPIO_NR(2, 13), "LED ena"); in setup_board_gpio() 265 gpio_direction_output(IMX_GPIO_NR(2, 13), 0); in setup_board_gpio() 267 gpio_request(IMX_GPIO_NR(1, 3), "LED yellow"); in setup_board_gpio() [all …]
|
| /OK3568_Linux_fs/u-boot/board/syteco/zmx25/ |
| H A D | zmx25.c | 64 gpio_direction_output(IMX_GPIO_NR(3, 15), 1); in board_init() 71 gpio_direction_output(IMX_GPIO_NR(1, 28), 1); in board_init() 74 gpio_direction_input(IMX_GPIO_NR(1, 18)); in board_init() 81 gpio_direction_output(IMX_GPIO_NR(1, 7), 0); in board_init() 82 gpio_direction_output(IMX_GPIO_NR(1, 6), 0); in board_init() 86 gpio_direction_input(IMX_GPIO_NR(2, 29)); in board_init() 92 gpio_direction_output(IMX_GPIO_NR(4, 21), 0); in board_init() 93 gpio_direction_output(IMX_GPIO_NR(1, 29), 0); in board_init() 139 gpio_direction_output(IMX_GPIO_NR(3, 16), 0); in board_late_init() 144 gpio_set_value(IMX_GPIO_NR(3, 16), 1); in board_late_init() [all …]
|
| /OK3568_Linux_fs/u-boot/board/boundary/nitrogen6x/ |
| H A D | nitrogen6x.c | 37 #define GP_USB_OTG_PWR IMX_GPIO_NR(3, 22) 94 .gp = IMX_GPIO_NR(3, 21) 99 .gp = IMX_GPIO_NR(3, 28) 108 .gp = IMX_GPIO_NR(4, 12) 113 .gp = IMX_GPIO_NR(4, 13) 122 .gp = IMX_GPIO_NR(1, 5) 127 .gp = IMX_GPIO_NR(7, 11) 213 #define WL12XX_WL_IRQ_GP IMX_GPIO_NR(6, 14) 214 #define WL12XX_WL_ENABLE_GP IMX_GPIO_NR(6, 15) 215 #define WL12XX_BT_ENABLE_GP IMX_GPIO_NR(6, 16) [all …]
|
| /OK3568_Linux_fs/u-boot/board/barco/platinum/ |
| H A D | platinum_titanium.c | 95 .gp = IMX_GPIO_NR(5, 27) 100 .gp = IMX_GPIO_NR(5, 26) 108 .gp = IMX_GPIO_NR(1, 3) 113 .gp = IMX_GPIO_NR(7, 11) 125 gpio_direction_output(IMX_GPIO_NR(3, 23), 0); in platinum_setup_enet() 126 gpio_direction_output(IMX_GPIO_NR(6, 30), 1); in platinum_setup_enet() 127 gpio_direction_output(IMX_GPIO_NR(6, 25), 1); in platinum_setup_enet() 128 gpio_direction_output(IMX_GPIO_NR(6, 27), 1); in platinum_setup_enet() 129 gpio_direction_output(IMX_GPIO_NR(6, 28), 1); in platinum_setup_enet() 130 gpio_direction_output(IMX_GPIO_NR(6, 29), 1); in platinum_setup_enet() [all …]
|
| H A D | platinum_picon.c | 21 #define GPIO_IP_NCONFIG IMX_GPIO_NR(5, 18) 22 #define GPIO_HK_NCONFIG IMX_GPIO_NR(7, 13) 23 #define GPIO_LS_NCONFIG IMX_GPIO_NR(5, 19) 25 #define GPIO_I2C0_SEL0 IMX_GPIO_NR(5, 2) 26 #define GPIO_I2C0_SEL1 IMX_GPIO_NR(1, 11) 27 #define GPIO_I2C0_ENBN IMX_GPIO_NR(1, 13) 29 #define GPIO_I2C2_SEL0 IMX_GPIO_NR(1, 17) 30 #define GPIO_I2C2_SEL1 IMX_GPIO_NR(1, 20) 31 #define GPIO_I2C2_ENBN IMX_GPIO_NR(1, 14) 33 #define GPIO_USB_RESET IMX_GPIO_NR(1, 5) [all …]
|
| /OK3568_Linux_fs/u-boot/board/embest/mx6boards/ |
| H A D | mx6boards.c | 120 gpio_direction_output(IMX_GPIO_NR(3, 31) , 0); in setup_iomux_enet() 122 gpio_set_value(IMX_GPIO_NR(3, 31), 1); in setup_iomux_enet() 191 #define USDHC2_CD_GPIO IMX_GPIO_NR(1, 4) 192 #define USDHC3_CD_GPIO IMX_GPIO_NR(7, 0) 251 gpio_direction_output(IMX_GPIO_NR(7, 8) , 0); in board_mmc_init() 253 gpio_set_value(IMX_GPIO_NR(7, 8), 1); in board_mmc_init() 263 gpio_direction_output(IMX_GPIO_NR(6, 8) , 0); in board_mmc_init() 265 gpio_set_value(IMX_GPIO_NR(6, 8), 1); in board_mmc_init() 293 return (bus == 0 && cs == 0) ? (IMX_GPIO_NR(2, 30)) : -1; in board_spi_cs_gpio() 308 .gp = IMX_GPIO_NR(5, 27) [all …]
|
| /OK3568_Linux_fs/u-boot/board/beckhoff/mx53cx9020/ |
| H A D | mx53cx9020.c | 33 GPIO_SD1_CD = IMX_GPIO_NR(1, 1), 34 GPIO_SD2_CD = IMX_GPIO_NR(1, 4), 35 GPIO_LED_SD2_R = IMX_GPIO_NR(3, 16), 36 GPIO_LED_SD2_B = IMX_GPIO_NR(3, 17), 37 GPIO_LED_SD2_G = IMX_GPIO_NR(3, 18), 38 GPIO_LED_SD1_R = IMX_GPIO_NR(3, 19), 39 GPIO_LED_SD1_B = IMX_GPIO_NR(3, 20), 40 GPIO_LED_SD1_G = IMX_GPIO_NR(3, 21), 41 GPIO_LED_PWR_R = IMX_GPIO_NR(3, 22), 42 GPIO_LED_PWR_B = IMX_GPIO_NR(3, 23), [all …]
|
| /OK3568_Linux_fs/u-boot/board/udoo/ |
| H A D | udoo.c | 40 #define WDT_EN IMX_GPIO_NR(5, 4) 41 #define WDT_TRG IMX_GPIO_NR(3, 19) 137 gpio_direction_output(IMX_GPIO_NR(2, 31), 1); /* Power supply on */ in setup_iomux_enet() 139 gpio_direction_output(IMX_GPIO_NR(3, 23), 0); /* assert PHY rst */ in setup_iomux_enet() 141 gpio_direction_output(IMX_GPIO_NR(6, 24), 1); in setup_iomux_enet() 142 gpio_direction_output(IMX_GPIO_NR(6, 25), 1); in setup_iomux_enet() 143 gpio_direction_output(IMX_GPIO_NR(6, 27), 1); in setup_iomux_enet() 144 gpio_direction_output(IMX_GPIO_NR(6, 28), 1); in setup_iomux_enet() 145 gpio_direction_output(IMX_GPIO_NR(6, 29), 1); in setup_iomux_enet() 148 gpio_set_value(IMX_GPIO_NR(3, 23), 1); /* deassert PHY rst */ in setup_iomux_enet() [all …]
|
| /OK3568_Linux_fs/u-boot/board/barco/titanium/ |
| H A D | titanium.c | 68 .gp = IMX_GPIO_NR(5, 27) 73 .gp = IMX_GPIO_NR(5, 26) 81 .gp = IMX_GPIO_NR(1, 3) 86 .gp = IMX_GPIO_NR(7, 11) 188 gpio_direction_output(IMX_GPIO_NR(3, 23), 0); in setup_iomux_enet() 189 gpio_direction_output(IMX_GPIO_NR(6, 30), 1); in setup_iomux_enet() 190 gpio_direction_output(IMX_GPIO_NR(6, 25), 1); in setup_iomux_enet() 191 gpio_direction_output(IMX_GPIO_NR(6, 27), 1); in setup_iomux_enet() 192 gpio_direction_output(IMX_GPIO_NR(6, 28), 1); in setup_iomux_enet() 193 gpio_direction_output(IMX_GPIO_NR(6, 29), 1); in setup_iomux_enet() [all …]
|
| /OK3568_Linux_fs/u-boot/board/tqc/tqma6/ |
| H A D | tqma6_wru4.c | 88 #define USDHC2_CD_GPIO IMX_GPIO_NR(1, 4) 89 #define USDHC2_WP_GPIO IMX_GPIO_NR(1, 2) 168 #define ENET_PHY_RESET_GPIO IMX_GPIO_NR(1, 8) 224 #define GPIO_USB_H_PWR IMX_GPIO_NR(1, 0) 225 #define GPIO_USB_OTG_PWR IMX_GPIO_NR(3, 22) 226 #define GPIO_PCIE_RST IMX_GPIO_NR(6, 7) 227 #define GPIO_UART1_PWRON IMX_GPIO_NR(5, 8) 228 #define GPIO_UART2_PWRON IMX_GPIO_NR(5, 10) 229 #define GPIO_UART3_PWRON IMX_GPIO_NR(5, 12) 310 #define WRU4_USB_H1_PWR IMX_GPIO_NR(1, 0) [all …]
|
| /OK3568_Linux_fs/u-boot/board/bachmann/ot1200/ |
| H A D | ot1200.c | 106 return (bus == 2 && cs == 0) ? (IMX_GPIO_NR(1, 3)) : -1; in board_spi_cs_gpio() 130 .gp = IMX_GPIO_NR(2, 30) 135 .gp = IMX_GPIO_NR(3, 16) 144 .gp = IMX_GPIO_NR(3, 17) 149 .gp = IMX_GPIO_NR(3, 18) 214 gpio_direction_input(IMX_GPIO_NR(4, 5)); in board_mmc_getcd() 215 ret = gpio_get_value(IMX_GPIO_NR(4, 5)); in board_mmc_getcd() 217 gpio_direction_input(IMX_GPIO_NR(1, 5)); in board_mmc_getcd() 218 ret = !gpio_get_value(IMX_GPIO_NR(1, 5)); in board_mmc_getcd() 275 unsigned gpio = IMX_GPIO_NR(2, 0); in backlight_lcd_off() [all …]
|
| /OK3568_Linux_fs/u-boot/board/el/el6x/ |
| H A D | el6x.c | 64 #define ETH_PHY_RESET IMX_GPIO_NR(2, 4) 139 gpio_direction_input(IMX_GPIO_NR(4, 9)); in setup_iomux_enet() 140 gpio_direction_input(IMX_GPIO_NR(4, 12)); in setup_iomux_enet() 188 ? (IMX_GPIO_NR(3, 20)) : -1; in board_spi_cs_gpio() 194 gpio_request(IMX_GPIO_NR(5, 17), "spi_cs0"); in setup_spi() 195 gpio_request(IMX_GPIO_NR(5, 9), "spi_cs1"); in setup_spi() 196 gpio_direction_output(IMX_GPIO_NR(5, 17), 1); in setup_spi() 197 gpio_direction_output(IMX_GPIO_NR(5, 9), 1); in setup_spi() 201 gpio_request(IMX_GPIO_NR(3, 20), "spi4_cs0"); in setup_spi() 202 gpio_direction_output(IMX_GPIO_NR(3, 20), 1); in setup_spi() [all …]
|
| /OK3568_Linux_fs/u-boot/board/advantech/dms-ba16/ |
| H A D | dms-ba16.c | 105 gpio_direction_output(IMX_GPIO_NR(1, 28), 0); in setup_iomux_enet() 107 gpio_set_value(IMX_GPIO_NR(1, 28), 1); in setup_iomux_enet() 161 .gp = IMX_GPIO_NR(5, 27) 166 .gp = IMX_GPIO_NR(5, 26) 174 .gp = IMX_GPIO_NR(4, 12) 179 .gp = IMX_GPIO_NR(4, 13) 187 .gp = IMX_GPIO_NR(1, 3) 192 .gp = IMX_GPIO_NR(1, 6) 199 return (bus == 0 && cs == 0) ? (IMX_GPIO_NR(2, 30)) : -1; in board_spi_cs_gpio() 231 #define USDHC2_CD_GPIO IMX_GPIO_NR(1, 4) [all …]
|
| /OK3568_Linux_fs/u-boot/board/ge/bx50v3/ |
| H A D | bx50v3.c | 105 gpio_direction_output(IMX_GPIO_NR(1, 28), 0); in setup_iomux_enet() 107 gpio_set_value(IMX_GPIO_NR(1, 28), 1); in setup_iomux_enet() 161 .gp = IMX_GPIO_NR(5, 27) 166 .gp = IMX_GPIO_NR(5, 26) 174 .gp = IMX_GPIO_NR(4, 12) 179 .gp = IMX_GPIO_NR(4, 13) 187 .gp = IMX_GPIO_NR(1, 3) 192 .gp = IMX_GPIO_NR(1, 6) 199 return (bus == 0 && cs == 0) ? (IMX_GPIO_NR(2, 30)) : -1; in board_spi_cs_gpio() 231 #define USDHC2_CD_GPIO IMX_GPIO_NR(1, 4) [all …]
|
| /OK3568_Linux_fs/u-boot/board/freescale/mx51evk/ |
| H A D | mx51evk.c | 45 if (!gpio_get_value(IMX_GPIO_NR(1, 22))) in get_board_rev() 113 #define MX51EVK_USBH1_HUB_RST IMX_GPIO_NR(1, 7) 114 #define MX51EVK_USBH1_STP IMX_GPIO_NR(1, 27) 115 #define MX51EVK_USB_CLK_EN_B IMX_GPIO_NR(2, 1) 116 #define MX51EVK_USB_PHY_RESET IMX_GPIO_NR(2, 5) 258 gpio_direction_output(IMX_GPIO_NR(2, 14), 0); in power_init() 262 gpio_set_value(IMX_GPIO_NR(2, 14), 1); in power_init() 273 gpio_direction_input(IMX_GPIO_NR(1, 0)); in board_mmc_getcd() 276 gpio_direction_input(IMX_GPIO_NR(1, 6)); in board_mmc_getcd() 279 ret = !gpio_get_value(IMX_GPIO_NR(1, 0)); in board_mmc_getcd() [all …]
|
| /OK3568_Linux_fs/u-boot/board/wandboard/ |
| H A D | wandboard.c | 51 #define USDHC1_CD_GPIO IMX_GPIO_NR(1, 2) 52 #define USDHC3_CD_GPIO IMX_GPIO_NR(3, 9) 53 #define ETH_PHY_RESET IMX_GPIO_NR(3, 29) 54 #define REV_DETECTION IMX_GPIO_NR(2, 28) 232 .gp = IMX_GPIO_NR(4, 12) 239 .gp = IMX_GPIO_NR(4, 13) 249 .gp = IMX_GPIO_NR(4, 12) 256 .gp = IMX_GPIO_NR(4, 13) 303 gpio_direction_output(IMX_GPIO_NR(2, 10), 1); in enable_fwadapt_7wvga() 304 gpio_direction_output(IMX_GPIO_NR(2, 11), 1); in enable_fwadapt_7wvga() [all …]
|
| /OK3568_Linux_fs/u-boot/board/congatec/cgtqmx6eval/ |
| H A D | cgtqmx6eval.c | 55 #define MX6Q_QMX6_PFUZE_MUX IMX_GPIO_NR(6, 9) 176 .gp = IMX_GPIO_NR(4, 12) 181 .gp = IMX_GPIO_NR(4, 13) 189 .gp = IMX_GPIO_NR(4, 12) 194 .gp = IMX_GPIO_NR(4, 13) 266 gpio_direction_output(IMX_GPIO_NR(3, 23), 0); in board_eth_init() 268 gpio_set_value(IMX_GPIO_NR(3, 23), 1); in board_eth_init() 291 gpio_set_value(IMX_GPIO_NR(3, 23), 0); in board_eth_init() 292 gpio_set_value(IMX_GPIO_NR(6, 30), (phydev->addr >> 2)); in board_eth_init() 293 gpio_set_value(IMX_GPIO_NR(6, 25), 1); in board_eth_init() [all …]
|
| /OK3568_Linux_fs/u-boot/board/tbs/tbs2910/ |
| H A D | tbs2910.c | 56 .gp = IMX_GPIO_NR(5, 27) 61 .gp = IMX_GPIO_NR(5, 26) 70 .gp = IMX_GPIO_NR(4, 12) 75 .gp = IMX_GPIO_NR(4, 13) 84 .gp = IMX_GPIO_NR(1, 3) 89 .gp = IMX_GPIO_NR(1, 6) 142 gpio_direction_output(IMX_GPIO_NR(1, 25) , 0); in setup_iomux_enet() 144 gpio_set_value(IMX_GPIO_NR(1, 25), 1); in setup_iomux_enet() 198 #define USDHC2_CD_GPIO IMX_GPIO_NR(2, 2) 199 #define USDHC3_CD_GPIO IMX_GPIO_NR(2, 0)
|
| /OK3568_Linux_fs/u-boot/board/ccv/xpress/ |
| H A D | xpress.c | 66 .gp = IMX_GPIO_NR(1, 2), 71 .gp = IMX_GPIO_NR(1, 3), 79 .gp = IMX_GPIO_NR(1, 0), 84 .gp = IMX_GPIO_NR(1, 1), 92 .gp = IMX_GPIO_NR(1, 20), 97 .gp = IMX_GPIO_NR(1, 21), 164 #define USDHC2_PWR_GPIO IMX_GPIO_NR(1, 9) 241 #define ENET_PHY_RESET_GPIO IMX_GPIO_NR(4, 17)
|
| /OK3568_Linux_fs/u-boot/board/udoo/neo/ |
| H A D | neo.c | 89 .gp = IMX_GPIO_NR(1, 0), 94 .gp = IMX_GPIO_NR(1, 1), 280 gpio_direction_output(IMX_GPIO_NR(2, 1) , 0); in setup_fec() 282 gpio_set_value(IMX_GPIO_NR(2, 1), 1); in setup_fec() 350 gpio_direction_output(IMX_GPIO_NR(4, 16) , 1); in board_init() 366 gpio_direction_input(IMX_GPIO_NR(4, 13)); in get_board_value() 367 gpio_direction_input(IMX_GPIO_NR(4, 0)); in get_board_value() 369 r184 = gpio_get_value(IMX_GPIO_NR(4, 13)); in get_board_value() 370 r185 = gpio_get_value(IMX_GPIO_NR(4, 0)); in get_board_value() 396 #define USDHC2_PWR_GPIO IMX_GPIO_NR(6, 1) [all …]
|