Skip to content

Commit

Permalink
Merge branch 'bugfix/mdio_default_p4_v5.3' into 'release/v5.3'
Browse files Browse the repository at this point in the history
fix(esp_eth): fixed default GPIO to match new ver. of P4 devboard (v5.3)

See merge request espressif/esp-idf!32777
  • Loading branch information
david-cermak committed Sep 4, 2024
2 parents 1da3d68 + 9c9ba2e commit 4af7646
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ menu "Example Connection Configuration"
int "SMI MDIO GPIO number"
range ENV_GPIO_RANGE_MIN ENV_GPIO_OUT_RANGE_MAX
default 18 if IDF_TARGET_ESP32
default 27 if IDF_TARGET_ESP32P4
default 52 if IDF_TARGET_ESP32P4
help
Set the GPIO number used by SMI MDIO.
endif
Expand Down Expand Up @@ -295,7 +295,7 @@ menu "Example Connection Configuration"
config EXAMPLE_ETH_PHY_RST_GPIO
int "PHY Reset GPIO number"
range -1 ENV_GPIO_OUT_RANGE_MAX
default 26 if IDF_TARGET_ESP32P4
default 51 if IDF_TARGET_ESP32P4
default 5
help
Set the GPIO number used to reset PHY chip.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ menu "Example Ethernet Configuration"
bool "KSZ80xx"
help
With the KSZ80xx series, Microchip offers single-chip 10BASE-T/100BASE-TX
Ethernet Physical Layer Tranceivers (PHY).
Ethernet Physical Layer Transceivers (PHY).
The following chips are supported: KSZ8001, KSZ8021, KSZ8031, KSZ8041,
KSZ8051, KSZ8061, KSZ8081, KSZ8091
Goto https://www.microchip.com for more information about them.
Expand All @@ -70,15 +70,15 @@ menu "Example Ethernet Configuration"
int "SMI MDIO GPIO number"
range ENV_GPIO_RANGE_MIN ENV_GPIO_OUT_RANGE_MAX
default 18 if IDF_TARGET_ESP32
default 27 if IDF_TARGET_ESP32P4
default 52 if IDF_TARGET_ESP32P4
help
Set the GPIO number used by SMI MDIO.

config EXAMPLE_ETH_PHY_RST_GPIO
int "PHY Reset GPIO number"
range -1 ENV_GPIO_OUT_RANGE_MAX
default 5 if IDF_TARGET_ESP32
default 26 if IDF_TARGET_ESP32P4
default 51 if IDF_TARGET_ESP32P4
help
Set the GPIO number used to reset PHY chip.
Set to -1 to disable PHY chip hardware reset.
Expand Down

0 comments on commit 4af7646

Please sign in to comment.