|
|
@@ -69,7 +69,9 @@ ethernet:
|
|
|
mdc_pin: GPIO23
|
|
|
mdio_pin: GPIO18
|
|
|
clk:
|
|
|
- pin: GPIO0
|
|
|
+ pin:
|
|
|
+ number: GPIO0
|
|
|
+ ignore_strapping_warning: true
|
|
|
mode: CLK_EXT_IN
|
|
|
phy_addr: 1
|
|
|
power_pin: GPIO16
|
|
|
@@ -77,7 +79,9 @@ ethernet:
|
|
|
## UART Settings
|
|
|
uart:
|
|
|
id: uart_bus
|
|
|
- rx_pin: GPIO5
|
|
|
+ rx_pin:
|
|
|
+ number: GPIO5
|
|
|
+ ignore_strapping_warning: true
|
|
|
tx_pin: GPIO17
|
|
|
baud_rate: 115200
|
|
|
|
|
|
@@ -222,7 +226,7 @@ switch:
|
|
|
|
|
|
## Mode LAN/USB switch
|
|
|
- platform: template
|
|
|
- name: "DEVICE MODE SWITCH (LAN|OFF / USB|ON)"
|
|
|
+ name: "DEVICE MODE SWITCH (LAN|OFF - USB|ON)"
|
|
|
id: modeSwitchTemplate
|
|
|
turn_on_action:
|
|
|
- switch.turn_on: gpio12LED1
|
|
|
@@ -238,7 +242,7 @@ switch:
|
|
|
state: OFF
|
|
|
|
|
|
- platform: gpio
|
|
|
- name: "DEVICE MODE SWITCH (LAN|OFF / USB|ON)"
|
|
|
+ name: "DEVICE MODE SWITCH (LAN|OFF - USB|ON)"
|
|
|
restore_mode: ALWAYS_OFF
|
|
|
icon: mdi:toggle-switch
|
|
|
internal: true
|
|
|
@@ -254,6 +258,7 @@ switch:
|
|
|
id: gpio12LED1
|
|
|
pin:
|
|
|
number: GPIO12
|
|
|
+ ignore_strapping_warning: true
|
|
|
|
|
|
- platform: gpio
|
|
|
name: "LED - power (Yellow)"
|