Lines Matching +full:cpsw +full:- +full:switch
2 * Board functions for Gumstix Pepper and AM335x-based boards
4 * Copyright (C) 2014, Gumstix, Incorporated - http://www.gumstix.com/
7 * SPDX-License-Identifier: GPL-2.0+
27 #include <cpsw.h>
66 const struct dpll_params dpll_ddr3 = {400, OSC-1, 1, -1, -1, -1, -1};
99 const struct dpll_params dpll_ddr2 = {266, OSC-1, 1, -1, -1, -1, -1};
112 return -ENODEV; in read_eeprom()
117 return -EIO; in read_eeprom()
133 switch (header.device_vendor) { in get_dpll_ddr_params()
153 if (dpll->m == 266) { in sdram_init()
154 config_ddr(dpll->m, &ioregs_ddr2, &ddr2_data, in sdram_init()
157 else if (dpll->m == 400) { in sdram_init()
158 config_ddr(dpll->m, &ioregs_ddr3, &ddr3_data, in sdram_init()
166 /* break into full u-boot on 'c' */ in spl_start_uboot()
190 gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100; in board_init()
244 mac_lo = readl(&cdev->macid0l); in board_eth_init()
245 mac_hi = readl(&cdev->macid0h); in board_eth_init()
256 writel((RGMII_MODE_ENABLE | RGMII_INT_DELAY), &cdev->miisel); in board_eth_init()
260 printf("Error %d registering CPSW switch\n", rv); in board_eth_init()
266 * CPSW RGMII Internal Delay Mode is not supported in all PVT in board_eth_init()
269 * device in U-Boot, we only do this for the current instance. in board_eth_init()