projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4ef49a
)
eth: mtk-eth: add mt7622 support in mediatek eth driver
author
MarkLee
<Mark-MC.Lee@mediatek.com>
Tue, 21 Jan 2020 11:31:58 +0000
(19:31 +0800)
committer
Tom Rini
<trini@konsulko.com>
Fri, 7 Feb 2020 18:59:58 +0000
(13:59 -0500)
This patch add mt7622 support in mediatek eth driver
Signed-off-by: MarkLee <Mark-MC.Lee@mediatek.com>
drivers/net/mtk_eth.c
patch
|
blob
|
history
diff --git
a/drivers/net/mtk_eth.c
b/drivers/net/mtk_eth.c
index 8354e82244e8350983160be2ee63ba84c8efeab5..6cffc3f32aad45b4d651c1d1cb11ecd737b0fb02 100644
(file)
--- a/
drivers/net/mtk_eth.c
+++ b/
drivers/net/mtk_eth.c
@@
-136,7
+136,8
@@
enum mtk_switch {
enum mtk_soc {
SOC_MT7623,
- SOC_MT7629
+ SOC_MT7629,
+ SOC_MT7622
};
struct mtk_eth_priv {
@@
-1195,6
+1196,7
@@
static int mtk_eth_ofdata_to_platdata(struct udevice *dev)
static const struct udevice_id mtk_eth_ids[] = {
{ .compatible = "mediatek,mt7629-eth", .data = SOC_MT7629 },
{ .compatible = "mediatek,mt7623-eth", .data = SOC_MT7623 },
+ { .compatible = "mediatek,mt7622-eth", .data = SOC_MT7622 },
{}
};