1# Atmel SMART SAM V71 Xplained Board configuration
2
3# Copyright (c) 2019 Gerson Fernando Budke
4# Copyright (c) 2016 Piotr Mienkowski
5# SPDX-License-Identifier: Apache-2.0
6
7if BOARD_SAM_V71_XULT
8
9config BOARD
10	default "sam_v71_xult"
11
12if ETH_SAM_GMAC
13
14# Read MAC address from AT24MAC402 EEPROM
15
16config ETH_SAM_GMAC_MAC_I2C_EEPROM
17	default y
18
19config ETH_SAM_GMAC_MAC_I2C_SLAVE_ADDRESS
20	default 0x5F
21
22config ETH_SAM_GMAC_MAC_I2C_INT_ADDRESS
23	default 0x9A
24
25config ETH_SAM_GMAC_MAC_I2C_INT_ADDRESS_SIZE
26	default 1
27
28config ETH_SAM_GMAC_MAC_I2C_DEV_NAME
29	default "I2C_0"
30
31config ETH_SAM_GMAC_MAC_I2C_EEPROM
32	select I2C
33
34endif # ETH_SAM_GMAC
35
36if NETWORKING
37
38config NET_L2_ETHERNET
39	default y
40
41config ETH_SAM_GMAC
42	default y if NET_L2_ETHERNET
43
44endif # NETWORKING
45
46endif # BOARD_SAM_V71_XULT
47