drivers: net: cpsw-phy-sel: add am43xx platform support
authorMugunthan V N <mugunthanvnm@ti.com>
Fri, 9 May 2014 13:37:35 +0000 (19:07 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 May 2014 04:11:00 +0000 (00:11 -0400)
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>
Documentation/devicetree/bindings/net/cpsw-phy-sel.txt
drivers/net/ethernet/ti/cpsw-phy-sel.c

index d9da911b6eeaf439522ab2ed73c0845874d74381..764c0c79b43d391435b847614c8d6c7aa4f06653 100644 (file)
@@ -4,6 +4,7 @@ TI CPSW Phy mode Selection Device Tree Bindings
 Required properties:
 - compatible           : Should be "ti,am3352-cpsw-phy-sel" for am335x platform and
                          "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
                          registers map
 - reg-names            : names of the register map given in "reg" node
index b93838db9a727e4a9d71a91115e6ceef5e2bf54d..aa8bf45e53dc9b0ddab4265b2e527067339a00fc 100644 (file)
@@ -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);