drivers: ethernet: enc28j60: Add DT property to set Rx filter

Byte value written to the device's
ERXFCON: ETHERNET RECEIVE FILTER CONTROL REGISTER
Sets the devices receive packet filter, optional. If not set
in device tree previous hard coded value`0xA3` is used.
Uni, multi and broadcast packets with valid CRC are accepted.

Signed-off-by: Dean Sellers <dsellers@evos.com.au>
This commit is contained in:
Dean Sellers 2023-12-21 11:25:26 +10:00 committed by Anas Nashif
commit e193f922cd
3 changed files with 16 additions and 1 deletions

View file

@ -21,3 +21,12 @@ properties:
type: boolean
description: |
Optional feature flag - Enables full duplex reception and transmission.
hw-rx-filter:
type: int
description: |
Byte value written to the device's
ERXFCON: ETHERNET RECEIVE FILTER CONTROL REGISTER
Sets the devices receive packet filter, optional
If not set in device tree `0xA3` is used, uni, multi and broadcast
packets with valid CRC are accepted.