Lines Matching +full:cl +full:- +full:som +full:- +full:imx7
1 // SPDX-License-Identifier: GPL-2.0+
3 * U-Boot board functions for CompuLab CL-SOM-iMX7 module
18 #include <asm/mach-imx/mxc_i2c.h>
19 #include <asm/mach-imx/iomux-v3.h>
20 #include <asm/arch-mx7/mx7-pins.h>
21 #include <asm/arch-mx7/sys_proto.h>
22 #include <asm/arch-mx7/clock.h>
54 * cl_som_imx7_setup_i2c() - I2C pinmux configuration.
66 gd->ram_size = imx_ddr_size(); in dram_init()
85 * (U-boot device node) (Physical Port) in board_mmc_init()
109 return -EINVAL; in board_mmc_init()
126 * cl_som_imx7_rgmii_rework() - Ethernet PHY configuration.
163 if (phydev->drv->config) in board_phy_config()
164 phydev->drv->config(phydev); in board_phy_config()
170 * cl_som_imx7_handle_mac_address() - set Ethernet MAC address environment.
192 return -1; in cl_som_imx7_handle_mac_address()
217 * cl_som_imx7_setup_fec() - Ethernet MAC 1 clock configuration.
218 * - ENET1 reference clock mode select.
219 * - ENET1_TX_CLK output driver is disabled when configured for ALT1.
227 clrsetbits_le32(&iomuxc_gpr_regs->gpr[1], in cl_som_imx7_setup_fec()
258 gd->bd->bi_boot_params = PHYS_SDRAM + 0x100; in board_init()
295 * cl_som_imx7_setup_wdog() - watchdog configuration.
296 * - Output WDOG_B signal to reset external pmic.
297 * - Suspend the watchdog timer during low-power modes.
309 clrsetbits_le16(&wdog->wcr, 0, 0x10); in cl_som_imx7_setup_wdog()
314 env_set("board_name", "CL-SOM-iMX7"); in board_late_init()
326 mode = "non-secure"; in checkboard()
328 printf("Board: CL-SOM-iMX7 in %s mode\n", mode); in checkboard()