Re: [PATCH net-next 08/12] dt-bindings: net: toshiba,tc965x-dwmac: add TC956x Ethernet bridge

From: Rob Herring

Date: Thu May 07 2026 - 19:42:19 EST


On Fri, May 1, 2026 at 10:55 AM Alex Elder <elder@xxxxxxxxxxxx> wrote:
>
> From: Daniel Thompson <daniel@xxxxxxxxxxxx>
>
> Add devicetree bindings for the Toshiba TC956x family of Ethernet-AVB/TSN
> bridges.
>
> Signed-off-by: Daniel Thompson <daniel@xxxxxxxxxxxx>
> Signed-off-by: Alex Elder <elder@xxxxxxxxxxxx>
> ---
> .../bindings/net/toshiba,tc956x-dwmac.yaml | 111 ++++++++++++++++++
> 1 file changed, 111 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/net/toshiba,tc956x-dwmac.yaml
>
> diff --git a/Documentation/devicetree/bindings/net/toshiba,tc956x-dwmac.yaml b/Documentation/devicetree/bindings/net/toshiba,tc956x-dwmac.yaml
> new file mode 100644
> index 0000000000000..d95d22a3761da
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/net/toshiba,tc956x-dwmac.yaml
> @@ -0,0 +1,111 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/net/toshiba,tc956x-dwmac.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Toshiba TC956x Ethernet-AVB/TSN Controller
> +
> +maintainers:
> + - Alex Elder <elder@xxxxxxxxxxxx>
> + - Daniel Thompson <daniel@xxxxxxxxxxxx>
> +
> +description: |
> + This node provides properties for configuring the Ethernet PCI functions
> + that are attached to the internal downstream port of the TC956x's PCIe
> + switch.
> +
> + TC956x are a family of Ethernet-AVB/TSN bridge chips that combine a PCIe
> + switch together with a number of Ethernet controllers. These bindings
> + cover only the Ethernet functions of these devices.
> +
> +allOf:
> + - $ref: /schemas/pci/pci-bus-common.yaml#
> + - $ref: /schemas/pci/pci-device.yaml#
> +
> +unevaluatedProperties: false
> +
> +properties:
> + compatible:
> + enum:
> + - pci1179,0220 # Toshiba TC9564 (a.k.a. Qualcomm QPS615)
> +
> + "#gpio-cells":
> + const: 2
> +
> + gpio-controller: true
> +
> + # We can't allOf reference Ethernet-controller.yaml because we end up with
> + # contradictory $nodename rules (`ethernet@` versus `pci@`). Happily only a
> + # small number of the properties are useful on TC956x so we can just reference
> + # what we need.

That would be due to the error sashiko pointed out. 'pci' is for PCI
bridges (host or PCI-PCI).

Rob