Merged in david_s5/nuttx/master_k66_ethernet (pull request #1064)

NXP k66 Ethernet

* Kinetis:Add TJA1100 Phy

* Kinetis:enet.c formated with nxstyle

* net:mii Cleanup TJA1100 Support

      Formating and adding mask and shifts

* net:Kconfig Cleanup formatting

Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
David Sidrane
2019-10-30 18:29:54 +00:00
committed by Gregory Nutt
parent e3665c1fb4
commit 43a3a0f400
3 changed files with 263 additions and 41 deletions
+25
View File
@@ -396,6 +396,9 @@ config ETH0_PHY_KSZ90x1
config ETH0_PHY_DP83848C
bool "National Semiconductor DP83848C PHY"
config ETH0_PHY_TJA1100
bool "NXP TJA1100 PHY"
config ETH0_PHY_LAN8720
bool "SMSC LAN8720 PHY"
@@ -444,6 +447,9 @@ config ETH1_PHY_KSZ90x1
config ETH1_PHY_DP83848C
bool "National Semiconductor DP83848C PHY"
config ETH1_PHY_TJA1100
bool "NXP TJA1100 PHY"
config ETH1_PHY_LAN8720
bool "SMSC LAN8720 PHY"
@@ -452,6 +458,25 @@ config ETH1_PHY_DM9161
endchoice
if (ETH0_PHY_TJA1100 || ETH1_PHY_TJA1100)
choice
prompt "Automotive Ethernet 100BASE-T1 master/slave mode"
default PHY_100BASE_T1_SLAVE
---help---
Automotive Ethernet 100BASE-T1 requires the PHY to be configured
in either master or slave mode.
config PHY_100BASE_T1_MASTER
bool "Master"
config PHY_100BASE_T1_SLAVE
bool "Slave"
endchoice # 100BASE-T1 master/slave mode
endif
config NETDEV_PHY_DEBUG
bool "PHY debug"
default n