Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp330478pxb; Tue, 12 Apr 2022 03:03:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwSQfqViakmHixccdCFo04fH+KsJpKzmenC1S8h5iVyy6v33aTegE6gMrWVK5c/mfaqfw85 X-Received: by 2002:a65:4681:0:b0:382:b4f5:84c2 with SMTP id h1-20020a654681000000b00382b4f584c2mr29768228pgr.218.1649757838334; Tue, 12 Apr 2022 03:03:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649757838; cv=none; d=google.com; s=arc-20160816; b=F0erXRQfDA8kWj+KXJxUd7EiyLCnUBzoF+amBGnmDytq/RV1e4/v7kkzqQgLaVJapb 22qtCLvdYCRgvnIuyjOGS1UYrySdWTcB20sTcMe9jXei9Vh0c4JBl/o5CBy6XVNXd82G 8lfwAQDESvj8eB1YUiYdL4Rd9gpXcgsKCzo/XGHLmF6kGdCqc9AgQZQ70juqVgwWT3MC Mck/XH18MGRAdXqgAn+PRXkNQvB5SMR0PzwWWSOAVMg6AFvhimlB0rIn/Y19Q8RvK0kj 8Z8yNTvD2h/2j1r2Q5RiZj98GiwRY5Zc6oPFe6/B5+t4erCvWtXYKjVywWLJYogXobtB sVRg== 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=3WYIFKeYbzZh2vWvLbpGTNUQQQzfuRy3GzH4eAGZXVc=; b=vaDOLxM5N3rYmqpIT8zz99EwaLvgW1cSGdpsPUeXwV4bnxqtVG6EHrdvxOJ26aDX1s depGT444vPdBrytestyE9+YiXb7V3BluWIxHNQ5q5OjS10uIu0iwcvX3XF51vu6TC3VN SXBz84b/iuz2A/P9fkAATc5gR11gRtg6UWl3ZS/IlBKX3nknelo2lzp3U/84HCVBc85K DGSlaUbW6JOiWDcD8wVdwCj293CBHYoIKqGkBAc016mvsnM3tuXlFQLqKeZNH1FSQiPs SI+veiaOk2pzhfPgldGz89M111dSVVscq/r7dLZwn8T5BbEuaBsKYHiuIUZCho6IF/3r GZfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=t+C92Bse; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a5-20020a655c85000000b0039cbe749f9esi2209195pgt.806.2022.04.12.03.03.45; Tue, 12 Apr 2022 03:03:58 -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=@kernel.org header.s=k20201202 header.b=t+C92Bse; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234028AbiDJBPI (ORCPT + 99 others); Sat, 9 Apr 2022 21:15:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233921AbiDJBPD (ORCPT ); Sat, 9 Apr 2022 21:15:03 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 32C8E19B; Sat, 9 Apr 2022 18:12:54 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 9EA0860E33; Sun, 10 Apr 2022 01:12:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D1284C385A0; Sun, 10 Apr 2022 01:12:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649553171; bh=11X7BFVd63x1Y3vMcLyg2CEPEkM0R057PGTYfGDr/Xc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=t+C92Bse7Ij2ZSHUZhYTs21YiFrxBMPT+CvQsJdq3m/8FZCAmCPz/3aB1vJ0/Nb8u 931L4P8E6/wUKQwSZ7AW0FYtmvqCaVQILwXfy736u0MjzGQfgkopbEZ3+Zeq2NAE3B QIPVJpa86pC/tEaXBa2iqonmeIr0ciNTvvabCtyNJx2qpT+CtFeejlVOP/N3rq8psh kDlEwwYu3qXATMhjOPFvRqfe37ihDpy9EJkpYK6LWdKF+WWLzOASN8ujpO4RwXm6Dt fS4u8KxVdoUg0cUiVuXzvxMUf+pPTx4KlsWAmP/S0ZVOOJAmhIX4s3ToWgU5Mo4MYv X7zCFWUEihiVA== Date: Sun, 10 Apr 2022 09:12:44 +0800 From: Shawn Guo To: Li Yang Cc: Rob Herring , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/6] arm64: dts: ls2080a-rdb: add phy nodes Message-ID: <20220410011244.GH129381@dragon> References: <20220317190109.3742-1-leoyang.li@nxp.com> <20220317190109.3742-3-leoyang.li@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220317190109.3742-3-leoyang.li@nxp.com> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,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 Thu, Mar 17, 2022 at 02:01:06PM -0500, Li Yang wrote: > Define PHY nodes on the board. > > Signed-off-by: Li Yang > --- > .../boot/dts/freescale/fsl-ls2080a-rdb.dts | 68 +++++++++++++++++++ > 1 file changed, 68 insertions(+) > > diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2080a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls2080a-rdb.dts > index 44894356059c..1c8c99a74071 100644 > --- a/arch/arm64/boot/dts/freescale/fsl-ls2080a-rdb.dts > +++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a-rdb.dts > @@ -23,3 +23,71 @@ chosen { > stdout-path = "serial1:115200n8"; > }; > }; > + > +&dpmac5 { > + phy-handle = <&mdio2_phy1>; > + phy-connection-type = "10gbase-r"; > +}; > + > +&dpmac6 { > + phy-handle = <&mdio2_phy2>; > + phy-connection-type = "10gbase-r"; > +}; > + > +&dpmac7 { > + phy-handle = <&mdio2_phy3>; > + phy-connection-type = "10gbase-r"; > +}; > + > +&dpmac8 { > + phy-handle = <&mdio2_phy4>; > + phy-connection-type = "10gbase-r"; > +}; > + > +&emdio1 { > + status = "disabled"; > + > + /* CS4340 PHYs */ > + mdio1_phy1: emdio1_phy@1 { We prefer hyphen rather than underscore in node name. Shawn > + reg = <0x10>; > + }; > + > + mdio1_phy2: emdio1_phy@2 { > + reg = <0x11>; > + }; > + > + mdio1_phy3: emdio1_phy@3 { > + reg = <0x12>; > + }; > + > + mdio1_phy4: emdio1_phy@4 { > + reg = <0x13>; > + }; > +}; > + > +&emdio2 { > + /* AQR405 PHYs */ > + mdio2_phy1: emdio2_phy@1 { > + compatible = "ethernet-phy-ieee802.3-c45"; > + interrupts = <0 1 0x4>; /* Level high type */ > + reg = <0x0>; > + }; > + > + mdio2_phy2: emdio2_phy@2 { > + compatible = "ethernet-phy-ieee802.3-c45"; > + interrupts = <0 2 0x4>; /* Level high type */ > + reg = <0x1>; > + }; > + > + mdio2_phy3: emdio2_phy@3 { > + compatible = "ethernet-phy-ieee802.3-c45"; > + interrupts = <0 4 0x4>; /* Level high type */ > + reg = <0x2>; > + }; > + > + mdio2_phy4: emdio2_phy@4 { > + compatible = "ethernet-phy-ieee802.3-c45"; > + interrupts = <0 5 0x4>; /* Level high type */ > + reg = <0x3>; > + }; > +}; > -- > 2.25.1 >