From d1a76e03b8ffe75150144c5d8777f76a52012b51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=2E=20=C3=81rkosi=20R=C3=B3bert?= Date: Thu, 15 Dec 2022 09:16:16 +0100 Subject: [PATCH] Update ethernet.rst (#2534) merge similar configs --- components/ethernet.rst | 40 ++++++++-------------------------------- 1 file changed, 8 insertions(+), 32 deletions(-) diff --git a/components/ethernet.rst b/components/ethernet.rst index 4299cd45c..0096a2c24 100644 --- a/components/ethernet.rst +++ b/components/ethernet.rst @@ -76,7 +76,7 @@ Configuration variables: Configuration examples ---------------------- -**Olimex ESP32-POE** +**Olimex ESP32-POE**: .. code-block:: yaml @@ -89,7 +89,7 @@ Configuration examples power_pin: GPIO12 -**Olimex ESP32-EVB** +**Olimex ESP32-EVB**: .. code-block:: yaml @@ -100,7 +100,7 @@ Configuration examples clk_mode: GPIO0_IN phy_addr: 0 -**Olimex ESP32-GATEWAY** +**Olimex ESP32-GATEWAY** and **LILYGO TTGO T-Internet-POE ESP32-WROOM LAN8270A**: .. code-block:: yaml @@ -111,18 +111,7 @@ Configuration examples clk_mode: GPIO17_OUT phy_addr: 0 -**LILYGO TTGO T-Internet-POE ESP32-WROOM LAN8270A** - -.. code-block:: yaml - - ethernet: - type: LAN8720 - mdc_pin: GPIO23 - mdio_pin: GPIO18 - clk_mode: GPIO17_OUT - phy_addr: 0 - -**Wireless Tag WT32-ETH01** and **SMLIGHT SLZB-06** +**Wireless Tag WT32-ETH01** and **SMLIGHT SLZB-06 PoE Zigbee**: .. code-block:: yaml @@ -134,7 +123,7 @@ Configuration examples phy_addr: 1 power_pin: GPIO16 -**ESP32-Ethernet-Kit** +**M5Stack PoESP32** and **ESP32-Ethernet-Kit**: .. code-block:: yaml @@ -146,20 +135,7 @@ Configuration examples phy_addr: 1 power_pin: GPIO5 - -**M5Stack PoESP32 Unit** - -.. code-block:: yaml - - ethernet: - type: IP101 - mdc_pin: GPIO23 - mdio_pin: GPIO18 - clk_mode: GPIO0_IN - phy_addr: 1 - power_pin: GPIO5 - -**AIThinker ESP32-G Gateway Unit** +**AiThinker ESP32-G Gateway**: .. code-block:: yaml @@ -171,7 +147,7 @@ Configuration examples phy_addr: 1 power_pin: GPIO5 -**wESP32 board** +**wESP32**: .. code-block:: yaml @@ -195,7 +171,7 @@ Configuration examples Revision 5 and below of the wESP32 board use the LAN8720 Ethernet PHY. Revision 7 and newer of it use the RTL8201 Ethernet PHY. Support for RTL8201 is available from ESPHome version 2022.12 upwards. -**OpenHacks LAN8720** +**OpenHacks LAN8720**: .. code-block:: yaml