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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A1FC5C433F5 for ; Sun, 10 Apr 2022 01:13:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=3+oJBEWapq1Riiy/BEMYY0o6g3qTVktqgCpgvT3CvAI=; b=qtvft8RudHygMI DQeRF90I8q4PTeKK2zQZ4z8KTISPl+VanOZhjDeckkta1ir4NWwEfXK2pwU/o5s2PRQmnxdagedt6 E9a1nwf5evZEtsx2FIm4wfT6ZSYnNhpCbNCnMp3EAHWYQl/tBISBPpj7K1uzthBi4NhpU8tALpo0X VuHty4ejFId9FkUFWvIJfCp1Oy4MnK0XQP+/v/HF3Jhjl7qmf6IIrMgPt4oxUUlsaTpJOlHS4AK/0 EjQ+yhlVZ53Ft8B0go+zzVexSvbY/GfPn7vex5dzPIv0N6Kfp9py0Xx0gBqWQtgkxTmiAmiQMHV91 T+JvdQqUfnmQ54JbfMRQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ndM8Q-00408F-9Y; Sun, 10 Apr 2022 01:12:58 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ndM8M-00407b-Kn for linux-arm-kernel@lists.infradead.org; Sun, 10 Apr 2022 01:12:56 +0000 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 9737E60E2C; 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-Disposition: inline In-Reply-To: <20220317190109.3742-3-leoyang.li@nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220409_181254_759546_65C9C267 X-CRM114-Status: GOOD ( 15.56 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel