# Copyright (c) 2020 DENX Software Engineering GmbH
# SPDX-License-Identifier: Apache-2.0

description: |
    DSA Device

include: [spi-device.yaml]
properties:
  dsa-master-port:
    type: phandle
    description: Phandle to master port.
  dsa-slave-ports:
    type: int
    description: Number of slave ports on the switch
  reset-gpios:
    type: phandle-array
    description: |
      The pin is asserted for 10ms during boot to reset the KSZ8794.

child-binding:
  description: Properties of slave port
  properties:
    local-mac-address:
      type: uint8-array
      description: |
        Specifies the MAC address that was assigned to the port
