mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
ipq40xx: Add ethernet support for DK07-C3 board.
This patch enables ethernet initialization in DK07-C3 board. Change-Id: I70bf4dd2917b0fc02f937b236e68ebcb6b1c423c Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
This commit is contained in:
parent
e703375fa3
commit
612713b37f
4 changed files with 4 additions and 1 deletions
|
|
@ -17,5 +17,5 @@
|
|||
spi_nor_available = <0>;
|
||||
machid = <0x8010206>;
|
||||
ddr_size = <512>;
|
||||
config_name = "config@ap.dk07.1-c1";
|
||||
config_name = "config@ap.dk07.1-c3";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1132,6 +1132,7 @@ extern unsigned int __machine_arch_type;
|
|||
#define MACH_TYPE_IPQ40XX_AP_DK04_1_C3 0x8010201
|
||||
#define MACH_TYPE_IPQ40XX_AP_DK06_1_C1 0x8010005
|
||||
#define MACH_TYPE_IPQ40XX_AP_DK07_1_C1 0x8010006
|
||||
#define MACH_TYPE_IPQ40XX_AP_DK07_1_C3 0x8010206
|
||||
#define MACH_TYPE_IPQ40XX_DB_DK01_1_C1 0x1010002
|
||||
#define MACH_TYPE_IPQ40XX_DB_DK02_1_C1 0x1010003
|
||||
#define MACH_TYPE_IPQ40XX_TB832 0x1010004
|
||||
|
|
|
|||
|
|
@ -205,6 +205,7 @@ int board_eth_init(bd_t *bis)
|
|||
ipq40xx_register_switch(ipq_qca8075_phy_init);
|
||||
break;
|
||||
case MACH_TYPE_IPQ40XX_AP_DK07_1_C1:
|
||||
case MACH_TYPE_IPQ40XX_AP_DK07_1_C3:
|
||||
/* 8075 out of reset */
|
||||
mdelay(100);
|
||||
gpio_set_value(41, 1);
|
||||
|
|
|
|||
|
|
@ -76,6 +76,7 @@ int ipq40xx_ess_sw_init(ipq40xx_edma_board_cfg_t *cfg)
|
|||
case MACH_TYPE_IPQ40XX_AP_DK04_1_C3:
|
||||
case MACH_TYPE_IPQ40XX_AP_DK06_1_C1:
|
||||
case MACH_TYPE_IPQ40XX_AP_DK07_1_C1:
|
||||
case MACH_TYPE_IPQ40XX_AP_DK07_1_C3:
|
||||
|
||||
ipq40xx_ess_sw_wr(S17_P0LOOKUP_CTRL_REG, 0x140000);
|
||||
ipq40xx_ess_sw_wr(S17_P1LOOKUP_CTRL_REG, 0x140000);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue