Lines Matching +full:iomux +full:- +full:gpr
1 // SPDX-License-Identifier: GPL-2.0+
9 #include <asm/arch/imx-regs.h>
10 #include <asm/arch/iomux.h>
11 #include <asm/arch/mx6-pins.h>
14 #include <asm/mach-imx/mxc_i2c.h>
15 #include <asm/mach-imx/iomux-v3.h>
16 #include <asm/mach-imx/boot_mode.h>
17 #include <asm/mach-imx/video.h>
63 gd->ram_size = imx_ddr_size(); in dram_init()
199 return (bus == 0 && cs == 0) ? (IMX_GPIO_NR(2, 30)) : -1; in board_spi_cs_gpio()
236 struct fsl_esdhc_cfg *cfg = (struct fsl_esdhc_cfg *)mmc->priv; in board_mmc_getcd()
239 switch (cfg->esdhc_base) { in board_mmc_getcd()
282 return -EINVAL; in board_mmc_init()
317 if (phydev->drv->config) in board_phy_config()
318 phydev->drv->config(phydev); in board_phy_config()
349 return 0 == dev->addr; in detect_baseboard()
353 .bus = -1,
359 .name = "SHARP-LQ156M1LG21",
373 .bus = -1,
398 struct iomuxc *iomux = (struct iomuxc *)IOMUXC_BASE_ADDR; in setup_display() local
400 clrbits_le32(&mxc_ccm->cscmr2, MXC_CCM_CSCMR2_LDB_DI0_IPU_DIV); in setup_display()
405 clrsetbits_le32(&mxc_ccm->chsccdr, in setup_display()
411 setbits_le32(&mxc_ccm->CCGR3, MXC_CCM_CCGR3_LDB_DI0_MASK); in setup_display()
425 &iomux->gpr[2]); in setup_display()
427 clrsetbits_le32(&iomux->gpr[3], in setup_display()
445 * Use always serial for U-Boot console
481 clrsetbits_le32(&iomuxc_regs->gpr[13], in setup_ba16_sata()
518 gd->bd->bi_boot_params = PHYS_SDRAM + 0x100; in board_init()