Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp8451021rwn; Wed, 14 Sep 2022 14:48:37 -0700 (PDT) X-Google-Smtp-Source: AA6agR70TZhjwCPw7Ru9QFV2YrqhTSD0Y7HNNJIH9wbXFqVT0O9cLRWhwG5WPCKe+Nu8dT5YDKaX X-Received: by 2002:a05:6a00:ad4:b0:547:8ed2:e420 with SMTP id c20-20020a056a000ad400b005478ed2e420mr5586632pfl.18.1663192117662; Wed, 14 Sep 2022 14:48:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663192117; cv=none; d=google.com; s=arc-20160816; b=IJbUZ7qH+KXF9i1MUaFP4yBgdYoVYZqPHQ4TJMNZaUoHsbZw9wdV+a/mtF3RJ0sPK+ +hq8i0PiAxqW2payXIEXGPKnYpBcVB+3rHHEOp+/1ia8Zp14u11IyJZluU5j5j3+m51p bP7Fyvyp7kqciDzskW5METLsZwlg6e0lIoi47f6oTYP1CUqVVOMTqSeRAj27BJjMJ65w iYQe+fhNTEzGuf6cNeEGT1IQ7WAudKRhlHvgD4vXFl1LZNz+Ln/IhTTaZUx+ng4caEjm LrehF80KvdwYbiedx69UF9zpvCpH+Ia2g3seaBV71KJnhFZbsKwT61hmJI9ymX2r8+24 k8kA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=Ap/T15LhY5/f8TzaQP1Ya6dY2BrvebbS/Z3slFnQjuo=; b=P7Zdb8gqGyzEAHbQQQKkDL332XjhgZ8eHDhF6GUbeYnlRn3qA07j685e3kQUOgGAtF 6sLkgz6chXA6FMBVPVk9feT47KbKoPBNwEvVYg6yBURYRU7W/eqssJDnILYdcwsCxwP5 nNrGwtOshZAfPMl1ggDsm0u6+zZ7aJEdRXxH563N0LWnxVmnDsvQzQiNyF3Z+DgYGy1O +eo4AM4rzD2OXiBDjvCo5F4P7ppEojcpRua3EkQw04cT3PBhnskODr55IWoE/PRAq9Cg boq09wdWIJd14Lr8CWOsJMReP/1Xx9UBsiVWtnVIME059UP6JIaDpESAlYesxmHvPRFS 3S6Q== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e190-20020a6369c7000000b00438762a8c81si5553155pgc.780.2022.09.14.14.48.26; Wed, 14 Sep 2022 14:48:37 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229719AbiINVP6 (ORCPT + 99 others); Wed, 14 Sep 2022 17:15:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41180 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229493AbiINVPr (ORCPT ); Wed, 14 Sep 2022 17:15:47 -0400 Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF1DA45F53; Wed, 14 Sep 2022 14:15:45 -0700 (PDT) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 25943201AF1; Wed, 14 Sep 2022 23:15:44 +0200 (CEST) Received: from smtp.na-rdc02.nxp.com (usphx01srsp001v.us-phx01.nxp.com [134.27.49.11]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id D9452201AE1; Wed, 14 Sep 2022 23:15:43 +0200 (CEST) Received: from right.am.freescale.net (right.am.freescale.net [10.81.116.134]) by usphx01srsp001v.us-phx01.nxp.com (Postfix) with ESMTP id 98FD84060A; Wed, 14 Sep 2022 14:15:42 -0700 (MST) From: Li Yang To: shawnguo@kernel.org, devicetree@vger.kernel.org Cc: robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Ioana Radulescu , Li Yang Subject: [PATCH v4 2/5] arm64: dts: ls2080a-rdb: add phy nodes Date: Wed, 14 Sep 2022 16:15:35 -0500 Message-Id: <20220914211538.29473-3-leoyang.li@nxp.com> X-Mailer: git-send-email 2.25.1.377.g2d2118b In-Reply-To: <20220914211538.29473-1-leoyang.li@nxp.com> References: <20220914211538.29473-1-leoyang.li@nxp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, 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 From: Ioana Radulescu Define PHY nodes on the board. Signed-off-by: Ioana Radulescu Signed-off-by: Li Yang --- .../boot/dts/freescale/fsl-ls2080a-rdb.dts | 69 +++++++++++++++++++ 1 file changed, 69 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..8b6915136997 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls2080a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls2080a-rdb.dts @@ -14,6 +14,7 @@ #include "fsl-ls2080a.dtsi" #include "fsl-ls208xa-rdb.dtsi" +#include / { model = "Freescale Layerscape 2080a RDB Board"; @@ -23,3 +24,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@10 { + reg = <0x10>; + }; + + mdio1_phy2: emdio1-phy@11 { + reg = <0x11>; + }; + + mdio1_phy3: emdio1-phy@12 { + reg = <0x12>; + }; + + mdio1_phy4: emdio1-phy@13 { + reg = <0x13>; + }; +}; + +&emdio2 { + /* AQR405 PHYs */ + mdio2_phy1: emdio2-phy@0 { + compatible = "ethernet-phy-ieee802.3-c45"; + interrupts = ; + reg = <0x0>; + }; + + mdio2_phy2: emdio2-phy@1 { + compatible = "ethernet-phy-ieee802.3-c45"; + interrupts = ; + reg = <0x1>; + }; + + mdio2_phy3: emdio2-phy@2 { + compatible = "ethernet-phy-ieee802.3-c45"; + interrupts = ; + reg = <0x2>; + }; + + mdio2_phy4: emdio2-phy@3 { + compatible = "ethernet-phy-ieee802.3-c45"; + interrupts = ; + reg = <0x3>; + }; +}; -- 2.37.1