[PATCH net-next 3/5] dt-bindings: net: add HPE GXP UMAC Ethernet controller

From: Michal Gorlas

Date: Sat Dec 05 2026 - 17:52:30 EST


From: Marcello Sylvester Bauer <marcello.bauer@xxxxxxxxxxxxx>

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@xxxxxxxxxxxxx>
Co-developed-by: Michal Gorlas <michal.gorlas@xxxxxxxxxxxxx>
Signed-off-by: Michal Gorlas <michal.gorlas@xxxxxxxxxxxxx>
---
.../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@xxxxxxxxxxxxx>
+
+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