mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-06 09:21:26 +01:00
Merge "drivers: net: ipq5332: update MHT switch config"
This commit is contained in:
commit
bc7ff6a368
1 changed files with 5 additions and 5 deletions
|
|
@ -1985,21 +1985,21 @@ int ipq5332_edma_init(void *edma_board_cfg)
|
|||
/** QCA8084 switch specific configurations */
|
||||
if (qca8084_swt_enb && qca8084_chip_detect) {
|
||||
/*
|
||||
* Force speed ipq5332 2nd port
|
||||
* Force speed ipq5332 1st port
|
||||
* for QCA8084 switch mode
|
||||
*/
|
||||
clk[0] = 0x301;
|
||||
clk[1] = 0x0;
|
||||
clk[2] = 0x301;
|
||||
clk[2] = 0x401;
|
||||
clk[3] = 0x0;
|
||||
|
||||
pr_debug("Force speed ipq5332 2nd PORT "
|
||||
pr_debug("Force speed ipq5332 1st PORT "
|
||||
"for QCA8084 switch mode \n");
|
||||
ipq5332_speed_clock_set(PORT1, clk);
|
||||
ipq5332_speed_clock_set(PORT0, clk);
|
||||
|
||||
/** Force Link-speed: 1000M
|
||||
* Force Link-status: enable */
|
||||
ipq5332_pqsgmii_speed_set(PORT1, 0x2, 0x0);
|
||||
ipq5332_pqsgmii_speed_set(PORT0, 0x2, 0x0);
|
||||
|
||||
ret = ipq_qca8084_hw_init(swt_info);
|
||||
if (ret < 0) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue