zephyr/dts/bindings/dsa/dsa.yaml
Yangbo Lu ba2028d19c dts: bindings: dsa: add common bindings file
Added common bindings file for dsa, and adapted NETC to it.

Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
2025-04-24 01:26:46 +02:00

28 lines
626 B
YAML

# Copyright 2025 NXP
# SPDX-License-Identifier: Apache-2.0
description: DSA Device
child-binding:
description: Properties of slave port
include:
- name: pinctrl-device.yaml
- name: ethernet-controller.yaml
property-allowlist:
- zephyr,random-mac-address
- local-mac-address
- phy-handle
- phy-connection-type
properties:
reg:
type: array
required: true
description: Port number
ethernet:
type: phandle
description:
A phandle to a valid Ethernet device node. This host
device is what the switch port is connected to.