Merge branch 'master' into p4-3

This commit is contained in:
iranl
2025-03-04 21:43:07 +01:00
committed by GitHub
4 changed files with 22 additions and 11 deletions

View File

@@ -0,0 +1,8 @@
#pragma once
#define ETH_CLK_MODE_M5_TYPE ETH_PHY_TLK110
#define ETH_CLK_MODE_M5_POESP32 ETH_CLOCK_GPIO0_IN
#define ETH_PHY_ADDR_M5_POESP32 1
#define ETH_PHY_MDC_M5_POESP32 23
#define ETH_PHY_MDIO_M5_POESP32 18
#define ETH_PHY_POWER_M5_POESP32 5

View File

@@ -10,16 +10,19 @@
#define ETH_PHY_SPI_SCK_M5_W5500 22
#define ETH_PHY_SPI_MISO_M5_W5500 23
#define ETH_PHY_SPI_MOSI_M5_W5500 33
#define ETH_PHY_CS_M5_W5500_S3 6
#define ETH_PHY_SPI_SCK_M5_W5500_S3 5
#define ETH_PHY_SPI_MISO_M5_W5500_S3 7
#define ETH_PHY_SPI_MOSI_M5_W5500_S3 8
#define ETH_PHY_IRQ_ELITE_W5500 14
#define ETH_PHY_RST_ELITE_W5500 -1
#define ETH_PHY_CS_ELITE_W5500 45
#define ETH_PHY_SPI_SCK_ELITE_W5500 48
#define ETH_PHY_SPI_MISO_ELITE_W5500 47
#define ETH_PHY_SPI_MOSI_ELITE_W5500 21
#define ETH_PHY_IRQ_GENERIC_W5500 3
#define ETH_PHY_RST_GENERIC_W5500 4
#define ETH_PHY_CS_GENERIC_W5500 5