From patchwork Wed Feb 19 15:12:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Oltean X-Patchwork-Id: 204590 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=-9.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,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 61AAFC34047 for ; Wed, 19 Feb 2020 15:13:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 345A524671 for ; Wed, 19 Feb 2020 15:13:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="YWxKWAiN" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726803AbgBSPNJ (ORCPT ); Wed, 19 Feb 2020 10:13:09 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:55965 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726634AbgBSPNI (ORCPT ); Wed, 19 Feb 2020 10:13:08 -0500 Received: by mail-wm1-f65.google.com with SMTP id q9so1028600wmj.5; Wed, 19 Feb 2020 07:13:07 -0800 (PST) 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; bh=DgQTawVnvOeaCy4fqOCxs8TdoBzrIHpG69q22QTtFfQ=; b=YWxKWAiNq96mL1RZzLYuQNF2U9TcxkiZ+3R386Oq2M6ExArzIsAoQ+y5JSaVdP5hTp GnEoyrRaySS0/SyUfTYawe2R4sPoPfN59Fuo7y0INHUwW+OTNqkKlS9im9nt22kzk3q/ lJTyJtngi+xpcosoWmw9Ot5SFrWKt3TxiYyLA/TKEZqLxsoMoNGolo7mjUAjayqp00k9 eXi2zfQ9RVtOV90fRi450NOUAXlGWcfAHv9SylEZMC/E3du12LAhcCxU1Ykdd2xr5m6/ QDdoN4iLgp426kZW7VQTO8qzc8UvqzmZnz/Q1ejyKmz6wpNn/ANdX6zubpuPtzVxZn/h QJqA== 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; bh=DgQTawVnvOeaCy4fqOCxs8TdoBzrIHpG69q22QTtFfQ=; b=W7nsFimp3tm3D5OT2iF+7Bg+0GX/8cYeDuZ668bDcaeRC0y237QXBUq91p+cAaR3AK j1Sxh8syaLh5Mi+7K9g39lTfcG8azO57HC4fAzx+qD099FnPBNx+tr3waHC14D2VNwCA 5BAo+FleRxPc5lnj3R0hPSFQzOi7bBrd5hOY+OJcGRBJxowH4SQb3899qbOLoLAY/tMn k52ewUVLpFjTj9OQHLoJjptgs9uL1zly8lgzLie+jBJENOpdUgV4OD42KmOiHdBhvBv8 edQtTKgrCWemZXgulM3bL1+3EvUpl36dtB5F6yN34TFda2SCbQX5vc4NsnVhN/45qSSa UOdA== X-Gm-Message-State: APjAAAXVYBc5kSHPdVXtYy1h4hOwgdiCuoUUSxHda8PL7xFDXev1TtAv P0lJ1mxw4IYWznMZ2njy9iw= X-Google-Smtp-Source: APXvYqyJen7ypND9HZ0n9bQDfqMPUXHNPpk/nVe+cLHLkrjIQlU2PF4ssQ1e4Ptb0eed2zMPc4dGBQ== X-Received: by 2002:a7b:c318:: with SMTP id k24mr11189202wmj.54.1582125186403; Wed, 19 Feb 2020 07:13:06 -0800 (PST) Received: from localhost.localdomain ([79.115.60.40]) by smtp.gmail.com with ESMTPSA id b13sm83137wrq.48.2020.02.19.07.13.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Feb 2020 07:13:05 -0800 (PST) From: Vladimir Oltean To: shawnguo@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, davem@davemloft.net, netdev@vger.kernel.org Cc: andrew@lunn.ch, vivien.didelot@gmail.com, f.fainelli@gmail.com, linux-kernel@vger.kernel.org Subject: [PATCH v2 net-next/devicetree 1/5] arm64: dts: fsl: ls1028a: delete extraneous #interrupt-cells for ENETC RCIE Date: Wed, 19 Feb 2020 17:12:55 +0200 Message-Id: <20200219151259.14273-2-olteanv@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200219151259.14273-1-olteanv@gmail.com> References: <20200219151259.14273-1-olteanv@gmail.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Vladimir Oltean This specifier overrides the interrupt specifier with 3 cells from gic (/interrupt-controller@6000000), but in fact ENETC is not an interrupt controller, so the property is bogus. Interrupts used by the children of the ENETC RCIE must use the full 3-cell specifier required by the GIC. The issue has no functional consequence so there is no real reason to port the patch to stable trees. Fixes: 927d7f857542 ("arm64: dts: fsl: ls1028a: Add PCI IERC node and ENETC endpoints") Signed-off-by: Vladimir Oltean --- Changes in v2: None. arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi index 0bf375ec959b..dfead691e509 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi @@ -683,7 +683,6 @@ reg = <0x01 0xf0000000 0x0 0x100000>; #address-cells = <3>; #size-cells = <2>; - #interrupt-cells = <1>; msi-parent = <&its>; device_type = "pci"; bus-range = <0x0 0x0>; From patchwork Wed Feb 19 15:12:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Oltean X-Patchwork-Id: 204591 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=-9.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, 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 C0169C34051 for ; Wed, 19 Feb 2020 15:13:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9506524672 for ; Wed, 19 Feb 2020 15:13:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="YTtZpZ6o" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726882AbgBSPNL (ORCPT ); Wed, 19 Feb 2020 10:13:11 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:38744 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726791AbgBSPNL (ORCPT ); Wed, 19 Feb 2020 10:13:11 -0500 Received: by mail-wr1-f68.google.com with SMTP id e8so973916wrm.5; Wed, 19 Feb 2020 07:13:09 -0800 (PST) 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; bh=wmYxNZlHmk+e/dR3BUF4sjOLDFYl6cCNjL/czQpAEHY=; b=YTtZpZ6oy/nsZrV+oEs9qIqANrUNBLoY3fNJwoQ7b0fRU/vn6XpyMR7P2jGrkeD+8o GMNFgg3OcidBxMOlll/feM2ZtBWXB67Ajc0m2I5g9QpCQoaOstj2QCZ3L2ujGbXGyVCq da7bIUcHoZ6NJP8nxXdn3cV6na0RHRXHa7sqFirrJIhDSuLnh15FGLz0MOg4Gegbt7Po UBjwfMbPPXw5iQ9/78gSnVo9J6UeV1uXUY0CDyhzhOY8mLgd1ZmcCmkYe9Ai0sq71PUW hk/spFNokYtRsAFxBSed6vNTWZIB4HviwccocUNc1pUL1qlpSw9M44GJBAom5mcokLIw PtRA== 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; bh=wmYxNZlHmk+e/dR3BUF4sjOLDFYl6cCNjL/czQpAEHY=; b=ZPiuh8SDcaFzhdZnYQskxs3c4zx9ekIhWDxIwPBjnc5Te9q42VraSbVHeqOZxftHpq d+A29JdGZAXAGBjxbVKETWMCjNy2lNo2lZp8rJcwT7OVXzoYlFEHnR3Uy4FVnFfq+Zmm PsjPg3ULiBW8ddLxxkATp91kqPHTR6iv7P2pPhdbW8ZwwUqYEYAueNJFUISNUe61k7mo zT5ZPKtzn36dVnqd3L46/vGw0RPxiCnqPJtDqx5QmlDfnuz1h6WJhwck0hkm/DxUNFEp UT4PIW7t4wZqiJ/MoDbnBF91PTUdUZbujRs70Kper8XMKSEmU6icDCic0koTtCn/3KBy OHFA== X-Gm-Message-State: APjAAAWK33XCkaVXkjJUOiQl0KeBl8YbqTBPm35bCCdNQWYToi6ZSWTw 9VYTdV/Z+PkBAgHCXthaIdM= X-Google-Smtp-Source: APXvYqwTMicfTcnQyclJDgkOo0qALGCtCrf/+mQ3VmUwi69x1NiIwaCvVgiHxmAZqCAtEHTOqSGpEA== X-Received: by 2002:a5d:6a07:: with SMTP id m7mr8852655wru.332.1582125188893; Wed, 19 Feb 2020 07:13:08 -0800 (PST) Received: from localhost.localdomain ([79.115.60.40]) by smtp.gmail.com with ESMTPSA id b13sm83137wrq.48.2020.02.19.07.13.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Feb 2020 07:13:08 -0800 (PST) From: Vladimir Oltean To: shawnguo@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, davem@davemloft.net, netdev@vger.kernel.org Cc: andrew@lunn.ch, vivien.didelot@gmail.com, f.fainelli@gmail.com, linux-kernel@vger.kernel.org Subject: [PATCH v2 net-next/devicetree 3/5] dt-bindings: net: dsa: ocelot: document the vsc9959 core Date: Wed, 19 Feb 2020 17:12:57 +0200 Message-Id: <20200219151259.14273-4-olteanv@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200219151259.14273-1-olteanv@gmail.com> References: <20200219151259.14273-1-olteanv@gmail.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Vladimir Oltean This patch adds the required documentation for the embedded L2 switch inside the NXP LS1028A chip. I've submitted it in the legacy format instead of yaml schema, because DSA itself has not yet been converted to yaml, and this driver defines no custom bindings. Signed-off-by: Vladimir Oltean --- Changes in v2: Adapted phy-mode = "gmii" to phy-mode = "internal". .../devicetree/bindings/net/dsa/ocelot.txt | 96 +++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/dsa/ocelot.txt diff --git a/Documentation/devicetree/bindings/net/dsa/ocelot.txt b/Documentation/devicetree/bindings/net/dsa/ocelot.txt new file mode 100644 index 000000000000..a9d86e09dafa --- /dev/null +++ b/Documentation/devicetree/bindings/net/dsa/ocelot.txt @@ -0,0 +1,96 @@ +Microchip Ocelot switch driver family +===================================== + +Felix +----- + +The VSC9959 core is currently the only switch supported by the driver, and is +found in the NXP LS1028A. It is a PCI device, part of the larger ENETC root +complex. As a result, the ethernet-switch node is a sub-node of the PCIe root +complex node and its "reg" property conforms to the parent node bindings: + +* reg: Specifies PCIe Device Number and Function Number of the endpoint device, + in this case for the Ethernet L2Switch it is PF5 (of device 0, bus 0). + +It does not require a "compatible" string. + +The interrupt line is used to signal availability of PTP TX timestamps and for +TSN frame preemption. + +For the external switch ports, depending on board configuration, "phy-mode" and +"phy-handle" are populated by board specific device tree instances. Ports 4 and +5 are fixed as internal ports in the NXP LS1028A instantiation. + +Any port can be disabled, but the CPU port should be kept enabled. + +The CPU port property ("ethernet"), which is assigned by default to the 2.5Gbps +port@4, can be moved to the 1Gbps port@5, depending on the specific use case. +DSA tagging is supported on a single port at a time. + +For the rest of the device tree binding definitions, which are standard DSA and +PCI, refer to the following documents: + +Documentation/devicetree/bindings/net/dsa/dsa.txt +Documentation/devicetree/bindings/pci/pci.txt + +Example: + +&soc { + pcie@1f0000000 { /* Integrated Endpoint Root Complex */ + ethernet-switch@0,5 { + reg = <0x000500 0 0 0 0>; + /* IEP INT_B */ + interrupts = ; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + /* External ports */ + port@0 { + reg = <0>; + label = "swp0"; + }; + + port@1 { + reg = <1>; + label = "swp1"; + }; + + port@2 { + reg = <2>; + label = "swp2"; + }; + + port@3 { + reg = <3>; + label = "swp3"; + }; + + /* Tagging CPU port */ + port@4 { + reg = <4>; + ethernet = <&enetc_port2>; + phy-mode = "internal"; + + fixed-link { + speed = <2500>; + full-duplex; + }; + }; + + /* Non-tagging CPU port */ + port@5 { + reg = <5>; + phy-mode = "internal"; + status = "disabled"; + + fixed-link { + speed = <1000>; + full-duplex; + }; + }; + }; + }; + }; +}; From patchwork Wed Feb 19 15:12:59 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vladimir Oltean X-Patchwork-Id: 204592 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=-9.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, 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 6F5DCC34050 for ; Wed, 19 Feb 2020 15:13:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 487BA24672 for ; Wed, 19 Feb 2020 15:13:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="TzK2azsU" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727078AbgBSPNO (ORCPT ); Wed, 19 Feb 2020 10:13:14 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:53439 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727001AbgBSPNN (ORCPT ); Wed, 19 Feb 2020 10:13:13 -0500 Received: by mail-wm1-f65.google.com with SMTP id s10so1043740wmh.3; Wed, 19 Feb 2020 07:13:12 -0800 (PST) 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; bh=1siZHdXNaBkFw2rS9GSsHRiEk1ELAmyftewPvXED4Ls=; b=TzK2azsUyUxFfoF3HlF7nIMC7bJ/FXVouyxM17lSbHna89caQmxbe3YWkhGmpHCaam Vya2jCyzfrsEx/G2NI6mqXcbhABH7xIGBqME7OV6641tAiPItALbLtpSaFUmSvgb6QVz UWoksRXDGnX8sik9RP4VQCZw755YoXTQH2TyrycOtB69+LqLg7XRs5wyfgCQ00j7W/lj /FLzb0yEeyVDp+4PHnd4g68e378qck3xcnRcEPGRSJwtAJpl9ldMw0DGH+CzEARGcn0m tMe9t7tRGPQT9db2SdUlIDo7RxfOPrwGeJ8bwPGnvfNXmj4H47pQLDcFqsUB0uJrhvDb KQMQ== 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; bh=1siZHdXNaBkFw2rS9GSsHRiEk1ELAmyftewPvXED4Ls=; b=P3qDMBUaQIcRxwgRjYU3KlWH3Plh8Ro4w3pFDshKXF0Z3e5vvvDpVjVWiPQRbHvl3R 2gOeh9Dx9pEpuOWr1zpzf6mUyQRR1WrMOmR59dNC98Z3tPeeUyPIW3l2uJKS4HVi3xuf XVhv4Bv7Dm2Wd+bwQL+ZchTOTjGrngxJ00LeiWb1YXYLfuDWfDtJQsqf2XIK7hxORQbB j4Rgc/ffBZnpU8SNU1tKj42eaibisy3Lh495FEv1x16iqw2XGbclUMkDVbuOAQuY8NP+ w6XITMJqlYw5h+i2eZ69NVIjty0/xc/yhJSsdc52+R3OPpV4Tuc6sOtzCoMRVYNnuiZx RS7A== X-Gm-Message-State: APjAAAWMb+ZiCHX4PMvprTJhCvJjKDBgjwcbTu6ns2fEWmbvMZRMnadf 547Du6fifqFFzlNtomFTivs= X-Google-Smtp-Source: APXvYqwdCwAzCaozbkbv6ha96uV1jT92Ce4KkcBwQ9jzEwI6Fe9SA/aL23M2V/VyvgeGUnrFiGL4Qg== X-Received: by 2002:a1c:5f06:: with SMTP id t6mr10819075wmb.32.1582125191399; Wed, 19 Feb 2020 07:13:11 -0800 (PST) Received: from localhost.localdomain ([79.115.60.40]) by smtp.gmail.com with ESMTPSA id b13sm83137wrq.48.2020.02.19.07.13.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Feb 2020 07:13:10 -0800 (PST) From: Vladimir Oltean To: shawnguo@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, davem@davemloft.net, netdev@vger.kernel.org Cc: andrew@lunn.ch, vivien.didelot@gmail.com, f.fainelli@gmail.com, linux-kernel@vger.kernel.org Subject: [PATCH v2 net-next/devicetree 5/5] arm64: dts: fsl: ls1028a: enable switch PHYs on RDB Date: Wed, 19 Feb 2020 17:12:59 +0200 Message-Id: <20200219151259.14273-6-olteanv@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200219151259.14273-1-olteanv@gmail.com> References: <20200219151259.14273-1-olteanv@gmail.com> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Claudiu Manoil Link the switch PHY nodes to the central MDIO controller PCIe endpoint node on LS1028A (implemented as PF3) so that PHYs are accessible via MDIO. Enable SGMII AN on the Felix PCS by telling PHYLINK that the VSC8514 quad PHY is capable of in-band-status. The PHYs are used in poll mode due to an issue with the interrupt line on current revisions of the LS1028A-RDB board. Signed-off-by: Claudiu Manoil Signed-off-by: Alex Marginean Signed-off-by: Vladimir Oltean Reviewed-by: Andrew Lunn --- Changes in v2: None. .../boot/dts/freescale/fsl-ls1028a-rdb.dts | 51 +++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts index afb55653850d..9353c00e46a7 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-rdb.dts @@ -194,6 +194,57 @@ status = "disabled"; }; +&enetc_mdio_pf3 { + /* VSC8514 QSGMII quad PHY */ + qsgmii_phy0: ethernet-phy@10 { + reg = <0x10>; + }; + + qsgmii_phy1: ethernet-phy@11 { + reg = <0x11>; + }; + + qsgmii_phy2: ethernet-phy@12 { + reg = <0x12>; + }; + + qsgmii_phy3: ethernet-phy@13 { + reg = <0x13>; + }; +}; + +&mscc_felix_port0 { + status = "okay"; + label = "swp0"; + managed = "in-band-status"; + phy-handle = <&qsgmii_phy0>; + phy-mode = "qsgmii"; +}; + +&mscc_felix_port1 { + status = "okay"; + label = "swp1"; + managed = "in-band-status"; + phy-handle = <&qsgmii_phy1>; + phy-mode = "qsgmii"; +}; + +&mscc_felix_port2 { + status = "okay"; + label = "swp2"; + managed = "in-band-status"; + phy-handle = <&qsgmii_phy2>; + phy-mode = "qsgmii"; +}; + +&mscc_felix_port3 { + status = "okay"; + label = "swp3"; + managed = "in-band-status"; + phy-handle = <&qsgmii_phy3>; + phy-mode = "qsgmii"; +}; + &sai4 { status = "okay"; };