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.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_DKIMWL_WL_HIGH 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 E6846C04AB6 for ; Wed, 29 May 2019 01:12:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AA3B7208C3 for ; Wed, 29 May 2019 01:12:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1559092362; bh=uPO8y8Wmpuj2C3hi/JOL8C7Si0Dxs/iKgv8jfJsmRR4=; h=Subject:To:Cc:References:From:Date:In-Reply-To:List-ID:From; b=ovAWsGfdrRFx0b8Qc9ikWHqrbAiehCG4thAzLPOBky7Zm32qyrHxeollia6uTf1qf Hz//Gq3odB6YtlefpoUtVSUygoFJto66cuBRN6d4t4F/IO71IPCgogxQEKiCPossKD j70Mzw2kT/fYX9IcPbrgCKxAfbBYocZifxNinyNI= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725856AbfE2BMl (ORCPT ); Tue, 28 May 2019 21:12:41 -0400 Received: from icp-osb-irony-out9.external.iinet.net.au ([203.59.1.226]:32503 "EHLO icp-osb-irony-out9.external.iinet.net.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725805AbfE2BMl (ORCPT ); Tue, 28 May 2019 21:12:41 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2AWAABg2+1c/zXSMGcNWBoBAQEBAQI?= =?us-ascii?q?BAQEBBwIBAQEBgVQCAQEBAQsBiDiTXwEBAQEBAQaBECWDX4VwhHKMEwkBAQE?= =?us-ascii?q?BAQEBAQE3AQEBhD8CgwY3Bg4BAwEBAQQBAQEBAwGGYAEBAQMjFUEQCw0LAgI?= =?us-ascii?q?mAgJXBg0IAQGDHoF3qFJxgS8ahS2DLoFGgQwoAYFgigl4gQeBOAyCXz6HToJ?= =?us-ascii?q?YBJNdhzONQwmCD5MPBhuCD4pjA4lUpHOBeTMaCCgIgyiCRY4ekA4BAQ?= X-IPAS-Result: =?us-ascii?q?A2AWAABg2+1c/zXSMGcNWBoBAQEBAQIBAQEBBwIBAQEBg?= =?us-ascii?q?VQCAQEBAQsBiDiTXwEBAQEBAQaBECWDX4VwhHKMEwkBAQEBAQEBAQE3AQEBh?= =?us-ascii?q?D8CgwY3Bg4BAwEBAQQBAQEBAwGGYAEBAQMjFUEQCw0LAgImAgJXBg0IAQGDH?= =?us-ascii?q?oF3qFJxgS8ahS2DLoFGgQwoAYFgigl4gQeBOAyCXz6HToJYBJNdhzONQwmCD?= =?us-ascii?q?5MPBhuCD4pjA4lUpHOBeTMaCCgIgyiCRY4ekA4BAQ?= X-IronPort-AV: E=Sophos;i="5.60,525,1549900800"; d="scan'208";a="168740541" Received: from unknown (HELO [10.44.0.22]) ([103.48.210.53]) by icp-osb-irony-out9.iinet.net.au with ESMTP; 29 May 2019 09:12:35 +0800 Subject: Re: [PATCH net] net: dsa: mv88e6xxx: Set correct interface mode for CPU/DSA ports To: Andrew Lunn Cc: "netdev@vger.kernel.org" References: <20190524134412.GE2979@lunn.ch> <20190528131705.GB18059@lunn.ch> From: Greg Ungerer Message-ID: Date: Wed, 29 May 2019 11:12:34 +1000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190528131705.GB18059@lunn.ch> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hi Andrew, On 28/5/19 11:17 pm, Andrew Lunn wrote: >> My hardware has the CPU port on 9, and it is SGMII. The existing working >> devicetree setup I used is: >> >> port@9 { >> reg = <9>; >> label = "cpu"; >> ethernet = <ð0>; >> fixed-link { >> speed = <1000>; >> full-duplex; >> }; >> }; > > Hi Greg > > You might need to set the phy-mode to SGMII. I'm surprised you are > using SGMII, not 1000Base-X. Do you have a PHY connected? No, no PHY connected. Direct Armada 380 to 6390 switch with SGMII. Adding phy-mode = "sgmii"; to that port fixes it. Thanks! Greg