net: dsa: qca8k: Add support for QCA8334 switch
authorMichal Vokáč <vokac.m@gmail.com>
Wed, 23 May 2018 06:20:19 +0000 (08:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Aug 2018 05:50:31 +0000 (07:50 +0200)
[ Upstream commit 64cf81675a1f64c1b311e4611dd3b6a961607612 ]

Add support for the four-port variant of the Qualcomm QCA833x switch.

Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/dsa/qca8k.c

index 5ada7a4..2a2bbf5 100644 (file)
@@ -934,6 +934,7 @@ static SIMPLE_DEV_PM_OPS(qca8k_pm_ops,
                         qca8k_suspend, qca8k_resume);
 
 static const struct of_device_id qca8k_of_match[] = {
+       { .compatible = "qca,qca8334" },
        { .compatible = "qca,qca8337" },
        { /* sentinel */ },
 };