]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/ti/dra7xx/evm.c
ARM: DRA74-evm: Use SMA_1 spare register to workaround DP83865 phy on SR2.0
[karo-tx-uboot.git] / board / ti / dra7xx / evm.c
index 9603f10f8adeab9094be00b9a7e90fd97c88d9f1..6e3c85513f890e5f6dc656b2201da4942ebac5ff 100644 (file)
@@ -104,6 +104,9 @@ void recalibrate_iodelay(void)
                npads = ARRAY_SIZE(dra74x_core_padconf_array);
                iodelay = dra742_es2_0_iodelay_cfg_array;
                niodelays = ARRAY_SIZE(dra742_es2_0_iodelay_cfg_array);
+               /* Setup port1 and port2 for rgmii with 'no-id' mode */
+               clrset_spare_register(1, 0, RGMII2_ID_MODE_N_MASK |
+                                     RGMII1_ID_MODE_N_MASK);
                break;
        }
        __recalibrate_iodelay(pads, npads, iodelay, niodelays);