From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.128.45 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796511137; b=iaEu0LnhuwNHwrWVD9rOq83jROtBnq4Kfed8zEx34k1SuiSKYbTVw1NNSDaptHNPM6MD /W/DIZev1JGyMHPUo0erW6bNafyaSZM876IURBQ+C2UpctOuGPXs2+c5eptvotSZOMO00 fvoPAyC0TFOl4SPkrK+QGvecsmpJ2dY4YPC605iZrapjTUL8Pcadj7aKSnPFebsaTDCDq sim1eXy3Y/4z1gKLLHrWm5R6LnlQhHnb+CBUmDBKYJpIEXShLNzwtCfiEoIVUxclwOiN8 e5Of1aUI+pf6ZgnPqb71lB5+4TjnSRvwfyXoaCOUI+fG5g0mtUgGjjhNwPDSnGa33rA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796511137; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:Date:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding: Message-Id:References:In-Reply-To:To:Cc:X-Mailer: X-Developer-Signature:X-Developer-Key; bh=0qPjACytFl+k6m4jViEWb7hJO9/tXB3SKzeO6u00L24=; b=IzaiEjJKmD3X3dq9B/Exyor8rQJiVI7/+IfDgWvb8/7irGtlpcSRsPz2xPU6cL1h0K3K bY0TqYSSyqGw8+5MOdt4LZruKPNsbk9bjkTioJYCfVSY8tB0Uy4OhbS2BPzmJxPsSL2Q2 oMp84WVcRbazgyzaaehC+3SlZS1sc3w1Zk0E52+QiXXPtBiNNrYNEtQey4k/mV0lF/Ulv 5XjpD+SYVdLO5ipwrma5lhXrGdoPsGioU2qSFcFOaG3hWqnMaUz6ZeQYuqQPsM6HJpHs0 v7mIxs6yPawpuY/gmzSL359cqsZgQmcwiNfM0xxDfGI2vHGOVSceTf/Hx1joRVhRF7g== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=9elements.com; spf=pass smtp.mailfrom=9elements.com; dkim=pass header.d=9elements.com header.i=@9elements.com header.a=rsa-sha256 header.s=google header.b="Nq/i5cfV"; arc=none smtp.remote-ip=209.85.128.45 Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7E30D606A691 for ; Sat, 5 Dec 2026 22:52:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 7E30D606A691 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=9elements.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=9elements.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=9elements.com header.i=@9elements.com header.a=rsa-sha256 header.s=google header.b=Nq/i5cfV Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-4a2d6d01ecbso12039095e9.0 for ; Sat, 05 Dec 2026 14:52:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=9elements.com; s=google; t=1796511136; x=1797115936; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=0qPjACytFl+k6m4jViEWb7hJO9/tXB3SKzeO6u00L24=; b=Nq/i5cfVEpxBzXfU5yLIx3YJ1fdr8cC/PUaRnaEAwMX72AlFa205Uig7GpMnt71k8t brvrc7y6F++7JFCC/2PSBeX3Nb1X8S2I3u+jErBAZXlIpDwgt1D8rjl+YFnW6DJucorA yBVQQ57agK4bsBCvaMBqWXWCpxMHAxdE5o6pdtORFQw9LcsA0fDD43sjgDiDyr+qWDfP f5o3EGDHv6RAFrrMxigAioSGI/vZ7WmH1K0IWV2qk62PpnWJoiEin+eED5ITXpYgltQe CsIo9bp4ZXa5q9KulgKe0fLqt87SqtvsY855Y7Z+Z721Lj3I6z5KH2cJsaQSlenccfuJ xRcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796511136; x=1797115936; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=0qPjACytFl+k6m4jViEWb7hJO9/tXB3SKzeO6u00L24=; b=fthDNU09/24fA0R4nn8uY1aunrH/yZQDdlcnTlhwermTra26Op9BQHsFK/my6eCXlP jW9XjkRzrrGfI+I26ECq7YMHyv/OZSknDW/50gXKg+eFFdGxeuGJrbLiKz/T3Yv2Ee/k I3lNL6m/IwlD1Uqociubw+ovjxxG1RSK3X4/r4nVgvH9WS1bzC8d2sIFRuGKHET3gO1K buATcfI/03FAjfuUeJwFxu6ZKkpqOHeeouw0wXTKf+gfHNNuWxhx+N2cgOVw/ZX7qc0n RKhTbg6jG6uFRn4bq+gNg+akmbzuwiuKrciz1hlAcofNePRz3tUA2Brbhg8fJRN85nGd e2qg== X-Forwarded-Encrypted: i=1; AL+hErHwSHF/2/i71aNGF1H5B5BuvqsCzV+d7zboI/jMJHX+40AHkBRMIKrLS3J+yYXJw+uwCB452k9WWcJdPgs=@vger.kernel.org X-Gm-Message-State: APuU4Z8+mDaEYpIHKIl1nH6tgyX5hYNC9gwEJm/cdhdkkM1OzZZssPxw q936+WnYaq3h/xeoWACcxsM56Zvx/7bvqBJQ8VdP1RiyKe2O9Xaf0Wcf0JMhIxeJ7w== X-Gm-Gg: AZFdTZdpZMOxzBdpoglW8lGjR6C2OL123YIgLWyrZqt4MWzLJIQq5/rX3zBYwILM/Hj F/7hE6rsINi8016wTBrZB7mQbTJDdL4Ap5fObnPclibEzQYfAdXB7BWtxP0NXBpvB93Mu/YY1qA +6tWj+yltt+ILJ0YFaXdmROQuHhWaPA6DWQSyoOI6zWl6EhYcHwhfUqbjOQS8rVK1EC3Bs77AT0 KnJdk+ecaSq3jEeB0UMX1Q1j2NPIDBrSzhpJi6AKIEu7jErycCS9JrpzzhE7yO4Yk/kzvCBpGk2 2X5SIp6EbaqK0ZAt/mdVrTk6AkSviReaKvDZUnL3uuBmdSp1PvxFoksV6VkDXLea9zSgk2hpwEI KT2TBc4I83dXudv7Y0mFR7H8xU0KgmS5xowRIrahIo0QVsk43byOz28AS94WHldMLaJYHYL3J+X a8hlpBe6mi9X1AgcJqxIgjIU6ifxSE5zOSO3yeEL9HZ70i+Ov8G2tWDf7cqUEHgyS6GKV7peFVc JoqUAVKru+uH+p9FTr81HmVq67FpaNhz4DnYfNrmkdFbcq/dSyYtKpnkMZF/7VtVte1jOcJRMtz EMjaSeBmw1rOccX+43RcBMVPLrxhqrZTqDAjB7KO3yiJUi42BIJPuRKNsj1coe6NhE1f8bZ2 X-Received: by 2002:a05:600c:b8d:b0:4a1:cfa7:e968 with SMTP id 5b1f17b1804b1-4bbeb8b8b6bmr120674655e9.21.1796511135969; Sat, 05 Dec 2026 14:52:15 -0800 (PST) Received: from [127.0.0.2] (5073F89B.static.ziggozakelijk.nl. [80.115.248.155]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4bbea09a2e7sm163082845e9.2.2026.12.05.14.52.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Dec 2026 14:52:15 -0800 (PST) From: Michal Gorlas Date: Sat, 05 Dec 2026 23:51:40 +0100 Subject: [PATCH net-next 3/5] dt-bindings: net: add HPE GXP UMAC Ethernet controller X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261205-umac-v1-3-0796aa6e51c7@9elements.com> References: <20261205-umac-v1-0-0796aa6e51c7@9elements.com> In-Reply-To: <20261205-umac-v1-0-0796aa6e51c7@9elements.com> To: Jean-Marie Verdun , Nick Hawkins , Philipp Zabel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Marcello Sylvester Bauer , Russell King Cc: Tan Siewert , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=4822; i=michal.gorlas@9elements.com; h=from:subject:message-id; bh=f958OBn9eDJW8DTywWMI2EOBCDjHDalx8NLvKOY0eAs=; b=owEBbQKS/ZANAwAKAWKaksyA3pPLAcsmYgBrFJWYq682MxVKSpIpEjv32YGfZQSMl43cm10vY E2nFY+Xmf+JAjMEAAEKAB0WIQTgoC0bQQLz7jVH2W9impLMgN6TywUCaxSVmAAKCRBimpLMgN6T y/g7D/sEP49HnBrysJegulCcNQq94daY9RFOBh/vd7/NyJ0dgNJ7h4D+LERkcaTRQUsjtqWRndW Rq72PByTUHmXmWmbJpd9c081/oGkLO3ipkPQI/kElBAbaXxlPyJtWrm0vKrfMxBKheNjn/9dffb yE1ZnrnMVfVChAt4WD0rA7cH4iTp18IDRVbp171eSx7BSXyGM+4U9HIwjKAzymW7hY+aNhtzZ3A EZb8FfV6xEwYyxzP66NqqeuiD2PpTvhZLovosC+CWC3sEsIK2GclWrBrhz6UuFxtjDm3pUJJ7u5 7HNaOkZCaTPqcVTTJnkUAXe3BVgJMD1WxwnWgKug6zrJ5JtV4n9Z3VMV4wxfISwD6UivbVpxgB2 T4BRuQc8yLSeRkeqX7i1R9w2fUtbIwqpdNgJc8vtbqk0qIyJ2y8ScwW1ITm0zjI/IOY5Ngk1e6M 5gYElqdawJYGZiD8cFCkzwsHqAF51YsUrT/jemewr9iO04YxjY1GSkJyp8kwxUtFYInJKNE/a2r kxj03b097r2fLFQ94XrN5U/WkYc9pabcYe//BiF7/CyIfDYB+/+rRUkNT8loGU99YdIo1UqnNkr b3rF6zZVu89q8nqvlMUVRmPtzlt1dsDCUp8j74b0oasxY8Oh5XwauGajjlLX+anxSRoR/Nbzn1f DIzw9PDhRsikO+A== X-Developer-Key: i=michal.gorlas@9elements.com; a=openpgp; fpr=B4EB74EA41969D1140A4D1791596726986433F8C From: Marcello Sylvester Bauer Add device tree bindings for the HPE GXP UMAC Ethernet controller and its associated MDIO bus. The GXP SoC is used as the BMC in HPE ProLiant Gen10 and Gen11 servers. The GXP includes two UMAC Ethernet controllers: - One connected to an external PHY for dedicated BMC management - One using NC-SI for sideband communication with the host NIC The UMAC reaches an external SGMII PHY through an internal SGMII PCS, accessed through a Clause 22 register on a UMAC MDIO bus. Signed-off-by: Marcello Sylvester Bauer Co-developed-by: Michal Gorlas Signed-off-by: Michal Gorlas --- .../devicetree/bindings/net/hpe,gxp-umac.yaml | 156 +++++++++++++++++++++ 1 file changed, 156 insertions(+) diff --git a/Documentation/devicetree/bindings/net/hpe,gxp-umac.yaml b/Documentation/devicetree/bindings/net/hpe,gxp-umac.yaml new file mode 100644 index 000000000000..9cde099faaea --- /dev/null +++ b/Documentation/devicetree/bindings/net/hpe,gxp-umac.yaml @@ -0,0 +1,156 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/hpe,gxp-umac.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: HPE GXP UMAC Ethernet Controller + +maintainers: + - Marcello Sylvester Bauer + +description: + The HPE GXP SoC includes two UMAC ethernet controllers for BMC + network connectivity. One is typically connected to an external + Marvell PHY for dedicated management and the other uses NCSI + for sideband communication with the host NIC. + +allOf: + - $ref: ethernet-controller.yaml# + - if: + required: + - use-ncsi + then: + properties: + phy-mode: false + phy-handle: false + pcs-handle: false + else: + required: + - phy-mode + - phy-handle + - pcs-handle + +properties: + compatible: + const: hpe,gxp-umac + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + resets: + maxItems: 1 + description: + Reset line of the UMAC block. The line also includes UMAC's MDIO controller. + + phy-handle: + description: Reference to the external PHY + + phy-mode: + const: sgmii + + phy-connection-type: false + + fixed-link: false + + managed: false + + pcs-handle: + maxItems: 1 + description: Phandle to the internal SGMII PCS + + use-ncsi: + type: boolean + description: + Whether the device should use NCSI. Only one of the MACs can + support NCSI, and it requires a physical connection on the + board to be present. This property being set implies that the + physical connection is present and should be used. + + mdio: + $ref: mdio.yaml# + unevaluatedProperties: false + + properties: + clock-frequency: false + suppress-preamble: false + + patternProperties: + '^ethernet-pcs@[0-9a-f]+$': + type: object + description: + Internal SGMII PCS bridging a GXP UMAC to an external SGMII PHY, + accessed through a Clause 22 register set. + + properties: + compatible: + const: hpe,gxp-umac-pcs + + reg: + maxItems: 1 + + required: + - compatible + - reg + + additionalProperties: false + +required: + - compatible + - reg + - interrupts + - resets + - mdio + +unevaluatedProperties: false + +examples: + - | + ethernet@c0004000 { + compatible = "hpe,gxp-umac"; + reg = <0xc0004000 0x100>; + interrupts = <10>; + resets = <&gxp_rst 2>; + nvmem-cells = <&mac0>; + nvmem-cell-names = "mac-address"; + phy-handle = <&ext_phy0>; + pcs-handle = <&int_pcs0>; + phy-mode = "sgmii"; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + + ext_phy0: ethernet-phy@0 { + reg = <0>; + }; + }; + }; + + ethernet@c0005000 { + compatible = "hpe,gxp-umac"; + reg = <0xc0005000 0x100>; + interrupts = <11>; + resets = <&gxp_rst 7>; + nvmem-cells = <&mac1>; + nvmem-cell-names = "mac-address"; + use-ncsi; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + + int_pcs0: ethernet-pcs@0 { + compatible = "hpe,gxp-umac-pcs"; + reg = <0>; + }; + + ethernet-pcs@1 { + compatible = "hpe,gxp-umac-pcs"; + reg = <1>; + }; + }; + }; -- 2.56.0