From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 95000C04AB5 for ; Thu, 6 Jun 2019 13:47:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 73BB02067C for ; Thu, 6 Jun 2019 13:47:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728310AbfFFNrK (ORCPT ); Thu, 6 Jun 2019 09:47:10 -0400 Received: from mx-relay59-hz2.antispameurope.com ([94.100.136.159]:39312 "EHLO mx-relay59-hz2.antispameurope.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726877AbfFFNrK (ORCPT ); Thu, 6 Jun 2019 09:47:10 -0400 Received: from b2b-92-50-72-125.unitymedia.biz ([92.50.72.125]) by mx-relay59-hz2.antispameurope.com; Thu, 06 Jun 2019 15:47:08 +0200 Received: from [192.168.101.59] (192.168.101.59) by eks-ex.eks-engel.local (192.168.100.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1034.26; Thu, 6 Jun 2019 15:47:06 +0200 Subject: Re: DSA with MV88E6321 and imx28 To: Andrew Lunn CC: References: <20190604135000.GD16951@lunn.ch> <854a0d9c-17a2-c502-458d-4d02a2cd90bb@eks-engel.de> <20190605122404.GH16951@lunn.ch> <414bd616-9383-073d-b3f3-6b6138c8b163@eks-engel.de> <20190605133102.GF19627@lunn.ch> <20907497-526d-67b2-c100-37047fa1f0d8@eks-engel.de> <20190605184724.GB19590@lunn.ch> <20190606122437.GA20899@lunn.ch> <86c1e7b1-ef38-7383-5617-94f9e677370b@eks-engel.de> <20190606133501.GC19590@lunn.ch> From: Benjamin Beckmeyer Message-ID: Date: Thu, 6 Jun 2019 15:47:06 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <20190606133501.GC19590@lunn.ch> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Content-Language: en-US X-Originating-IP: [192.168.101.59] X-ClientProxiedBy: eks-ex.eks-engel.local (192.168.100.30) To eks-ex.eks-engel.local (192.168.100.30) X-cloud-security-sender: beb@eks-engel.de X-cloud-security-recipient: netdev@vger.kernel.org X-cloud-security-Virusscan: CLEAN X-cloud-security-disclaimer: This E-Mail was scanned by E-Mailservice on mx-relay59-hz2.antispameurope.com with 50353C00C0B X-cloud-security-connect: b2b-92-50-72-125.unitymedia.biz[92.50.72.125], TLS=1, IP=92.50.72.125 X-cloud-security: scantime:.2335 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On 06.06.19 15:35, Andrew Lunn wrote: >> >From our hardware developer I know now that we are using a "mini" SFF >> which has no i2c eeprom. > O.K. Does this mini SFF have LOS, TX-Disable, etc? Are these connected > to GPIOs? I assume the SFF is fibre? And it needs the SERDES to speak > 1000BaseX, not SGMII? Nope, no LOS no tx-disable etc. Yeah, the SFF is fibre. Exactly, it needs SERDES to speak 1000BaseX. > >> Switch | external >> Port 0 - internal serdes 0x0c --|-------Mini SFF 1x8 Transceiver >> | >> Port 0 - internal serdes 0x0d --|-------Mini SFF 1x8 Transceiver >> | >> Port 2 ----------RGMII----------|-------KSZ9031 PHY 0x02(strap)--Transceiver >> | >> Port 3 - internal PHY 0x03 -----|-------Transceiver >> | >> Port 3 - internal PHY 0x04 -----|-------Transceiver >> | >> Port 5 - CPU-Port RMII ---------|-------CPU >> | >> Port 6 ----------RGMII----------|-------KSZ9031 PHY 0x06(strap)--Transceiver > So the current state is that just the SFF ports are not working? All > the copper PHYs are O.K. > > Andrew > The external copper PHYs are still not working properly, but if I set them to fixed-link, I see data coming in with I start tcpdump on my device. Just with some odd header but I'm not that far with DSA-tags and these stuff.   Just at that moment we found out that we have a problem with our MDC timing. After we fixed that the external PHY registers could be read correctly over SMI Command registers. But I haven't tested it with the DSA driver yet.