On Tue, 02 Apr 2013 11:49:22 +0200
Matteo Facchinetti wrote:
...
> > if (of_machine_is_compatible("fsl,mpc5121"))
> > return "fsl,mpc5121-psc";
> >
> > if (of_machine_is_compatible("fsl,mpc5125"))
> > return "fsl,mpc5125-psc";
> >
> > but note th
On 03/30/2013 11:32 PM, Anatolij Gustschin wrote:
+{
+ char *psc_compats[] = {
+ "fsl,mpc5121-psc",
+ "fsl,mpc5125-psc"
+ };
+ int i;
+
+ for (i = 0; i < ARRAY_SIZE(psc_compats); i++)
+ if (of_find_compatible_node(NULL, NULL, psc_c
On Wed, 20 Mar 2013 18:41:54 +0100
Matteo Facchinetti wrote:
...
> diff --git a/arch/powerpc/boot/dts/mpc5125twr.dts
> b/arch/powerpc/boot/dts/mpc5125twr.dts
> new file mode 100644
> index 000..afcad7a
> --- /dev/null
> +++ b/arch/powerpc/boot/dts/mpc5125twr.dts
...
> +
> + diu@21
Tested on MPC5125 Tower evaluation board with
mpc512x_defconfig compile configuration.
In detail, supports for:
- PSC / UART
- RTC
- ETH
- DIU
- I2C
Signed-off-by: Matteo Facchinetti
---
arch/powerpc/boot/dts/mpc5125twr.dts | 238 +
arch/powerpc/platforms/512x/