1# Copyright (c) 2018, Linaro Limited
2# SPDX-License-Identifier: Apache-2.0
3
4description: ENC28J60 standalone 10BASE-T Ethernet controller with SPI interface
5
6compatible: "microchip,enc28j60"
7
8include: [spi-device.yaml, ethernet-controller.yaml]
9
10properties:
11  int-gpios:
12    type: phandle-array
13    required: true
14    description: Interrupt pin.
15
16      The interrupt pin of ENC28J60 is active low.
17      If connected directly the MCU pin should be configured
18      as active low.
19
20  full-duplex:
21    type: boolean
22    description: |
23      Optional feature flag - Enables full duplex reception and transmission.
24
25  hw-rx-filter:
26    type: int
27    description: |
28      Byte value written to the device's
29      ERXFCON: ETHERNET RECEIVE FILTER CONTROL REGISTER
30      Sets the devices receive packet filter, optional
31      If not set in device tree `0xA3` is used, uni, multi and broadcast
32      packets with valid CRC are accepted.
33