diff --git a/hw/phb4.c b/hw/phb4.c
index 17a233f..ef6b176 100644
--- a/hw/phb4.c
+++ b/hw/phb4.c
@@ -2966,6 +2966,10 @@ static unsigned int phb4_get_max_link_speed(struct phb4 *p, struct dt_node *np)
 
 	/* Priority order: NVRAM -> dt -> GEN3 dd2.00 -> GEN4 */
 	max_link_speed = 4;
+	if(dt_node_is_compatible(dt_root,"ibm,mowgli") && p->pec==0){
+		max_link_speed = 3;
+		prlog(PR_DEBUG, "Set the max link speed of Mowgli phb0 to gen3\n");
+	}
 	if (p->rev == PHB4_REV_NIMBUS_DD20 &&
 	    ((0xf & chip->ec_level) == 0) && chip->ec_rev == 0)
 		max_link_speed = 3;
