firmware: turris-mox-rwtm: add marvell,armada-3700-rwtm-firmware compatible string
authorPali Rohár <pali@kernel.org>
Thu, 20 May 2021 11:38:43 +0000 (13:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Jul 2021 12:36:17 +0000 (14:36 +0200)
[ Upstream commit 90ae47215de3fec862aeb1a0f0e28bb505ab1351 ]

Add more generic compatible string 'marvell,armada-3700-rwtm-firmware' for
this driver, since it can also be used on other Armada 3720 devices.

Current compatible string 'cznic,turris-mox-rwtm' is kept for backward
compatibility.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/firmware/turris-mox-rwtm.c

index 03f1eac9ad69b32f3692247ae149666ebf96967a..0bef988580ada1518aa077cc7e429ed03d2af0d3 100644 (file)
@@ -569,6 +569,7 @@ static int turris_mox_rwtm_remove(struct platform_device *pdev)
 
 static const struct of_device_id turris_mox_rwtm_match[] = {
        { .compatible = "cznic,turris-mox-rwtm", },
+       { .compatible = "marvell,armada-3700-rwtm-firmware", },
        { },
 };