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