dma: mpc512x: separate 'compatible' values for MPC512x and MPC8308

MPC512x and MPC8308 have similar DMA controllers, but are independent SoCs.
DMA controller driver should have separate 'compatible' values for these SoCs.

Signed-off-by: Alexander Popov <a13xp0p0v88@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
This commit is contained in:
Alexander Popov 2014-04-23 17:53:24 +04:00 committed by Vinod Koul
parent 78a4f0367a
commit 62057d3375
3 changed files with 3 additions and 2 deletions

View file

@ -296,7 +296,7 @@
}; };
dma@2c000 { dma@2c000 {
compatible = "fsl,mpc8308-dma", "fsl,mpc5121-dma"; compatible = "fsl,mpc8308-dma";
reg = <0x2c000 0x1800>; reg = <0x2c000 0x1800>;
interrupts = <3 0x8 interrupts = <3 0x8
94 0x8>; 94 0x8>;

View file

@ -265,7 +265,7 @@
}; };
dma@2c000 { dma@2c000 {
compatible = "fsl,mpc8308-dma", "fsl,mpc5121-dma"; compatible = "fsl,mpc8308-dma";
reg = <0x2c000 0x1800>; reg = <0x2c000 0x1800>;
interrupts = <3 0x8 interrupts = <3 0x8
94 0x8>; 94 0x8>;

View file

@ -815,6 +815,7 @@ static int mpc_dma_remove(struct platform_device *op)
static struct of_device_id mpc_dma_match[] = { static struct of_device_id mpc_dma_match[] = {
{ .compatible = "fsl,mpc5121-dma", }, { .compatible = "fsl,mpc5121-dma", },
{ .compatible = "fsl,mpc8308-dma", },
{}, {},
}; };