Second EMAC (lan0), probe mdio on port 0 only.

Change-Id: I68f8d717de8b7b5d49edf2396fd9a3b7ea588b43
diff --git a/arch/arc/plat-qtn/sdk-qsr1000/common/ruby_board_db.h b/arch/arc/plat-qtn/sdk-qsr1000/common/ruby_board_db.h
index 416de04..702271b 100644
--- a/arch/arc/plat-qtn/sdk-qsr1000/common/ruby_board_db.h
+++ b/arch/arc/plat-qtn/sdk-qsr1000/common/ruby_board_db.h
@@ -1171,10 +1171,13 @@
 	.bc_ddr_speed   = DDR3_500MHz, \
 	.bc_ddr_size    = DDR_256MB, \
 	.bc_emac0       = EMAC_IN_USE, \
-	.bc_emac1       = EMAC_NOT_IN_USE, \
+	.bc_emac1       = (EMAC_IN_USE | EMAC_PHY_FORCE_1000MB | EMAC_PHY_NOT_IN_USE), \
 	.bc_phy0_addr   = 4, \
-	.bc_phy1_addr   = TOPAZ_PHY0_ADDR, \
+	.bc_phy1_addr   = EMAC_PHY_ADDR_SCAN, \
+	.bc_spi1        = SPI1_NOT_IN_USE, \
 	.bc_wifi_hw     = QTN_TPZ_SKY85703, \
+	.bc_uart1       = UART1_NOT_IN_USE, \
+	.bc_pcie        = PCIE_ROOTCOMPLEX, \
 	.bc_rgmii_timing = 0x84848484, \
 	} ,{ /* 2008 */ \
 	.bc_board_id    = QTN_TOPAZ_RGMII_RFIC6, \
diff --git a/drivers/qtn/topaz/switch_emac.c b/drivers/qtn/topaz/switch_emac.c
index f2040f6..8bd0c59 100644
--- a/drivers/qtn/topaz/switch_emac.c
+++ b/drivers/qtn/topaz/switch_emac.c
@@ -1212,8 +1212,10 @@
 	/* Map the TQE port to the device port */
 	dev->if_port = port->tqe_port;
 	/* Initialize MII */
-	if (emac_lib_mii_init(dev)) {
-		goto mii_init_error;
+	if (port_num == 0) {
+		if (emac_lib_mii_init(dev)) {
+			goto mii_init_error;
+		}
 	}
 
 	/* Allocate descs & buffers */