[PATCH] powerpc/mpc85xx: Add FMan platform support

Igal.Liberman igal.liberman at freescale.com
Wed Feb 18 23:03:56 AEDT 2015


From: Igal Liberman <Igal.Liberman at freescale.com>

Get the FMan devices/sub-nodes (MAC, MDIO, etc.) auto-probed

Signed-off-by: Igal Liberman <Igal.Liberman at freescale.com>
Reviewed-on: http://git.am.freescale.net:8181/30408
Tested-by: Review Code-CDREVIEW <CDREVIEW at freescale.com>
Reviewed-by: Emilian Medve <Emilian.Medve at freescale.com>
---
 arch/powerpc/platforms/85xx/common.c          |    1 +
 arch/powerpc/platforms/85xx/corenet_generic.c |    3 +++
 2 files changed, 4 insertions(+)

diff --git a/arch/powerpc/platforms/85xx/common.c b/arch/powerpc/platforms/85xx/common.c
index a1cd3cc..958b3c6 100644
--- a/arch/powerpc/platforms/85xx/common.c
+++ b/arch/powerpc/platforms/85xx/common.c
@@ -42,6 +42,7 @@ static const struct of_device_id mpc85xx_common_ids[] __initconst = {
 	{ .compatible = "fsl,qoriq-pcie-v2.2", },
 	/* For the FMan driver */
 	{ .compatible = "fsl,dpaa", },
+	{ .compatible = "fsl,fman", },
 	{},
 };
 
diff --git a/arch/powerpc/platforms/85xx/corenet_generic.c b/arch/powerpc/platforms/85xx/corenet_generic.c
index 9992e29..26b246d 100644
--- a/arch/powerpc/platforms/85xx/corenet_generic.c
+++ b/arch/powerpc/platforms/85xx/corenet_generic.c
@@ -124,6 +124,9 @@ static const struct of_device_id of_device_ids[] = {
 	{
 		.compatible	= "fsl,qe",
 	},
+	{
+		.compatible    = "fsl,fman",
+	},
 	/* The following two are for the Freescale hypervisor */
 	{
 		.name		= "hypervisor",
-- 
1.7.9.5



More information about the Linuxppc-dev mailing list