aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ti/cpsw-phy-sel.c
diff options
context:
space:
mode:
authorMugunthan V N <mugunthanvnm@ti.com>2014-05-09 19:07:35 +0530
committerDavid S. Miller <davem@davemloft.net>2014-05-13 00:11:00 -0400
commitb80b93096bc05f013418e315ccc544ce2e8efc28 (patch)
tree33af33b5198277e35395210643ee614f2e6a5288 /drivers/net/ethernet/ti/cpsw-phy-sel.c
parentdrivers: net: cpsw-phy-sel: add dra7xx support for phy sel (diff)
downloadlinux-dev-b80b93096bc05f013418e315ccc544ce2e8efc28.tar.xz
linux-dev-b80b93096bc05f013418e315ccc544ce2e8efc28.zip
drivers: net: cpsw-phy-sel: add am43xx platform support
AM43xx phy mode selection is similar to AM33xx platform, so adding only the compatibility string to the driver Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/net/ethernet/ti/cpsw-phy-sel.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ethernet/ti/cpsw-phy-sel.c b/drivers/net/ethernet/ti/cpsw-phy-sel.c
index b93838db9a72..aa8bf45e53dc 100644
--- a/drivers/net/ethernet/ti/cpsw-phy-sel.c
+++ b/drivers/net/ethernet/ti/cpsw-phy-sel.c
@@ -167,6 +167,10 @@ static const struct of_device_id cpsw_phy_sel_id_table[] = {
.compatible = "ti,dra7xx-cpsw-phy-sel",
.data = &cpsw_gmii_sel_dra7xx,
},
+ {
+ .compatible = "ti,am43xx-cpsw-phy-sel",
+ .data = &cpsw_gmii_sel_am3352,
+ },
{}
};
MODULE_DEVICE_TABLE(of, cpsw_phy_sel_id_table);