From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-io1-xd2c.google.com ([2607:f8b0:4864:20::d2c]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1j6ErP-00016K-7w for barebox@lists.infradead.org; Mon, 24 Feb 2020 14:37:28 +0000 Received: by mail-io1-xd2c.google.com with SMTP id 13so9910785iou.1 for ; Mon, 24 Feb 2020 06:37:24 -0800 (PST) MIME-Version: 1.0 From: =?UTF-8?B?5pu554Wc?= Date: Mon, 24 Feb 2020 22:37:12 +0800 Message-ID: Content-Type: multipart/mixed; boundary="0000000000002f6a16059f534f3f" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Bareox mv88e6xxx switch driver not working properly To: barebox@lists.infradead.org --0000000000002f6a16059f534f3f Content-Type: text/plain; charset="UTF-8" Hello, I have an armada 370 box, and it's using the marvell 88e6171r switch, I'm trying to port barebox to this box. But the mv88e6xxx driver not working properly on my box, below is the miitool output: barebox@Marvell Armada 370/XP:/ miitool mdio0-phy15: f1072004.mdio@72004.of: powerdown, no link mdio0-phy16: f1072004.mdio@72004.of: 10 Mbit, half duplex, no link mdio1-phy00: f1072004.mdio@72004:switch0@0.of: powerdown, no link mdio1-phy01: f1072004.mdio@72004:switch0@0.of: powerdown, no link mdio1-phy02: f1072004.mdio@72004:switch0@0.of: powerdown, no link mdio1-phy03: f1072004.mdio@72004:switch0@0.of: powerdown, no link mdio1-phy04: f1072004.mdio@72004:switch0@0.of: powerdown, no link The attachment is the device tree of my box, the switch is working properly on kernel 4.19 and above. Can you give some suggestions for me? Thanks. Regards. --0000000000002f6a16059f534f3f Content-Type: audio/vnd.dts; name="armada-370-rtnasv3_dsa.dts" Content-Disposition: attachment; filename="armada-370-rtnasv3_dsa.dts" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_k70kac0h0 Ly8gU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lyZWcgPSA8MHg0 MDAwMDAwMCAweGJiYzAwMDAwPjsKCQkJfTsKCQl9OwoJfTsKfTsKCiZldGgwIHsKCXN0YXR1cyA9 ICJkaXNhYmxlZCI7Cn07CgovKiBldGgxIGlzIGNvbm5lY3RlZCB0byBhIE1hcnZlbGwgODhFNjE3 MSBzd2l0Y2gsIHdpdGhvdXQgYSBQSFkuIFNvIHNldAogKiBmaXhlZCBzcGVlZCBhbmQgZHVwbGV4 LgogKi8KJmV0aDEgewoJcGluY3RybC1uYW1lcyA9ICJkZWZhdWx0IjsKCXBpbmN0cmwtMCA9IDwm Z2UxX3JnbWlpX3BpbnM+OwoJc3RhdHVzID0gIm9rYXkiOwoJcGh5LW1vZGUgPSAicmdtaWkiOwoK CWZpeGVkLWxpbmsgewoJCSAgIHNwZWVkID0gPDEwMDA+OwoJCSAgIHBhdXNlOwoJCSAgIGZ1bGwt ZHVwbGV4OwoJfTsKfTsKCiZydGMgewoJc3RhdHVzID0gImRpc2FibGVkIjsKfTsKCg== --0000000000002f6a16059f534f3f Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox --0000000000002f6a16059f534f3f--