zephyr/drivers/ethernet/eth_numaker_priv.h
cyliang tw ea1129ee1a drivers: ethernet: support for numaker m55m1x series
Add support for Nuvoton numaker m55m1x series EMAC controller.
Also include NOCACHE_MEMORY allocation.
Support to generate random mac address and remove emac data flash.

Signed-off-by: cyliang tw <cyliang@nuvoton.com>
2025-04-10 14:43:43 +02:00

24 lines
530 B
C

/*
* Copyright (c) 2023 Nuvoton Technology Corporation.
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef ZEPHYR_DRIVERS_ETHERNET_ETH_NUMAKER_PRIV_H_
#define ZEPHYR_DRIVERS_ETHERNET_ETH_NUMAKER_PRIV_H_
#include <zephyr/types.h>
#define NU_ETH_MAX_FLEN (1518)
#define NU_HWADDR_SIZE (6)
#define NU_ETH_MTU_SIZE 1500
/* NuMaker chip's OUI*/
#define NUMAKER_OUI_B0 0xDA
#define NUMAKER_OUI_B1 0x00
#define NUMAKER_OUI_B2 0x53
#endif /* ZEPHYR_DRIVERS_ETHERNET_ETH_NUMAKER_PRIV_H_ */