Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp1681661rwl; Mon, 26 Dec 2022 03:13:01 -0800 (PST) X-Google-Smtp-Source: AMrXdXt6JgC/Vi2oATjaYn/8mS15n4TTYzWPa/RLnklYwbVOlVrWmmwqIMdnBkeEqOgdT/ptD5F3 X-Received: by 2002:a17:906:d052:b0:7c1:5098:907a with SMTP id bo18-20020a170906d05200b007c15098907amr14958204ejb.35.1672053180821; Mon, 26 Dec 2022 03:13:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672053180; cv=none; d=google.com; s=arc-20160816; b=CCEwQlKmnyjoq6AEd/jFwboyyXPET19dDwYQCb9r8NCsAriDXkSrqrGLhPWgev98Z1 64IxPEVRNHNu2txzQrwvDq2e18AK3Ndd9DuQG11TwPWOC4Fs2FDXOiYUn2gsIrpYJ5fj bMqTiV9CovvnkfiBht3pEpxP04euFNGonJ/UXnK5RnImLoI9iDzCeSe6uuY21NKhp4ah vnS9aLwLxWNNyevVuWK5jW76+83zQu2p6dvRx/qrAZ4aYvh0CRQ1O5vcJAuujJVjuZPY yvfWEyYq97sJfrY5A2Cn97Ot5EizR79piPsu0uD3/6cPag5HNT2yjCEDxHe4aePR0lgI 3qkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=WASqzSCgjeGT/fukiuS6QON6/I6X0QmINUoYRtI17JY=; b=fTD+USfZ8mCS8A4aPQfP9wLTmpr2GooAh19o0EFZpX2j644svQCD5ztYmmXwLe9qTE ZSYdmbyOXIV2opd7C7SAxzqGdFsIzAc+Y0+N8jbb43Gr3/BETq8lsfOsmSKE6DuRTISF U8pOOIdfKTvy8Fcpf7rEnfqmi+d6ErsUfDpo7ZKwrehY765n90j9zE7oALurwVAJKVMt mSVh5kmv57RWHLOEszzi8iOaP9TnKDYITS5LjOHESudsye2P/omovSOwrfSeoyU9iDan BQD+Ew1h92PfVSCBi7l1yNsY1foGTVx/RkaMj+4K1Wj5ji+++y97Bffd44+PXE1xrVoX E2WA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@edgeble-ai.20210112.gappssmtp.com header.s=20210112 header.b=osa9H8a2; 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 ae1-20020a17090725c100b007ae814af66bsi6806872ejc.389.2022.12.26.03.12.44; Mon, 26 Dec 2022 03:13:00 -0800 (PST) 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=@edgeble-ai.20210112.gappssmtp.com header.s=20210112 header.b=osa9H8a2; 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 S231712AbiLZKVQ (ORCPT + 66 others); Mon, 26 Dec 2022 05:21:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229500AbiLZKVO (ORCPT ); Mon, 26 Dec 2022 05:21:14 -0500 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90E3CC0 for ; Mon, 26 Dec 2022 02:21:10 -0800 (PST) Received: by mail-pj1-x1030.google.com with SMTP id w4-20020a17090ac98400b002186f5d7a4cso14473718pjt.0 for ; Mon, 26 Dec 2022 02:21:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeble-ai.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=WASqzSCgjeGT/fukiuS6QON6/I6X0QmINUoYRtI17JY=; b=osa9H8a2saD9qFdVr+mysKOx/tnQaHlyzQXXRSGAIS2ixIJ2KrxjTCn7vxcuAZK+Ip OIgXvqHMcXFbaSqqiOQsbWYvxVrd2F3sDLcNScOGK/1lE9zuH5R3zYj9+8OBNX2Emv/1 UJM35rjr7UbrHIUzXkxjw9BfDsMr6oq9d5Lvnnkh08WPXdFT87tYqYQoWjzJytvrLmsk yv422BcRzTjF+q3fn3XsbMStMgqjj1tp/RxjBIcoWTIeh9xiLBCrtTITmSlfVxB5FT+v GsQMpF0ecifaTP1hryKuOqq0VNwSoXN+zzCSSnbH/HynkGH5OuhmRyp+IIV4eITqQuO7 TiNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=WASqzSCgjeGT/fukiuS6QON6/I6X0QmINUoYRtI17JY=; b=CemtLfSWNuD198pnGn9TxMNpMsRxqfNpl10HnnX4K16ei/uq79zLjWfx0RncZrjtc3 //sapVoz8P/zNrwPzLQ0lwFS6eTaYzsgGx3cRpb0lGUZpDC9+cTmnEQgBO4i7QRWmKyq F9mgoMI+8f8Z9IxY7y4bAniV3DKE765QrlDPsNdg03q/MFoy13y19pav2rYDJdDtnZ24 oBcp00axw8r2FmMocTLUiLZ3St2/ExESJht8IzjLGRUXTUHb9+lUHwi1aTBtsqcqejfW ivBP2Tg/HVt+LKoPyr78rAINPaK1D1+LTHu5hP07S17RlcXyKdg3/q8mgdXTrx3oA57R fgxw== X-Gm-Message-State: AFqh2kqB8MuYA8Lk0nloZSrKk5XO4+xMWvkcAnCDazv2BkMEAxIXLefF aGa/S/zSOQnkgg6r++fEVW+SSEGuy2zKWclqIr/k6A== X-Received: by 2002:a17:90b:1955:b0:224:0:8766 with SMTP id nk21-20020a17090b195500b0022400008766mr1785678pjb.199.1672050069589; Mon, 26 Dec 2022 02:21:09 -0800 (PST) MIME-Version: 1.0 References: <20221226063625.1913-1-anand@edgeble.ai> <20221226063625.1913-4-anand@edgeble.ai> In-Reply-To: From: Anand Moon Date: Mon, 26 Dec 2022 15:50:58 +0530 Message-ID: Subject: Re: [PATCHv2 linux-next 4/4] ARM: dts: rockchip: rv1126: Enable Ethernet for Neu2-IO To: Jagan Teki Cc: Heiko Stuebner , Rob Herring , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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 Hi Jagan, Thanks for your review comments. On Mon, 26 Dec 2022 at 15:22, Jagan Teki wrote: > > On Mon, 26 Dec 2022 at 12:08, Anand Moon wrote: > > > > Rockchip RV1126 has GMAC 10/100/1000M ethernet controller. > > Enable ethernet node on Neu2-IO board. > > > > Signed-off-by: Anand Moon > > --- > > drop SoB of Jagan Teki > > --- > > arch/arm/boot/dts/rv1126-edgeble-neu2-io.dts | 37 ++++++++++++++++++++ > > 1 file changed, 37 insertions(+) > > > > diff --git a/arch/arm/boot/dts/rv1126-edgeble-neu2-io.dts b/arch/arm/boot/dts/rv1126-edgeble-neu2-io.dts > > index dded0a12f0cd..bd592026eae6 100644 > > --- a/arch/arm/boot/dts/rv1126-edgeble-neu2-io.dts > > +++ b/arch/arm/boot/dts/rv1126-edgeble-neu2-io.dts > > @@ -22,6 +22,43 @@ chosen { > > }; > > }; > > > > +&gmac { > > + clock_in_out = "input"; > > + pinctrl-names = "default"; > > + pinctrl-0 = <&rgmiim1_pins &clk_out_ethernetm1_pins>; > > + phy-mode = "rgmii"; > > + phy-handle = <&phy>; > > arch/arm/boot/dts/rv1126-edgeble-neu2-io.dtb: phy@0: '#phy-cells' is a > required property From schema: > /home/j/.local/lib/python3.8/site-packages/dtschema/schemas/phy/phy-provider.yaml > Ok, I will update this in the next version. > > + assigned-clocks = <&cru CLK_GMAC_SRC>, <&cru CLK_GMAC_TX_RX>, > > + <&cru CLK_GMAC_ETHERNET_OUT>; > > + assigned-clock-parents = <&cru CLK_GMAC_SRC_M1>, <&cru RGMII_MODE_CLK>; > > + assigned-clock-rates = <125000000>, <0>, <25000000>; > > Keep them in sorting order. ok, > > Jagan. Thanks -Anand