diff --git a/sys/mips/conf/RT3883_FDT b/sys/mips/conf/RT3883_FDT index df1597b95b9..d48ba10877e 100644 --- a/sys/mips/conf/RT3883_FDT +++ b/sys/mips/conf/RT3883_FDT @@ -76,3 +76,7 @@ device if_bridge # Extres device ext_resources device clk + +# For now there's no etherswitch support for RT3662/RT3883 +nodevice etherswitch +nodevice mtkswitch diff --git a/sys/mips/mediatek/files.mediatek b/sys/mips/mediatek/files.mediatek index 81c12170b41..a25c3292f50 100644 --- a/sys/mips/mediatek/files.mediatek +++ b/sys/mips/mediatek/files.mediatek @@ -40,3 +40,8 @@ mips/mips/tick.c standard # Temporary Reset if mips/mediatek/fdt_reset.c standard mips/mediatek/fdt_reset_if.m standard + +# Switch +dev/etherswitch/mtkswitch/mtkswitch.c optional mtkswitch +dev/etherswitch/mtkswitch/mtkswitch_rt3050.c optional mtkswitch +dev/etherswitch/mtkswitch/mtkswitch_mt7620.c optional mtkswitch diff --git a/sys/mips/mediatek/std.mediatek b/sys/mips/mediatek/std.mediatek index df7a876340b..7806da8f099 100644 --- a/sys/mips/mediatek/std.mediatek +++ b/sys/mips/mediatek/std.mediatek @@ -82,3 +82,9 @@ device loop # ether device support device ether + +# ether switch support +device etherswitch +device miibus +device mtkswitch +device mdio