Re: [PATCH 3/3] powerpc/mpc512x: add platform code for MPC5125.

2013-04-02 Thread Anatolij Gustschin
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

Re: [PATCH 3/3] powerpc/mpc512x: add platform code for MPC5125.

2013-04-02 Thread Matteo Facchinetti
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

Re: [PATCH 3/3] powerpc/mpc512x: add platform code for MPC5125.

2013-03-30 Thread Anatolij Gustschin
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

[PATCH 3/3] powerpc/mpc512x: add platform code for MPC5125.

2013-03-20 Thread Matteo Facchinetti
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/