diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2017-01-12 22:50:06 +0100 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2017-01-13 17:12:40 +0100 |
commit | f24ffb901e0408917748773b883841eca52eea05 (patch) | |
tree | 03498ef8ed4df13ce032d6f915c2f423fd1ec2f1 /target/linux/generic/files | |
parent | 89ecfa7556d87df1f588b34ef7a455224da03ce7 (diff) | |
download | mtk-20170518-f24ffb901e0408917748773b883841eca52eea05.zip mtk-20170518-f24ffb901e0408917748773b883841eca52eea05.tar.gz mtk-20170518-f24ffb901e0408917748773b883841eca52eea05.tar.bz2 |
mvsw61xx: add support for MV88E6352
MV88E6352 is used on Linksys WRT3200ACM
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
Diffstat (limited to 'target/linux/generic/files')
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/mvsw61xx.c | 4 | ||||
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/mvsw61xx.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/mvsw61xx.c b/target/linux/generic/files/drivers/net/phy/mvsw61xx.c index 6bd112b..9a689e6 100644 --- a/target/linux/generic/files/drivers/net/phy/mvsw61xx.c +++ b/target/linux/generic/files/drivers/net/phy/mvsw61xx.c @@ -851,6 +851,9 @@ static int mvsw61xx_probe(struct platform_device *pdev) case MV_IDENT_VALUE_6176: model_str = MV_IDENT_STR_6176; break; + case MV_IDENT_VALUE_6352: + model_str = MV_IDENT_STR_6352; + break; default: dev_err(&pdev->dev, "No compatible switch found at 0x%02x\n", state->base_addr); @@ -916,6 +919,7 @@ static const struct of_device_id mvsw61xx_match[] = { { .compatible = "marvell,88e6171" }, { .compatible = "marvell,88e6172" }, { .compatible = "marvell,88e6176" }, + { .compatible = "marvell,88e6352" }, { } }; MODULE_DEVICE_TABLE(of, mvsw61xx_match); diff --git a/target/linux/generic/files/drivers/net/phy/mvsw61xx.h b/target/linux/generic/files/drivers/net/phy/mvsw61xx.h index 1c45189..a07b09c 100644 --- a/target/linux/generic/files/drivers/net/phy/mvsw61xx.h +++ b/target/linux/generic/files/drivers/net/phy/mvsw61xx.h @@ -232,6 +232,9 @@ enum { #define MV_IDENT_VALUE_6176 0x1760 #define MV_IDENT_STR_6176 "MV88E6176" +#define MV_IDENT_VALUE_6352 0x3520 +#define MV_IDENT_STR_6352 "MV88E6352" + #define MV_PVID_MASK 0x0fff #define MV_FDB_HI_MASK 0x00ff |