浏览代码

powerpc/mpc85xx: Add FMan platform support

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

Signed-off-by: Igal Liberman <Igal.Liberman@freescale.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
Igal Liberman 10 年之前
父节点
当前提交
7dea9ec5a0
共有 2 个文件被更改,包括 4 次插入0 次删除
  1. 1 0
      arch/powerpc/platforms/85xx/common.c
  2. 3 0
      arch/powerpc/platforms/85xx/corenet_generic.c

+ 1 - 0
arch/powerpc/platforms/85xx/common.c

@@ -40,6 +40,7 @@ static const struct of_device_id mpc85xx_common_ids[] __initconst = {
 	{ .compatible = "fsl,qoriq-pcie-v2.4", },
 	{ .compatible = "fsl,qoriq-pcie-v2.3", },
 	{ .compatible = "fsl,qoriq-pcie-v2.2", },
+	{ .compatible = "fsl,fman", },
 	{},
 };
 

+ 3 - 0
arch/powerpc/platforms/85xx/corenet_generic.c

@@ -108,6 +108,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",