diff --git a/sys/dev/rt/if_rt.c b/sys/dev/rt/if_rt.c index 5b4dc85d043b..e4e09564bdca 100644 --- a/sys/dev/rt/if_rt.c +++ b/sys/dev/rt/if_rt.c @@ -104,6 +104,7 @@ static const struct ofw_compat_data rt_compat_data[] = { { "ralink,rt3883-eth", RT_CHIPID_RT3050 }, { "ralink,rt5350-eth", RT_CHIPID_RT5350 }, { "ralink,mt7620a-eth", RT_CHIPID_MT7620 }, + { "mediatek,mt7620-eth", RT_CHIPID_MT7620 }, { "ralink,mt7621-eth", RT_CHIPID_MT7621 }, { "mediatek,mt7621-eth", RT_CHIPID_MT7621 }, { NULL, 0 } diff --git a/sys/mips/mediatek/mtk_pcie.c b/sys/mips/mediatek/mtk_pcie.c index 66d8add54679..d36f6a4d2db9 100644 --- a/sys/mips/mediatek/mtk_pcie.c +++ b/sys/mips/mediatek/mtk_pcie.c @@ -201,13 +201,9 @@ mtk_pci_ranges(phandle_t node, struct mtk_pci_range *io_space, } static struct ofw_compat_data compat_data[] = { - { "ralink,rt3662-pcie", MTK_SOC_RT3883 }, - { "ralink,rt3883-pcie", MTK_SOC_RT3883 }, - { "ralink,mt7620a-pcie", MTK_SOC_MT7620A }, - { "ralink,mt7621-pcie", MTK_SOC_MT7621 }, + { "ralink,rt3883-pci", MTK_SOC_RT3883 }, + { "mediatek,mt7620-pci", MTK_SOC_MT7620A }, { "mediatek,mt7621-pci", MTK_SOC_MT7621 }, - { "ralink,mt7628-pcie", MTK_SOC_MT7628 }, - { "ralink,mt7688-pcie", MTK_SOC_MT7628 }, { NULL, MTK_SOC_UNKNOWN } }; diff --git a/sys/mips/mediatek/mtk_usb_phy.c b/sys/mips/mediatek/mtk_usb_phy.c index 59b1ffd70d9a..7fa16011c9c9 100644 --- a/sys/mips/mediatek/mtk_usb_phy.c +++ b/sys/mips/mediatek/mtk_usb_phy.c @@ -85,6 +85,7 @@ static void mtk_usb_phy_mt7628_init(device_t); static struct ofw_compat_data compat_data[] = { { "ralink,mt7620-usbphy", MTK_SOC_MT7620A }, + { "mediatek,mt7620-usbphy", MTK_SOC_MT7620A }, { "ralink,mt7628an-usbphy", MTK_SOC_MT7628 }, { "ralink,rt3352-usbphy", MTK_SOC_RT3352 }, { "ralink,rt3050-usbphy", MTK_SOC_RT3050 },