From patchwork Fri Oct 30 11:35:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ioana Ciornei X-Patchwork-Id: 314714 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HK_RANDOM_FROM,INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4EB58C00A89 for ; Fri, 30 Oct 2020 11:38:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E7C12207DE for ; Fri, 30 Oct 2020 11:38:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Nz01zMYd" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726440AbgJ3LgX (ORCPT ); Fri, 30 Oct 2020 07:36:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725355AbgJ3LgS (ORCPT ); Fri, 30 Oct 2020 07:36:18 -0400 Received: from mail-ed1-x543.google.com (mail-ed1-x543.google.com [IPv6:2a00:1450:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67509C0613D2; Fri, 30 Oct 2020 04:36:18 -0700 (PDT) Received: by mail-ed1-x543.google.com with SMTP id w25so6306885edx.2; Fri, 30 Oct 2020 04:36:18 -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=1fPvXfEo6tDYrksaupTeUcaqt7QQRL4mRzXpccz682w=; b=Nz01zMYdDTwWbGDy9hK5B/NPp3lF1UTRfNKmllSb2BGlM4FBMAHcQvoJaTq1WX0tkf ziEjPSMncxx951yA3oc6cokxS3jNviBek7I/h7aAYYr+F07ffM18ret9lMhPmmCluqPM GdEPzK/MuoKdTc1xbuS9r5Z8cEyRxpQjGc/Heu8+8dsJTKDV/W4nJbuDbMdfSRcx4CKY hCJpE6tMVLdPIFLFVCfcco9zxaYQnQgq6YbOAeRDIIuhmao+Hs/SOzHqUfZQVErDsA4x hUZob6pIperO2ZnGAM9FigeYryqEpqn0r3WukBxIdBgi6TwZ3xkwdxq1FFJcxwaG8DWX nokg== 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=1fPvXfEo6tDYrksaupTeUcaqt7QQRL4mRzXpccz682w=; b=OBbOkuH07HSyr4ML9qpclQLbrfA/dcmsqxP9dp9gLBRV6//6XPnDEuQPQCjBdgtgPD 21sysJD2ciOnaw568NZa0GdYhzYX9bxxjuSv75q/nxwF4P/As5uj/XhANycFVizdpw4l 5KoEJLn81KjTcMoDnNbEZVF/yQCorCTkf30bhHUuJMbdz6sSo52GzP67gFzBUn3WtMfM s+jD613HhGP9DAcF0rbiMtdkgeJlT7L3e+0+IfPPyKF+dL+EK4zmKiZ7e3dROvd0MEqN xkougpF81yA1nPjBT/zq4/aXD8tSabqrxlupGbt21aXogQNd8MAZ8M75tnqsBTvxPg7i GAxw== X-Gm-Message-State: AOAM532N/xXoSs0kGzs9HK5NhhIKvHHGCtqeUo842w7QXi1ShJ8jDrUD WY1eeiDDhSVbcgARXykH71g= X-Google-Smtp-Source: ABdhPJxHMtbrAkCqfmRCZoRvHtegiOI+nujon+I5UcjZPB7r1BONaieUlfjKeeyX6QBFQoiQWeIH2A== X-Received: by 2002:a50:eb45:: with SMTP id z5mr1782625edp.144.1604057777033; Fri, 30 Oct 2020 04:36:17 -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.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Oct 2020 04:36:16 -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 , Rob Herring Subject: [PATCH v5 01/11] dt-bindings: net: add the DPAA2 MAC DTS definition Date: Fri, 30 Oct 2020 13:35:45 +0200 Message-Id: <20201030113555.726487-2-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 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Ioana Ciornei Add a documentation entry for the DTS bindings needed and supported by the dpaa2-mac driver. Signed-off-by: Ioana Ciornei Reviewed-by: Rob Herring --- Changes in v2: - new patch Changes in v3: - renamed dpmac@x into ethernet@x - renamed the new documentation file to use the same name as the compatible - marked additionalProperties as false - added a reference to ethernet-controller.yaml Changes in v4: - none Changes in v5: - none .../bindings/net/fsl,qoriq-mc-dpmac.yaml | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml diff --git a/Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml b/Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml new file mode 100644 index 000000000000..2159b7d1f537 --- /dev/null +++ b/Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml @@ -0,0 +1,60 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/fsl,qoriq-mc-dpmac.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: DPAA2 MAC bindings + +maintainers: + - Ioana Ciornei + +description: + This binding represents the DPAA2 MAC objects found on the fsl-mc bus and + located under the 'dpmacs' node for the fsl-mc bus DTS node. + +allOf: + - $ref: "ethernet-controller.yaml#" + +properties: + compatible: + const: fsl,qoriq-mc-dpmac + + reg: + maxItems: 1 + description: The DPMAC number + + phy-handle: true + + phy-connection-type: true + + phy-mode: true + + pcs-handle: + $ref: /schemas/types.yaml#definitions/phandle + description: + A reference to a node representing a PCS PHY device found on + the internal MDIO bus. + + managed: true + +required: + - reg + +additionalProperties: false + +examples: + - | + dpmacs { + #address-cells = <1>; + #size-cells = <0>; + + ethernet@4 { + compatible = "fsl,qoriq-mc-dpmac"; + reg = <0x4>; + phy-handle = <&mdio1_phy6>; + phy-connection-type = "qsgmii"; + managed = "in-band-status"; + pcs-handle = <&pcs3_1>; + }; + }; From patchwork Fri Oct 30 11:35:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ioana Ciornei X-Patchwork-Id: 314722 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HK_RANDOM_FROM,INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8F56CC4363A for ; Fri, 30 Oct 2020 11:36:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2F1FE2075E for ; Fri, 30 Oct 2020 11:36:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="TxJmHX/u" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726413AbgJ3LgW (ORCPT ); Fri, 30 Oct 2020 07:36:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726362AbgJ3LgU (ORCPT ); Fri, 30 Oct 2020 07:36:20 -0400 Received: from mail-ej1-x641.google.com (mail-ej1-x641.google.com [IPv6:2a00:1450:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8FCC5C0613D4; Fri, 30 Oct 2020 04:36:19 -0700 (PDT) Received: by mail-ej1-x641.google.com with SMTP id k3so8095884ejj.10; Fri, 30 Oct 2020 04:36:19 -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=W1Ao30WPRL4ldSmbvVpiCzCepSQ/TYiLIf3C2FmArRg=; b=TxJmHX/uZMIyPoD7cD9IwHru0niymwIo0OtJy1O43o9UzbGMWphcJTYCkNMPhNKR4U 9vfem1HPGDq/XjWuJMyjnP0X6mky5uPJv12XqAT6Zhe1Cq3QbbxMENgnPZroidAIMdKo mesFJTXRPHPtDPinHti37QGfCxP6hPFQvLNEJvi7QqWHSW/yYIpowZM71y0nfBruSRG/ lbaCQxlYa2Hj0gAp/Gb0OjBWdESA3vN7cGMjCsUKwutNg2tfa9SlTrqiBXCGw+IV0u5K MmmqOuOpCxto4bFEgMtYO6rNhTjzezenaB2Wi3Hf2xpPqi7LrOyy6uF2cbYH70tIcLhU xW8A== 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=W1Ao30WPRL4ldSmbvVpiCzCepSQ/TYiLIf3C2FmArRg=; b=PjZ2iz7JTcmbti6zO/yieycDSUZsmdboGxbB7qkmpIzN32lX/2ea52ZU+rkQTg6iJC kcNdLP8pM+MQyepB7/YCL3K66cqQQfxNE/ZhpMs05byuCuUJm7+kQm4QYpXR2DGbk6YR 8MFGx/RMos89EqdwKMRDeY53Zj/nYQTNoKjx+4kRuEkLhxXYfieCgRXzQIw0eaqVatbB ha0KcpAXLERfqI4tzOFA3508DtWeRMsXNGW1PKmzTWzNK97AnzAhPs5CBtOdl5uBdzUl ce5SQI9UKOAiL1wPMLkelt/bfBsKmYeqNSJLZ+K1i5gguT/S4HwOpjuPTyztnTs8zoye TNpQ== X-Gm-Message-State: AOAM5317Z+a4LLOuMeMNbB0rbeiywT1EgqbvkA6s2I/843kAzoik1HHC g0zm97s89vpZEO8KyKlb2Zg= X-Google-Smtp-Source: ABdhPJxIip0/RWfWiC0kKWcllNRT03KabTbdeEezl/A/YVnoi/xNqVbj5FD7hERSexhkMB3zz2mscg== X-Received: by 2002:a17:906:eb57:: with SMTP id mc23mr1913406ejb.373.1604057778303; Fri, 30 Oct 2020 04:36:18 -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.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Oct 2020 04:36:17 -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 , Rob Herring Subject: [PATCH v5 02/11] dt-bindings: net: add the 10gbase-r connection type Date: Fri, 30 Oct 2020 13:35:46 +0200 Message-Id: <20201030113555.726487-3-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 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Ioana Ciornei Add 10gbase-r to the list of accepted PHY connection types between an Ethernet device and a physical PHY. This is available as a valid connection type since commit c114574ebfdf ("net: phy: add PHY_INTERFACE_MODE_10GBASER") Signed-off-by: Ioana Ciornei Acked-by: Rob Herring --- Changes in v3: - new patch Changes in v4: - none Changes in v5: - none Documentation/devicetree/bindings/net/ethernet-controller.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/net/ethernet-controller.yaml b/Documentation/devicetree/bindings/net/ethernet-controller.yaml index fdf709817218..cc93063a8f39 100644 --- a/Documentation/devicetree/bindings/net/ethernet-controller.yaml +++ b/Documentation/devicetree/bindings/net/ethernet-controller.yaml @@ -95,6 +95,7 @@ properties: # 10GBASE-KR, XFI, SFI - 10gbase-kr - usxgmii + - 10gbase-r phy-mode: $ref: "#/properties/phy-connection-type" From patchwork Fri Oct 30 11:35:50 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ioana Ciornei X-Patchwork-Id: 314715 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HK_RANDOM_FROM,INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1F52DC4363A for ; Fri, 30 Oct 2020 11:38:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B0387207DE for ; Fri, 30 Oct 2020 11:38:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="aEoHRuhr" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726181AbgJ3LiG (ORCPT ); Fri, 30 Oct 2020 07:38:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726483AbgJ3LgZ (ORCPT ); Fri, 30 Oct 2020 07:36:25 -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 DA11EC0613D2; Fri, 30 Oct 2020 04:36:24 -0700 (PDT) Received: by mail-ed1-x541.google.com with SMTP id dg9so6223488edb.12; Fri, 30 Oct 2020 04:36:24 -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=+tlEzE6C1VQeXr9jc1VNNdwhwwH8y0PAFW8m/un2sGo=; b=aEoHRuhrti1m79g1tsGn5C4ugVzGICJc3E4OLNx0A8xvhNmO4YKcHsc0RUKt2Z7V/4 1wtfae8OrR0AAkD1xLWVjVqgzsH8PXvbjLdHbWkaTWAM8s9Ynbw3gITkgwpS74r1NnCC UYBmZ8fx6m750rPGJ/W7Tc+ZsqFLJBBfTQ9BY2s3+5XsHzKxsvPP45WKISoqa5Ohyk/h RzQcxWrIvxM1/Z7b7xI51dpNaSTtkYzX5ZbtX4YaNxGpS5qmFH1ZcL94w3qCiz1iN+2O rjvZlkD+EU5sbnUifDytwHf2fgWg1Cxyx7z71c9K2JaCdwVecIGQZoJ2/kdvj1mjaPj8 FLPg== 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=+tlEzE6C1VQeXr9jc1VNNdwhwwH8y0PAFW8m/un2sGo=; b=gcu6cl2yJzoN8x40MhvfYfNzOqdSvUWsVn2Tj86HKR5TYlC0fYbk1NCk/UViWeSOMB XCXoWin9ugt3i4uUTRsY+b7tU7LviMS4lo/fY8T4RXyljvdr8zykZR0yLI74rhwf6iD+ bRrZxReE/tUJv/zt0fm7ccQ2NolK6EkO8cbQy1daQYwDysfCPNZePlcA01OE7td97Sj0 lj+mC+OBMM9mmlMDRYVke3RUDTJZOJy9x4Tdm1eWVgbcnZnDk/4XWlta40t2rHKfcDHw 87+GGDBWPolG2n1jDo1o0HYF7LL/pwbP8TeqcN4jhMCiiNggKTfMWponOiGF/5NDRkRf JgKg== X-Gm-Message-State: AOAM5328C5VDps5I/owf2GhCd23Hhc2t+HnlJQ9uEgDHejDW012sspBP vDL0CNGlht0CA07Mn97NCAI= X-Google-Smtp-Source: ABdhPJyleycFGkXFkZqQwWGk1TDEoyRSvGyEEGGSD3qNibcCy6+sTHI6Ur+scVo2PaWC+/f2YXL3Pg== X-Received: by 2002:a50:c38e:: with SMTP id h14mr1877675edf.174.1604057783596; Fri, 30 Oct 2020 04:36:23 -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.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Oct 2020 04:36:23 -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 06/11] arm64: dts: ls208xa: add the external MDIO nodes Date: Fri, 30 Oct 2020 13:35:50 +0200 Message-Id: <20201030113555.726487-7-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 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Ioana Ciornei Add the external MDIO device nodes found in the WRIOP global memory region. This is needed for management of external PHYs. Signed-off-by: Ioana Ciornei --- Changes in v2: - removed the 0x from the unit addresses Changes in v3: - none Changes in v4: - none Changes in v5: - used only lowercase letters for the address arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi index bf72918fe545..4f59937793ef 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi @@ -458,6 +458,24 @@ ptp-timer@8b95000 { fsl,extts-fifo; }; + emdio1: mdio@8b96000 { + compatible = "fsl,fman-memac-mdio"; + reg = <0x0 0x8b96000 0x0 0x1000>; + little-endian; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + emdio2: mdio@8b97000 { + compatible = "fsl,fman-memac-mdio"; + reg = <0x0 0x8b97000 0x0 0x1000>; + little-endian; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + fsl_mc: fsl-mc@80c000000 { compatible = "fsl,qoriq-mc"; reg = <0x00000008 0x0c000000 0 0x40>, /* MC portal base */ From patchwork Fri Oct 30 11:35:53 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ioana Ciornei X-Patchwork-Id: 314716 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HK_RANDOM_FROM,INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 48783C388F9 for ; Fri, 30 Oct 2020 11:38:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D7BA22076D for ; Fri, 30 Oct 2020 11:38:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="p5vZsgB/" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726522AbgJ3Lhz (ORCPT ); Fri, 30 Oct 2020 07:37:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726518AbgJ3Lg3 (ORCPT ); Fri, 30 Oct 2020 07:36:29 -0400 Received: from mail-ed1-x543.google.com (mail-ed1-x543.google.com [IPv6:2a00:1450:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B749C0613D4; Fri, 30 Oct 2020 04:36:29 -0700 (PDT) Received: by mail-ed1-x543.google.com with SMTP id k9so6293047edo.5; Fri, 30 Oct 2020 04:36:29 -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=htP1Snv7NkPVsjMLWMR+sUOLT5JkPpjPoyR9+y5vN8U=; b=p5vZsgB/K7eKZtKVile6kvpN9plOyuy+mtGUMdNa7Vzw2DMSstVQO5bKFehtOhech+ Wv99kQXFhbPDwhrXFzALINWmV0jkYs4JkqjYBFz7UpSL1bDc8Ov/ID+tSMx10T76Y1So 8rGmZatLWR7qP7Aem/gANGZrsigDyzsQCg2n8wgzG3YqHvHYou5zhuGHMhFMtoa10r/0 G8HHM6v1YSDUDv3k0ewJD39Q+zOtKnB7opMpSy8bou0CXIz++J3KRMjo6ltlVSzEk1El AfueJcdeLTB6MqUxO7lmU6MIKAkXsW5WZZGsP9LfeKVspphXfQ9OYoX+6Ht3iIcUC+hZ MMwg== 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=htP1Snv7NkPVsjMLWMR+sUOLT5JkPpjPoyR9+y5vN8U=; b=AbVU3syf/0VvJYI10/+zEamDiqV7JqXGXNWFLC1L0P8gZFIS7kIWcbxB73Uxh4y86q z3yefWpvxp45OcKZ27PG7yCaOm6T5zapQsXZEe6kWIeBzB+5LqhmfCP2kbEJ9vIRBKNM kHntbXK5bPrdN+o0c2P6Yy4gxDDZa3jOjy0+IIcWYq+VXkAH9rLyfsdChMAia1Vj/jYp Fe5XMVrORUsRKZL9DAlvsb3D5Ytcmlfv0Vwtm2gmddfFLQTzLt5cz5hzDvmDHGHBcUXj CnZxrWcCwbJyEMXYiobEYV9ZljtQIzvvUMzQbA/JsgVz91znNqJRYfUXWCDMapuaNKal wYdQ== X-Gm-Message-State: AOAM532LtfnLLO6KU+Ocf4Ia7bDk6Wf8fFWxl1SmeZ+ah9NN2Gt0T/TQ 6YsJpW1Ym6B7R7LGM4/8RB0= X-Google-Smtp-Source: ABdhPJwGyn7gx16w4mr29Qs2c9yhBLPwlPoL84yH6GFDS+om/IWWkGGjiRPwvjsendDZWSiBG3396g== X-Received: by 2002:a05:6402:1779:: with SMTP id da25mr1780653edb.60.1604057787755; Fri, 30 Oct 2020 04:36:27 -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.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Oct 2020 04:36:27 -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 09/11] arm64: dts: ls208xa: add PCS MDIO and PCS PHY nodes Date: Fri, 30 Oct 2020 13:35:53 +0200 Message-Id: <20201030113555.726487-10-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 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Ioana Ciornei Add PCS MDIO nodes for the internal MDIO buses on the LS208x SoCs, along with their internal PCS PHYs which will be used when the DPMAC object is in TYPE_PHY mode. Also, rename the dpmac@x nodes to ethernet@x in order to be compliant with the naming convention used by ethernet controllers. Signed-off-by: Ioana Ciornei --- Changes in v2: - none Changes in v3: - renamed dpmac@x into ethernet@x Changes in v4: - none Changes in v5: - renamed all PHY nodes to ethernet-phy .../boot/dts/freescale/fsl-ls2088a-rdb.dts | 32 +++ .../arm64/boot/dts/freescale/fsl-ls208xa.dtsi | 256 ++++++++++++++++-- 2 files changed, 272 insertions(+), 16 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls2088a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls2088a-rdb.dts index 854f604049ca..60563917be44 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls2088a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls2088a-rdb.dts @@ -110,3 +110,35 @@ mdio2_phy4: ethernet-phy@3 { reg = <0x3>; }; }; + +&pcs_mdio1 { + status = "okay"; +}; + +&pcs_mdio2 { + status = "okay"; +}; + +&pcs_mdio3 { + status = "okay"; +}; + +&pcs_mdio4 { + status = "okay"; +}; + +&pcs_mdio5 { + status = "okay"; +}; + +&pcs_mdio6 { + status = "okay"; +}; + +&pcs_mdio7 { + status = "okay"; +}; + +&pcs_mdio8 { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi index 4f59937793ef..9c0e43173cbf 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls208xa.dtsi @@ -476,6 +476,214 @@ emdio2: mdio@8b97000 { status = "disabled"; }; + pcs_mdio1: mdio@8c07000 { + compatible = "fsl,fman-memac-mdio"; + reg = <0x0 0x8c07000 0x0 0x1000>; + little-endian; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + + pcs1: ethernet-phy@0 { + reg = <0>; + }; + }; + + 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>; + little-endian; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + + pcs3: ethernet-phy@0 { + reg = <0>; + }; + }; + + pcs_mdio4: mdio@8c13000 { + compatible = "fsl,fman-memac-mdio"; + reg = <0x0 0x8c13000 0x0 0x1000>; + little-endian; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + + pcs4: ethernet-phy@0 { + reg = <0>; + }; + }; + + pcs_mdio5: mdio@8c17000 { + compatible = "fsl,fman-memac-mdio"; + reg = <0x0 0x8c17000 0x0 0x1000>; + little-endian; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + + pcs5: ethernet-phy@0 { + reg = <0>; + }; + }; + + pcs_mdio6: mdio@8c1b000 { + compatible = "fsl,fman-memac-mdio"; + reg = <0x0 0x8c1b000 0x0 0x1000>; + little-endian; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + + pcs6: ethernet-phy@0 { + reg = <0>; + }; + }; + + pcs_mdio7: mdio@8c1f000 { + compatible = "fsl,fman-memac-mdio"; + reg = <0x0 0x8c1f000 0x0 0x1000>; + little-endian; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + + pcs7: ethernet-phy@0 { + reg = <0>; + }; + }; + + pcs_mdio8: mdio@8c23000 { + compatible = "fsl,fman-memac-mdio"; + reg = <0x0 0x8c23000 0x0 0x1000>; + little-endian; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + + pcs8: ethernet-phy@0 { + reg = <0>; + }; + }; + + pcs_mdio9: mdio@8c27000 { + compatible = "fsl,fman-memac-mdio"; + reg = <0x0 0x8c27000 0x0 0x1000>; + little-endian; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + + pcs9: ethernet-phy@0 { + reg = <0>; + }; + }; + + pcs_mdio10: mdio@8c2b000 { + compatible = "fsl,fman-memac-mdio"; + reg = <0x0 0x8c2b000 0x0 0x1000>; + little-endian; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + + pcs10: ethernet-phy@0 { + reg = <0>; + }; + }; + + pcs_mdio11: mdio@8c2f000 { + compatible = "fsl,fman-memac-mdio"; + reg = <0x0 0x8c2f000 0x0 0x1000>; + little-endian; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + + pcs11: ethernet-phy@0 { + reg = <0>; + }; + }; + + pcs_mdio12: mdio@8c33000 { + compatible = "fsl,fman-memac-mdio"; + reg = <0x0 0x8c33000 0x0 0x1000>; + little-endian; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + + pcs12: ethernet-phy@0 { + reg = <0>; + }; + }; + + pcs_mdio13: mdio@8c37000 { + compatible = "fsl,fman-memac-mdio"; + reg = <0x0 0x8c37000 0x0 0x1000>; + little-endian; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + + pcs13: ethernet-phy@0 { + reg = <0>; + }; + }; + + pcs_mdio14: mdio@8c3b000 { + compatible = "fsl,fman-memac-mdio"; + reg = <0x0 0x8c3b000 0x0 0x1000>; + little-endian; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + + pcs14: ethernet-phy@0 { + reg = <0>; + }; + }; + + pcs_mdio15: mdio@8c3f000 { + compatible = "fsl,fman-memac-mdio"; + reg = <0x0 0x8c3f000 0x0 0x1000>; + little-endian; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + + pcs15: ethernet-phy@0 { + reg = <0>; + }; + }; + + pcs_mdio16: mdio@8c43000 { + compatible = "fsl,fman-memac-mdio"; + reg = <0x0 0x8c43000 0x0 0x1000>; + little-endian; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + + pcs16: ethernet-phy@0 { + reg = <0>; + }; + }; + fsl_mc: fsl-mc@80c000000 { compatible = "fsl,qoriq-mc"; reg = <0x00000008 0x0c000000 0 0x40>, /* MC portal base */ @@ -500,84 +708,100 @@ dpmacs { #address-cells = <1>; #size-cells = <0>; - dpmac1: dpmac@1 { + dpmac1: ethernet@1 { compatible = "fsl,qoriq-mc-dpmac"; reg = <0x1>; + pcs-handle = <&pcs1>; }; - dpmac2: dpmac@2 { + dpmac2: ethernet@2 { compatible = "fsl,qoriq-mc-dpmac"; reg = <0x2>; + pcs-handle = <&pcs2>; }; - dpmac3: dpmac@3 { + dpmac3: ethernet@3 { compatible = "fsl,qoriq-mc-dpmac"; reg = <0x3>; + pcs-handle = <&pcs3>; }; - dpmac4: dpmac@4 { + dpmac4: ethernet@4 { compatible = "fsl,qoriq-mc-dpmac"; reg = <0x4>; + pcs-handle = <&pcs4>; }; - dpmac5: dpmac@5 { + dpmac5: ethernet@5 { compatible = "fsl,qoriq-mc-dpmac"; reg = <0x5>; + pcs-handle = <&pcs5>; }; - dpmac6: dpmac@6 { + dpmac6: ethernet@6 { compatible = "fsl,qoriq-mc-dpmac"; reg = <0x6>; + pcs-handle = <&pcs6>; }; - dpmac7: dpmac@7 { + dpmac7: ethernet@7 { compatible = "fsl,qoriq-mc-dpmac"; reg = <0x7>; + pcs-handle = <&pcs7>; }; - dpmac8: dpmac@8 { + dpmac8: ethernet@8 { compatible = "fsl,qoriq-mc-dpmac"; reg = <0x8>; + pcs-handle = <&pcs8>; }; - dpmac9: dpmac@9 { + dpmac9: ethernet@9 { compatible = "fsl,qoriq-mc-dpmac"; reg = <0x9>; + pcs-handle = <&pcs9>; }; - dpmac10: dpmac@a { + dpmac10: ethernet@a { compatible = "fsl,qoriq-mc-dpmac"; reg = <0xa>; + pcs-handle = <&pcs10>; }; - dpmac11: dpmac@b { + dpmac11: ethernet@b { compatible = "fsl,qoriq-mc-dpmac"; reg = <0xb>; + pcs-handle = <&pcs11>; }; - dpmac12: dpmac@c { + dpmac12: ethernet@c { compatible = "fsl,qoriq-mc-dpmac"; reg = <0xc>; + pcs-handle = <&pcs12>; }; - dpmac13: dpmac@d { + dpmac13: ethernet@d { compatible = "fsl,qoriq-mc-dpmac"; reg = <0xd>; + pcs-handle = <&pcs13>; }; - dpmac14: dpmac@e { + dpmac14: ethernet@e { compatible = "fsl,qoriq-mc-dpmac"; reg = <0xe>; + pcs-handle = <&pcs14>; }; - dpmac15: dpmac@f { + dpmac15: ethernet@f { compatible = "fsl,qoriq-mc-dpmac"; reg = <0xf>; + pcs-handle = <&pcs15>; }; - dpmac16: dpmac@10 { + dpmac16: ethernet@10 { compatible = "fsl,qoriq-mc-dpmac"; reg = <0x10>; + pcs-handle = <&pcs16>; }; }; }; From patchwork Fri Oct 30 11:35:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ioana Ciornei X-Patchwork-Id: 314721 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HK_RANDOM_FROM,INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D864BC388F9 for ; Fri, 30 Oct 2020 11:36:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 76D46221EB for ; Fri, 30 Oct 2020 11:36:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="ZBPfc8Ku" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726557AbgJ3Lgf (ORCPT ); Fri, 30 Oct 2020 07:36:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726545AbgJ3Lgd (ORCPT ); Fri, 30 Oct 2020 07:36:33 -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 B1DE6C0613D2; Fri, 30 Oct 2020 04:36:31 -0700 (PDT) Received: by mail-ed1-x541.google.com with SMTP id p93so6259943edd.7; Fri, 30 Oct 2020 04:36:31 -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=rxQE3as5qmdywGCryWlJxFvuu0GYbuByAf+xTUWNAXQ=; b=ZBPfc8KueINthUvsgeH+gUXzjzVe4NvMEM9x8mlWF3G5v8nNNA4h09KDyzPsGLJpkt J5AiFyqhCW8Sowo3ErZyOE5SfM0nvaRVtkB7OvwNunhz3I3cdywX3lXQ6NP2Uyl0vI5g QhZnPc2N3k4+TKQTTLSFX9OgDCj1ZS6d1r2wRKeosD6ptsV7Xr32QrA9h7o5CBrN2kQ3 uA/B715QaNyGqbIjRIq/J03P3XKg5OiOesl4nLP5TvUXH3BzD9QUx0VnqgI2Z2uoltJL W4YAXaHCyYscmS1i4hz3wzDZ/w+/qPGNxNhgsVbxgJDeCVBCWh1sGo/tklgiPc8qUQSU e7cg== 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=rxQE3as5qmdywGCryWlJxFvuu0GYbuByAf+xTUWNAXQ=; b=gM8J1YD02j+7eXENhyoVrRJGSvMdckJ9MtYE45I9QKjTKgDjjgm55EEMBgJXboJ8z5 gOoq/Oh5M7Bc8seJAtXFDACbPJuGJvuDgtRuw8abGLAyRbwI602HHEHYhC+aI93AX7J1 etLavc+/yArgKWV4Q5HIcJDlXItB7E6BVMKLVkClPasOPz/nlJNue8rn9bHqzMJqioGO zezdetJ/GUGp+8Erbk1DXDreWUCZtGAUABcK3q1v9lSdcSqSNvHpOnCZHxV10T8FVhKJ 2z6GzfoXLPjOzpK4Z6mUFPS4+ImjygcIQkEJSLWgr/5PGas/Zqm0QEN48z5ECU8Axdk7 +MjQ== X-Gm-Message-State: AOAM533LEG/INMVKlndXDOh7+C8i1IdpeG80e13fjorvq8v0C+cD7cQE WOPY0WZ7SW/uAnH+jMAz764= X-Google-Smtp-Source: ABdhPJxFEUmnJbF7ddeya1V030+teKQyup2L2MRyuq0Sjnda7xD8Ms9KucAcworSdN15PM2k0RiaWQ== X-Received: by 2002:a05:6402:395:: with SMTP id o21mr1807804edv.2.1604057790490; Fri, 30 Oct 2020 04:36:30 -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.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Oct 2020 04:36:29 -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 11/11] arm64: dts: lx2160ardb: add nodes for the AQR107 PHYs Date: Fri, 30 Oct 2020 13:35:55 +0200 Message-Id: <20201030113555.726487-12-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 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Ioana Ciornei Annotate the EMDIO1 node and describe the 2 AQR107 PHYs found on the LX2160ARDB board. Also, add the necessary phy-handles for DPMACs 3 and 4 to their associated PHY. Signed-off-by: Ioana Ciornei --- .../boot/dts/freescale/fsl-lx2160a-rdb.dts | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts index 54fe8cd3a711..7723ad5efd37 100644 --- a/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-lx2160a-rdb.dts @@ -35,6 +35,18 @@ &crypto { status = "okay"; }; +&dpmac3 { + phy-handle = <&aquantia_phy1>; + phy-connection-type = "usxgmii"; + managed = "in-band-status"; +}; + +&dpmac4 { + phy-handle = <&aquantia_phy2>; + phy-connection-type = "usxgmii"; + managed = "in-band-status"; +}; + &dpmac17 { phy-handle = <&rgmii_phy1>; phy-connection-type = "rgmii-id"; @@ -61,6 +73,18 @@ rgmii_phy2: ethernet-phy@2 { reg = <0x2>; eee-broken-1000t; }; + + aquantia_phy1: ethernet-phy@4 { + /* AQR107 PHY */ + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <0x4>; + }; + + aquantia_phy2: ethernet-phy@5 { + /* AQR107 PHY */ + compatible = "ethernet-phy-ieee802.3-c45"; + reg = <0x5>; + }; }; &esdhc0 { @@ -156,6 +180,14 @@ rtc@51 { }; }; +&pcs_mdio3 { + status = "okay"; +}; + +&pcs_mdio4 { + status = "okay"; +}; + &sata0 { status = "okay"; };