Skip to content

Commit 170ba54

Browse files
owinejesserockz
andauthored
Update deprecated clk_mode to clk configuration (#123)
Co-authored-by: Jesse Hills <[email protected]>
1 parent e7c4506 commit 170ba54

File tree

4 files changed

+19
-9
lines changed

4 files changed

+19
-9
lines changed

gl-inet/gl-s10.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
esphome:
33
name: gl-s10
44
friendly_name: Bluetooth Proxy
5-
min_version: 2025.5.0
5+
min_version: 2025.7.0
66
name_add_mac_suffix: true
77
# turn on Power LED when esphome boots
88
on_boot:
@@ -19,7 +19,9 @@ ethernet:
1919
type: IP101
2020
mdc_pin: GPIO23
2121
mdio_pin: GPIO18
22-
clk_mode: GPIO0_IN
22+
clk:
23+
pin: GPIO0
24+
mode: CLK_EXT_IN
2325
phy_addr: 1
2426
power_pin: GPIO5
2527

@@ -28,7 +30,9 @@ ethernet:
2830
# type: LAN8720
2931
# mdc_pin: GPIO23
3032
# mdio_pin: GPIO18
31-
# clk_mode: GPIO17_OUT
33+
# clk:
34+
# pin: GPIO17
35+
# mode: CLK_OUT
3236
# phy_addr: 1
3337

3438
api:

lilygo/lilygo-t-eth-poe.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
esphome:
22
name: lilygo-t-eth-poe
33
friendly_name: Bluetooth Proxy
4-
min_version: 2025.5.0
4+
min_version: 2025.7.0
55
name_add_mac_suffix: true
66

77
esp32:
@@ -17,7 +17,9 @@ ethernet:
1717
type: LAN8720
1818
mdc_pin: GPIO23
1919
mdio_pin: GPIO18
20-
clk_mode: GPIO17_OUT
20+
clk:
21+
pin: GPIO17
22+
mode: CLK_OUT
2123
phy_addr: 0
2224

2325
api:

olimex/olimex-esp32-poe-iso.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
esphome:
22
name: olimex-esp32-poe-iso
33
friendly_name: Bluetooth Proxy
4-
min_version: 2025.5.0
4+
min_version: 2025.7.0
55
name_add_mac_suffix: true
66

77
esp32:
@@ -13,7 +13,9 @@ ethernet:
1313
type: LAN8720
1414
mdc_pin: GPIO23
1515
mdio_pin: GPIO18
16-
clk_mode: GPIO17_OUT
16+
clk:
17+
pin: GPIO17
18+
mode: CLK_OUT
1719
phy_addr: 0
1820
power_pin:
1921
number: GPIO12

wt32/wt32-eth01.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
esphome:
22
name: wt32-eth01
33
friendly_name: Bluetooth Proxy
4-
min_version: 2025.5.0
4+
min_version: 2025.7.0
55
name_add_mac_suffix: true
66
platformio_options:
77
board_build.flash_mode: dio
@@ -15,7 +15,9 @@ ethernet:
1515
type: LAN8720
1616
mdc_pin: GPIO23
1717
mdio_pin: GPIO18
18-
clk_mode: GPIO0_IN
18+
clk:
19+
pin: GPIO0
20+
mode: CLK_EXT_IN
1921
phy_addr: 1
2022
power_pin: GPIO16
2123

0 commit comments

Comments
 (0)