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 98308C28D13 for ; Mon, 22 Aug 2022 03:42:24 +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=PimCEAx5BdalQVfh+YKETlwqFw3MguKsIJ3xVE21IT0=; b=kxrTM0JFxLIEoq HihiJ1IYOb0xH1n2Hw+JG+9f0XPmg5N9wgkMUQfLdzXXX8vhYQiFJl/u3EnSEucgFyF0pii+G85O7 BuB0k+1vGH/BoDy3Qyurp0wq2alcvZ1guvx8juHbfL97+yBqwi/cGb2T0ZGuj8b4FwTMOJs+G26qR fu4qznXMhY6y8PpNP2wDES92wPW6rsFoy8bb7zav/Uy9g3psW6mPz3vJf06Iuqh2llwKL2ECKRrjR u5D9uINUiOwA9WNy1L2FiMrOqDZI5l/z48TzwMI6MBvW8z3J9kqX0UczO+RtD17d8TqeczZJjpmsH B3LCxAWlz9nGnnqopF4g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oPyJS-004U2a-Nq; Mon, 22 Aug 2022 03:41:19 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oPyJN-004U0f-2b for linux-arm-kernel@lists.infradead.org; Mon, 22 Aug 2022 03:41:16 +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 421C260F04; Mon, 22 Aug 2022 03:41:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A44DEC433D6; Mon, 22 Aug 2022 03:41:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1661139671; bh=LeNzZ7evt9HlL2miujCAljmvclYPY6B83Drx+/5CLJg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Bxp1OpZbIhjCLm3iv7XbTdI5IqIj9C7wN/e1Ov4lRFJc6zObERx5BLxAXyppzZ4j8 rlC/diH7Jb8n6FgeWNUr9G/3ilwX/nJqgBlC+7sajxbVRPBIk6TLlk6MWNWWRMnm9F 1Tbm3UsKjwjuqRykjcxQGCz35HZGZ3PqFIHsbP57oRbTRXTxBsl8QsEyxI8LpU/z6E EMQ9S7NkFYsqUAa1Q63Qi0uXAOiGLW8Kr8b/UfFZEgcrlC2TllLF5Z74QebUDZNswZ SFf5WCYJqGh1XEeE8BW9cPPDgMnhfrbyL665JUzI8IoucboT7AD4IDHydkt9aa1WCg IKLrohJ7HJQiA== Date: Mon, 22 Aug 2022 11:41:05 +0800 From: Shawn Guo To: Li Yang Cc: devicetree@vger.kernel.org, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 3/6] arm64: dts: ls2080a-rdb: add phy nodes Message-ID: <20220822034105.GR149610@dragon> References: <20220817204357.21753-1-leoyang.li@nxp.com> <20220817204357.21753-4-leoyang.li@nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20220817204357.21753-4-leoyang.li@nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220821_204113_279981_D01E5A88 X-CRM114-Status: GOOD ( 17.07 ) 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 Wed, Aug 17, 2022 at 03:43:54PM -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..fec02fd754be 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 { > + reg = <0x10>; unit-address doesn't match 'reg'. > + }; > + > + 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 */ What does '0' mean here? And why not IRQ_TYPE_LEVEL_HIGH for polarity cell? Shawn > + 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.37.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel