Commit b80b9309 authored by Mugunthan V N's avatar Mugunthan V N Committed by David S. Miller

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: default avatarMugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d415fa1b
...@@ -4,6 +4,7 @@ TI CPSW Phy mode Selection Device Tree Bindings ...@@ -4,6 +4,7 @@ TI CPSW Phy mode Selection Device Tree Bindings
Required properties: Required properties:
- compatible : Should be "ti,am3352-cpsw-phy-sel" for am335x platform and - compatible : Should be "ti,am3352-cpsw-phy-sel" for am335x platform and
"ti,dra7xx-cpsw-phy-sel" for dra7xx platform "ti,dra7xx-cpsw-phy-sel" for dra7xx platform
"ti,am43xx-cpsw-phy-sel" for am43xx platform
- reg : physical base address and size of the cpsw - reg : physical base address and size of the cpsw
registers map registers map
- reg-names : names of the register map given in "reg" node - reg-names : names of the register map given in "reg" node
......
...@@ -167,6 +167,10 @@ static const struct of_device_id cpsw_phy_sel_id_table[] = { ...@@ -167,6 +167,10 @@ static const struct of_device_id cpsw_phy_sel_id_table[] = {
.compatible = "ti,dra7xx-cpsw-phy-sel", .compatible = "ti,dra7xx-cpsw-phy-sel",
.data = &cpsw_gmii_sel_dra7xx, .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); MODULE_DEVICE_TABLE(of, cpsw_phy_sel_id_table);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment