From: Michal Gorlas <michal.gorlas@9elements.com>
To: Jean-Marie Verdun <verdun@hpe.com>,
Nick Hawkins <nick.hawkins@hpe.com>,
Philipp Zabel <p.zabel@pengutronix.de>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Andrew Lunn <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>,
Jakub Kicinski <kuba@kernel.org>,
Paolo Abeni <pabeni@redhat.com>,
Marcello Sylvester Bauer <marcello.bauer@9elements.com>,
Russell King <linux@armlinux.org.uk>
Cc: Tan Siewert <tan.siewert@9elements.com>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
netdev@vger.kernel.org
Subject: [PATCH net-next 3/5] dt-bindings: net: add HPE GXP UMAC Ethernet controller
Date: Sat, 05 Dec 2026 23:51:40 +0100 [thread overview]
Message-ID: <20261205-umac-v1-3-0796aa6e51c7@9elements.com> (raw)
In-Reply-To: <20261205-umac-v1-0-0796aa6e51c7@9elements.com>
From: Marcello Sylvester Bauer <marcello.bauer@9elements.com>
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 <marcello.bauer@9elements.com>
Co-developed-by: Michal Gorlas <michal.gorlas@9elements.com>
Signed-off-by: Michal Gorlas <michal.gorlas@9elements.com>
---
.../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 <marcello.bauer@9elements.com>
+
+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
next prev parent reply other threads:[~2026-12-05 22:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-05 22:51 [PATCH net-next 0/5] net: add HPE GXP UMAC support Michal Gorlas
2026-12-05 22:51 ` [PATCH net-next 1/5] dt-bindings: reset: add HPE GXP reset controller Michal Gorlas
2026-12-05 22:51 ` [PATCH net-next 2/5] reset: simple: add HPE GXP support Michal Gorlas
2026-12-05 22:51 ` Michal Gorlas [this message]
2026-12-05 22:51 ` [PATCH net-next 4/5] net: ethernet: add HPE GXP UMAC driver Michal Gorlas
2026-12-05 22:51 ` [PATCH net-next 5/5] MAINTAINERS: Add HPE GXP UMAC entry Michal Gorlas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261205-umac-v1-3-0796aa6e51c7@9elements.com \
--to=michal.gorlas@9elements.com \
--cc=andrew+netdev@lunn.ch \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=marcello.bauer@9elements.com \
--cc=netdev@vger.kernel.org \
--cc=nick.hawkins@hpe.com \
--cc=p.zabel@pengutronix.de \
--cc=pabeni@redhat.com \
--cc=robh@kernel.org \
--cc=tan.siewert@9elements.com \
--cc=verdun@hpe.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox