69b4e18118
- aes67_board: Waveshare ESP32-P4-ETH pin profile and EMAC + IP101 driver install (PHY addr 1, reset GPIO51, ref clock in on GPIO50). - aes67_net: Ethernet netif with DHCP client; logs link up/down (speed, duplex, MAC) and the DHCP lease. - Verified on board: 100 Mbps full duplex, DHCP lease in ~8 s, ping 0% loss, ~0.2 ms RTT. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
18 lines
574 B
C
18 lines
574 B
C
// Waveshare ESP32-P4-ETH (PoE): pin profile.
|
|
// IP101GRI PHY over RMII, 50 MHz ref clock from the PHY into the EMAC.
|
|
#pragma once
|
|
|
|
#define BOARD_NAME "Waveshare ESP32-P4-ETH"
|
|
|
|
#define BOARD_ETH_PHY_ADDR 1
|
|
#define BOARD_ETH_PHY_RST 51 // PHY reset/power
|
|
#define BOARD_ETH_MDC 31
|
|
#define BOARD_ETH_MDIO 52
|
|
#define BOARD_ETH_REF_CLK 50 // EMAC_CLK_EXT_IN
|
|
#define BOARD_ETH_TX_EN 49
|
|
#define BOARD_ETH_TXD0 34
|
|
#define BOARD_ETH_TXD1 35
|
|
#define BOARD_ETH_CRS_DV 28
|
|
#define BOARD_ETH_RXD0 29
|
|
#define BOARD_ETH_RXD1 30
|