Commit d24720a4 authored by Anatolij Gustschin's avatar Anatolij Gustschin Committed by Grant Likely

powerpc/mpc5121: correct DIU compatible property

The DIU driver should bind against "fsl,mpc5121-diu"
directly. Add this compatible property to the match
table and fix DTS and platform code accordingly.
Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 85cd7467
...@@ -255,7 +255,7 @@ axe@2000 { ...@@ -255,7 +255,7 @@ axe@2000 {
}; };
display@2100 { display@2100 {
compatible = "fsl,mpc5121-diu", "fsl,diu"; compatible = "fsl,mpc5121-diu";
reg = <0x2100 0x100>; reg = <0x2100 0x100>;
interrupts = <64 0x8>; interrupts = <64 0x8>;
interrupt-parent = < &ipic >; interrupt-parent = < &ipic >;
......
...@@ -1633,6 +1633,11 @@ static int __init fsl_diu_setup(char *options) ...@@ -1633,6 +1633,11 @@ static int __init fsl_diu_setup(char *options)
#endif #endif
static struct of_device_id fsl_diu_match[] = { static struct of_device_id fsl_diu_match[] = {
#ifdef CONFIG_PPC_MPC512x
{
.compatible = "fsl,mpc5121-diu",
},
#endif
{ {
.compatible = "fsl,diu", .compatible = "fsl,diu",
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment