Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp3729976rwb; Mon, 5 Sep 2022 17:51:00 -0700 (PDT) X-Google-Smtp-Source: AA6agR4yR8esPJd71ebX3LGKgwx4XMr0MuR8oiPaRYB67722CbeEN6QNImfug4TwQLopEWtzbbtF X-Received: by 2002:a05:6402:35d0:b0:44e:ca66:7f8a with SMTP id z16-20020a05640235d000b0044eca667f8amr1103347edc.415.1662425460435; Mon, 05 Sep 2022 17:51:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662425460; cv=none; d=google.com; s=arc-20160816; b=V5Wt9gLkLppa7vK9PrBdymmpX6yFUrm8fJwfFYzzZ8LJX5Uch2fGeMUvr8GI7gVznw +b1+GI/kU8edAaJQJ0Rcg2TP7Q5oaiphbqwYOPf0NTm94EmmSQcUHdUpfLuHmlhuYZUN o76Sblp8MDTDbcwf+Yf+/9ebOja5ER+6+Od4wT/XFSPmgCybY8DcJqNQnXo0Cdb1CdXv zZlhsQQ79vcD5F2AcTlQCU8e3fJtzWRwdKMrDhyolHrZs9blaknXWCBIGwuJOMRYbF3H wulK6Hcct34YefWQGHjDFMzRc9vnoAb1gra0TDnE0DkQzXilvOUizggCIW/2HufcgDqP FtGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=d9OXgRNebu5UPVkhM/ybQh6k0eihy+EGudxgU/QSYdI=; b=ANRyMKPIDz0pVE6MWoCrDaugn3oFeOk3kfR01ivVJHiFFsUqFK9VXLtgPnzgOwdxew EnH0hq6tzg0r0siQPbh/ROBQLZanvId2LvHdSouNkPys99xrG98AEOLvZg9OJwXBpn18 nNBMVgggryfTQUjMHrp+gYsr7zajYu6JPGqbH230jd1EEYuDdj18P6KwdslbYhQfnYS9 vzu5RJkM/qBiy73rXl1rN/L75Ymut371+zbHrWZKurxKq7JT7GLGqEESrvXwiXbMvO13 PyJtuTNn4YRW5dVYvigeEfobdhPyhnT8/106Y1VhgkQ8rNBkS8LhPtxxrlxaAGAGHrf2 ibxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=LaY2GSFe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j1-20020a170906430100b0073d6a56691asi7330090ejm.161.2022.09.05.17.50.34; Mon, 05 Sep 2022 17:51:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=LaY2GSFe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231727AbiIFAXp (ORCPT + 99 others); Mon, 5 Sep 2022 20:23:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229575AbiIFAXo (ORCPT ); Mon, 5 Sep 2022 20:23:44 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A41226555E; Mon, 5 Sep 2022 17:23:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=d9OXgRNebu5UPVkhM/ybQh6k0eihy+EGudxgU/QSYdI=; b=LaY2GSFeaQvgTZ/4J74fhAgY23 krIGialM91/ySLoO1qK0qWDfDzlsY7PcVXmFvDXFiY2ZEvRtb2f1ZIrjwRO/ySkqdNsQNrhi29efN dEaJi6stegK0+Xcaa3kkU1f+C0KfqyIrcNipRMXfv3Gx+AfufaKCibiF9Rvuw1FP6rek=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1oVMMc-00FhWk-LL; Tue, 06 Sep 2022 02:22:50 +0200 Date: Tue, 6 Sep 2022 02:22:50 +0200 From: Andrew Lunn To: rentao.bupt@gmail.com Cc: "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Heyi Guo , Dylan Hung , Guangbin Huang , Liang He , Hao Chen , Rob Herring , Krzysztof Kozlowski , Joel Stanley , Andrew Jeffery , Tao Ren , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next 2/2] ARM: dts: aspeed: elbert: Enable mac3 controller Message-ID: References: <20220905235634.20957-1-rentao.bupt@gmail.com> <20220905235634.20957-3-rentao.bupt@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220905235634.20957-3-rentao.bupt@gmail.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 05, 2022 at 04:56:34PM -0700, rentao.bupt@gmail.com wrote: > From: Tao Ren > > Enable mac3 controller in Elbert dts: Elbert MAC3 is connected to the > onboard switch directly (fixed link). What is the switch? Could you also add a DT node for it? > > Signed-off-by: Tao Ren > --- > arch/arm/boot/dts/aspeed-bmc-facebook-elbert.dts | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-elbert.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-elbert.dts > index 27b43fe099f1..52cb617783ac 100644 > --- a/arch/arm/boot/dts/aspeed-bmc-facebook-elbert.dts > +++ b/arch/arm/boot/dts/aspeed-bmc-facebook-elbert.dts > @@ -183,3 +183,14 @@ imux31: i2c@7 { > &i2c11 { > status = "okay"; > }; > + > +&mac3 { > + status = "okay"; > + phy-mode = "rgmii"; 'rgmii' is suspicious, though not necessarily wrong. This value is normally passed to the PHY, so the PHY inserts the RGMII delay. You however don't have a PHY. So i assume the switch is inserting the delay? Again, being able to see the DT properties for the switch would be useful. Andrew