diff --git a/samples/net/sockets/echo_client/boards/intel_socfpga_agilex5_socdk.conf b/samples/net/sockets/echo_client/boards/intel_socfpga_agilex5_socdk.conf new file mode 100644 index 00000000000..647b04bed0f --- /dev/null +++ b/samples/net/sockets/echo_client/boards/intel_socfpga_agilex5_socdk.conf @@ -0,0 +1,10 @@ +# Copyright (c) 2024, Intel Corporation. +# SPDX-License-Identifier: Apache-2.0 + +CONFIG_MDIO=y +CONFIG_NET_L2_ETHERNET=y + +CONFIG_NET_PKT_RX_COUNT=64 +CONFIG_NET_PKT_TX_COUNT=64 +CONFIG_NET_BUF_RX_COUNT=1024 +CONFIG_NET_BUF_TX_COUNT=512 diff --git a/samples/net/sockets/echo_client/boards/intel_socfpga_agilex5_socdk.overlay b/samples/net/sockets/echo_client/boards/intel_socfpga_agilex5_socdk.overlay new file mode 100644 index 00000000000..e0778eab9cb --- /dev/null +++ b/samples/net/sockets/echo_client/boards/intel_socfpga_agilex5_socdk.overlay @@ -0,0 +1,22 @@ +/* + * Copyright (C) 2024 Intel Corporation + * SPDX-License-Identifier: Apache-2.0 + */ + +/* The overlay file should be used to enable any + * dts nodes required by this application for this + * board. + */ + +&xgmac0 { + status = "okay"; + local-mac-address = [06 00 00 00 00 01]; +}; + +&mdio0 { + status = "okay"; + + phy0: phy@0 { + status = "okay"; + }; +}; diff --git a/samples/net/sockets/echo_server/boards/intel_socfpga_agilex5_socdk.conf b/samples/net/sockets/echo_server/boards/intel_socfpga_agilex5_socdk.conf new file mode 100644 index 00000000000..647b04bed0f --- /dev/null +++ b/samples/net/sockets/echo_server/boards/intel_socfpga_agilex5_socdk.conf @@ -0,0 +1,10 @@ +# Copyright (c) 2024, Intel Corporation. +# SPDX-License-Identifier: Apache-2.0 + +CONFIG_MDIO=y +CONFIG_NET_L2_ETHERNET=y + +CONFIG_NET_PKT_RX_COUNT=64 +CONFIG_NET_PKT_TX_COUNT=64 +CONFIG_NET_BUF_RX_COUNT=1024 +CONFIG_NET_BUF_TX_COUNT=512 diff --git a/samples/net/sockets/echo_server/boards/intel_socfpga_agilex5_socdk.overlay b/samples/net/sockets/echo_server/boards/intel_socfpga_agilex5_socdk.overlay new file mode 100644 index 00000000000..c44e3452c6c --- /dev/null +++ b/samples/net/sockets/echo_server/boards/intel_socfpga_agilex5_socdk.overlay @@ -0,0 +1,22 @@ +/* + * Copyright (C) 2024 Intel Corporation + * SPDX-License-Identifier: Apache-2.0 + */ + +/* The overlay file should be used to enable any + * dts nodes required by this application for this + * board. + */ + +&xgmac0 { + status = "okay"; + local-mac-address = [06 00 00 00 00 02]; +}; + +&mdio0 { + status = "okay"; + + phy0: phy@0 { + status = "okay"; + }; +};