Signed-off-by: GuEe-GUI <2991707448@qq.com>
@@ -1,8 +1,12 @@
-config RT_USING_PHY
+menuconfig RT_USING_PHY
bool "Using ethernet phy device drivers"
default n
-config RT_USING_PHY_V2
+menuconfig RT_USING_PHY_V2
bool "Using phy device and mii bus v2"
depends on !RT_USING_PHY
+
+if RT_USING_DM && RT_USING_PHY_V2
+ osource "$(SOC_DM_PHY_DIR)/Kconfig"
+endif