Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp1197546pxx; Fri, 30 Oct 2020 04:41:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxEYPeJz8JXXLriDutQSwAlJSYMx/hQtX8ETeQkdqpJdOz/6BymTo5ZT/mKvyItDVQZt5Sq X-Received: by 2002:a17:906:b110:: with SMTP id u16mr1959555ejy.55.1604058108667; Fri, 30 Oct 2020 04:41:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1604058108; cv=none; d=google.com; s=arc-20160816; b=prOd6Zm0GPsUIzmlAoHiU63kdBf+WmW9SVEhtRv9zxgYB7dLqgLDhOGQnipn6zGlcY +Rf9nNX9T2TbcaP4N+6krL95nK67u3lRo3ZCqQV/SzbREgYds+BiJ3RFYj0yhh9KAkVV BRnVR564MCsV2yjr7e/+5KWap+H1j9d5ANdQArsQSpLuSBCpaAvF/UbyR8QzUQ+Uqb2O HsmicUq0xt2BCmYteJMWNr0ohcWrWHanloLYEazLgy5vNXum8lEPdG3747eSx+EFGSto GtqtBepVYr0i2ssvgIoKn2n/amHOPEnxBV9dvPh9dznWVTbgqhimYMhNHUfpgiVdHRp2 EtiA== 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=M5/Bupwr/CiJpfQKLZ6TlW8afvJ5bgR9UF/O9obXUqU=; b=DRFsqLoW6X+fSx53n2hq2dQ7XWjTWi5rTpmo2cEkIn3vKirdUnrhE/aece2dcT84ws qvdJmRRgFsuvAKpq9qccIEPDHec/isd5PlQUwKKvOhr5WVjyP35wLsozXe6oFGzw5det DiY5x76NbZUexyxEww9aDmJP1kAfmS8MxBh4iK3iowFmHzG3AbIUKyQCYhDmjIGg1cSX xlCvZg8J/v0ADUBCGAUj/CjwbnlMrxL5U2Nk8seg2qNUHSrtpP79efI1bnfDVM9Q2yZF cjfGOzejVe2byhD6mFYacso5eHQ5A+SYTB5R5D8xK0WV0ik9flsCrQTrwtS/wOg2L03T nvxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hNdtbQYd; 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 q10si4204012eji.291.2020.10.30.04.41.26; Fri, 30 Oct 2020 04:41:48 -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=hNdtbQYd; 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 S1726708AbgJ3LiJ (ORCPT + 99 others); Fri, 30 Oct 2020 07:38:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726470AbgJ3LgX (ORCPT ); Fri, 30 Oct 2020 07:36:23 -0400 Received: from mail-ed1-x541.google.com (mail-ed1-x541.google.com [IPv6:2a00:1450:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 856A0C0613D2; Fri, 30 Oct 2020 04:36:23 -0700 (PDT) Received: by mail-ed1-x541.google.com with SMTP id g25so5448791edm.6; Fri, 30 Oct 2020 04:36:23 -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=M5/Bupwr/CiJpfQKLZ6TlW8afvJ5bgR9UF/O9obXUqU=; b=hNdtbQYdWYFmtR1T/i6ZZiMZS3xnzIuWHdk9dwWOnCyDt2moI6cUREuw8FIoDXeaV7 s15KldLkeeowjXtCRLZzk+Ku17aAiy2o4snPy7Uhq2j6J8Y9NEx11soPdMlcQpDbGnVl 5cKuRq83zdHDUeMbl+LvLnFvzFtrLfN3N/t1U8zTF1irAJawD1QQf/4fbWy0W4maeDmh iZOY+hlAcQ1WrkdxqXZQ7al/tIwemqonda3C+R5pd2f70ZF5DvhuhndiC9qhdVVraCCo vEPW27R8A8k+iTS0qBLohnYbHiXjM6NBm57zVLVRxqpNpwfOy3hVGQ6WrweTiINx7BHG OEuw== 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=M5/Bupwr/CiJpfQKLZ6TlW8afvJ5bgR9UF/O9obXUqU=; b=DhtUrT049yjGAmkq8eo9AgEvhoBu9pekbtJIFNI7H4htG+8xd1HNQIYU2BeZQAsFji R++Bg6PPW4M3oLPnF0eGnc3G3wbkDB7sZAlBsitWRP7+8hdeqUJsZgS2vDsAvlE/8gZ4 cmQMGt86OawRQ1/dO5CPRW2q4nVwKh183FOqDHq2MHxjKEULaUN9dYDRChEhblDDM9CT Xi3oQgUtuUWnbaPeN7wd3IgQ/KQfu0v2Z3Jo9e5dEgctHcRtUM2po4qKLUStd+EyCMUs sHEu2kO8/hto31t42UO/ofkjCFqXrQ6ITJ6oqfXlAaiAzhx9xfb7fCR2lXmu8ZUfCbzp Ng5A== X-Gm-Message-State: AOAM530jovhpuTzyLFJS7nzl2TlQx6Hr2r5IRQPWpEcjg/4V5+cGbgMb LoTo+2KyTo4tOiycj3NK/Qk= X-Received: by 2002:a50:e442:: with SMTP id e2mr1899232edm.186.1604057782299; Fri, 30 Oct 2020 04:36:22 -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.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Oct 2020 04:36:21 -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 05/11] arm64: dts: ls1088ardb: add necessary DTS nodes for DPMAC2 Date: Fri, 30 Oct 2020 13:35:49 +0200 Message-Id: <20201030113555.726487-6-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 external MDIO2 node and describe the 10GBASER PHY found on the LS1088ARDB board and add a phy-handle for DPMAC2 to link it. Also, add the internal PCS MDIO node for the internal MDIO buses found on the LS1088A SoC along with its internal PCS PHY and link the corresponding DPMAC to the PCS through the pcs-handle. Signed-off-by: Ioana Ciornei --- Changes in v2: - none Changes in v3: - none Changes in v4: - none Changes in v5: - renamed all PHY nodes to ethernet-phy@X where the unit address is the reg value .../boot/dts/freescale/fsl-ls1088a-rdb.dts | 19 +++++++++++++++++++ .../arm64/boot/dts/freescale/fsl-ls1088a.dtsi | 13 +++++++++++++ 2 files changed, 32 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts index e28443ba2633..528ec72d0b83 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a-rdb.dts @@ -17,6 +17,12 @@ / { compatible = "fsl,ls1088a-rdb", "fsl,ls1088a"; }; +&dpmac2 { + phy-handle = <&mdio2_aquantia_phy>; + phy-connection-type = "10gbase-r"; + pcs-handle = <&pcs2>; +}; + &dpmac3 { phy-handle = <&mdio1_phy5>; phy-connection-type = "qsgmii"; @@ -109,6 +115,15 @@ mdio1_phy4: ethernet-phy@1f { }; }; +&emdio2 { + status = "okay"; + + mdio2_aquantia_phy: ethernet-phy@0 { + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <0x0>; + }; +}; + &i2c0 { status = "okay"; @@ -179,6 +194,10 @@ &esdhc { status = "okay"; }; +&pcs_mdio2 { + status = "okay"; +}; + &pcs_mdio3 { status = "okay"; }; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi index 4bcd4772164d..b7d60ac42669 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1088a.dtsi @@ -690,6 +690,19 @@ emdio2: mdio@8b97000 { status = "disabled"; }; + pcs_mdio2: mdio@8c0b000 { + compatible = "fsl,fman-memac-mdio"; + reg = <0x0 0x8c0b000 0x0 0x1000>; + little-endian; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + + pcs2: ethernet-phy@0 { + reg = <0>; + }; + }; + pcs_mdio3: mdio@8c0f000 { compatible = "fsl,fman-memac-mdio"; reg = <0x0 0x8c0f000 0x0 0x1000>; -- 2.28.0