Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp1196553pxx; Fri, 30 Oct 2020 04:40:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYuSbFjkPyzexKy+myEOE4jHj4DzTScUyslq4OtS6bxed6ib/stRQi2l4TLbn/XgTjACAh X-Received: by 2002:a17:906:7e43:: with SMTP id z3mr2077604ejr.143.1604058010837; Fri, 30 Oct 2020 04:40:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604058010; cv=none; d=google.com; s=arc-20160816; b=BTwJG7+Z/IbESYkFUc32fvAXzks/nTp07W4kRkiapQ43yHuGiOUaxSWdYRFIREWoiL kNl8sFe1IVVpvxOclqzvKsRktdyWCUI25HqF090L6TmlClZu3hDio3tp7nHxO4kz9/66 9MtUI/CmHto4CjlrfpqpSXwC35thtpv15n9gC7JTF48ylq6mYInmXW21BbeEYM+lRpq/ 9n1CtOlNnJfbw7967lpPyS1VSod3ZKaS/GIkiVJtY7U7lUw535xT11VB3fhOMJikzr0z esFDT8IN434kg1D5BLhg3GEpcvUIh4Kww7brejl/ZurUL6o61WHLKmjfhrOGLjcca396 1ilQ== 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 :dkim-signature; bh=Zic+vERvgU++BI9aftPear5ZN+1DH6pYoHRvpDRcTjY=; b=vm7t6OrDEtwG9h9M0sRg1G1vFmgWrhazscf7uLRn1TFx2cJB01uz1Xyuq8k1D/aMM3 LDOCKSmV9yR0lyeoLI5pNXWIPk7J3lAwJVLXbKl70XpfXeplN55yKvqRFPkoazB9i1T0 N1sTw8hgty3mTcSoC5gnMVfxTHoAzs/EsUF+62IqzD4Ibvbgkt3uiA6JJL7BGrtZJ27g m5+3LFxAn2kC8tfabRDOi7iQEIisCgupxH0EBVQnoaX0agQ6H/sZZ0IPRC+4wV56wAXt N19gS/ugWhE0NBOR/rJtcNmAfng+ZNI7DFcV1PPCWbQEtkrlj11KdCZ8OeHfXGw27OM5 L3kw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IhJNVVkG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a20si4055824eda.489.2020.10.30.04.39.48; Fri, 30 Oct 2020 04:40:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=IhJNVVkG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726536AbgJ3Lgc (ORCPT + 99 others); Fri, 30 Oct 2020 07:36:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726491AbgJ3Lg0 (ORCPT ); Fri, 30 Oct 2020 07:36:26 -0400 Received: from mail-ej1-x642.google.com (mail-ej1-x642.google.com [IPv6:2a00:1450:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3ECCCC0613D4; Fri, 30 Oct 2020 04:36:26 -0700 (PDT) Received: by mail-ej1-x642.google.com with SMTP id o21so1101795ejb.3; Fri, 30 Oct 2020 04:36:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Zic+vERvgU++BI9aftPear5ZN+1DH6pYoHRvpDRcTjY=; b=IhJNVVkG1bw6Ac1UOyYeDkxqs8cDf5E18o3ZWA4gts59W29d6+r37DjDSw/TBECcuO GEPDbRkh1BRWVxRoRFZ1Ms8MB40Siv2PwPS6hGEwA1kPAm6h3DObaXnmTETQx8cW8Ofp YrD3+LpDF0ilkBxbXF54NDegzUuP306fXasOFDSzdDA21U0oEVnPQIAXBMKXzbzq6uT0 N3p1s96vWVZCX8wn+S4bzjP+O0EbFdb8voOFMLMfvtLLsgU1l+3ZPwfn1tle48HUZKBM HM5qkLEPLMtCJi+ieupSawW32kh/B+vZRas5HpQk9IiyDNXeFoy8AhTpD8PVe9m+NpZG wIvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Zic+vERvgU++BI9aftPear5ZN+1DH6pYoHRvpDRcTjY=; b=bBHiODbPYewwbK11m4iixrhdjuIvmOwF06/Jr8oUK20rCAtq8y6UNcoG1EtL2//jv0 WqnVaJPl7NY3WrtV00Nwicrf0FGniW+Yvf6hlTbp8C6X0jteGWerqLVMbemDcat0OPXx V7Bw5bvgF948w5/sR+a2Gx3XrYx7hkSmxuNvAy4UTbsIo4UgFbnxcSwNuy/2cEjsANbi xlF4W1zQoD6oOeRBymgNie2O0iUVijGh3e0dWo1xPn9qG8HQ17mDKHNKHEe2cEGzcccB qxbz89odufEVXMQoK8bATL1LsiWEDEBgg1uQkL5JMQVzqy8aIgWGaBVtn8uTKGE1jx1T IAQA== X-Gm-Message-State: AOAM533Zctc9zF6O+joORhfEpLbbpSP3Y7kt86NPMF4yWIiglnMdLtEM Y4Qe9/9FrS9Gbt/14hvG29gfU+8AOMXdDMWO X-Received: by 2002:a17:906:9483:: with SMTP id t3mr2090293ejx.390.1604057785018; Fri, 30 Oct 2020 04:36:25 -0700 (PDT) Received: from yoga-910.localhost ([188.25.2.177]) by smtp.gmail.com with ESMTPSA id q19sm2850861ejx.118.2020.10.30.04.36.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Oct 2020 04:36:24 -0700 (PDT) From: Ioana Ciornei To: shawnguo@kernel.org Cc: robh+dt@kernel.org, leoyang.li@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Ioana Ciornei Subject: [PATCH v5 07/11] arm64: dts: ls2088ardb: add PHY nodes for the CS4340 PHYs Date: Fri, 30 Oct 2020 13:35:51 +0200 Message-Id: <20201030113555.726487-8-ciorneiioana@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201030113555.726487-1-ciorneiioana@gmail.com> References: <20201030113555.726487-1-ciorneiioana@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ioana Ciornei Annotate the EMDIO1 node and describe the 4 10GBASER PHYs found on the LS2088ARDB board. Also, add phy-handles for DPMACs 1-4 to their associated PHY. Signed-off-by: Ioana Ciornei --- Changes in v2: - none Changes in v3: - none Changes in v4: - move the phy-connection-type attribute to the ethernet node Changes in v5: - renamed all PHY nodes to ethernet-phy@X and their unit address to be the reg value .../boot/dts/freescale/fsl-ls2088a-rdb.dts | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2088a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls2088a-rdb.dts index f6b4d75a258b..a4b0dcab6e8e 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls2088a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls2088a-rdb.dts @@ -22,3 +22,47 @@ chosen { stdout-path = "serial1:115200n8"; }; }; + +&dpmac1 { + phy-handle = <&mdio1_phy1>; + phy-connection-type = "10gbase-r"; +}; + +&dpmac2 { + phy-handle = <&mdio1_phy2>; + phy-connection-type = "10gbase-r"; +}; + +&dpmac3 { + phy-handle = <&mdio1_phy3>; + phy-connection-type = "10gbase-r"; +}; + +&dpmac4 { + phy-handle = <&mdio1_phy4>; + phy-connection-type = "10gbase-r"; +}; + +&emdio1 { + status = "okay"; + + mdio1_phy1: ethernet-phy@10 { + compatible = "ethernet-phy-id13e5.1002"; + reg = <0x10>; + }; + + mdio1_phy2: ethernet-phy@11 { + compatible = "ethernet-phy-id13e5.1002"; + reg = <0x11>; + }; + + mdio1_phy3: ethernet-phy@12 { + compatible = "ethernet-phy-id13e5.1002"; + reg = <0x12>; + }; + + mdio1_phy4: ethernet-phy@13 { + compatible = "ethernet-phy-id13e5.1002"; + reg = <0x13>; + }; +}; -- 2.28.0