diff options
author | Neil Armstrong <narmstrong@baylibre.com> | 2016-01-05 14:39:17 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-01-07 16:26:36 -0500 |
commit | e611b5b851e60b028807644fb12911bba0eb601c (patch) | |
tree | 4e13127aa70c9c8eb9f07ecf5a5213eb5137343e /drivers/net/ethernet/cadence | |
parent | ce721a70219720f4c574a7e97f912c71a3510369 (diff) | |
download | linux-e611b5b851e60b028807644fb12911bba0eb601c.tar.gz linux-e611b5b851e60b028807644fb12911bba0eb601c.tar.bz2 linux-e611b5b851e60b028807644fb12911bba0eb601c.zip |
net: macb: Add NP4 macb config using USRIO_DISABLED
Declare a new NP4 SoC variant having USRIO_DISABLED as capability bit.
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cadence')
-rw-r--r-- | drivers/net/ethernet/cadence/macb.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/ethernet/cadence/macb.c b/drivers/net/ethernet/cadence/macb.c index 8e2b9b6e50e7..c56347536f6b 100644 --- a/drivers/net/ethernet/cadence/macb.c +++ b/drivers/net/ethernet/cadence/macb.c @@ -2770,6 +2770,11 @@ static const struct macb_config emac_config = { .init = at91ether_init, }; +static const struct macb_config np4_config = { + .caps = MACB_CAPS_USRIO_DISABLED, + .clk_init = macb_clk_init, + .init = macb_init, +}; static const struct macb_config zynqmp_config = { .caps = MACB_CAPS_GIGABIT_MODE_AVAILABLE | MACB_CAPS_JUMBO, @@ -2790,6 +2795,7 @@ static const struct of_device_id macb_dt_ids[] = { { .compatible = "cdns,at32ap7000-macb" }, { .compatible = "cdns,at91sam9260-macb", .data = &at91sam9260_config }, { .compatible = "cdns,macb" }, + { .compatible = "cdns,np4-macb", .data = &np4_config }, { .compatible = "cdns,pc302-gem", .data = &pc302gem_config }, { .compatible = "cdns,gem", .data = &pc302gem_config }, { .compatible = "atmel,sama5d2-gem", .data = &sama5d2_config }, |