blob: f77a21d34d2dcf7ba14c3a9fd922b62136de5f7d [file] [log] [blame]
# 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
spi-cpha:
type: boolean
description: |
Set to indicate phase starts with asserted half-phase (CPHA=1).
For this driver using this property requires also using cpol.
spi-cpol:
type: boolean
description: |
Set to indicate clock leading edge is falling (CPOL=1).
For this driver using this property requires also using cpha.
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