[V2 2/2] powerpc/512x: add LocalPlus Bus FIFO device driver
Rob Herring
robherring2 at gmail.com
Wed Jul 10 23:57:06 EST 2013
On 07/10/2013 08:46 AM, Gerhard Sittig wrote:
> On Wed, Jul 10, 2013 at 14:21 +0400, Alexander Popov wrote:
>>
>> This is SCLPC device driver for the Freescale MPC512x.
>> It is needed for Direct Memory Access to the devices on LocalPlus Bus.
>>
>> Signed-off-by: Alexander Popov <a13xp0p0v88 at gmail.com>
>> ---
>> arch/powerpc/boot/dts/mpc5121.dtsi | 8 +-
>> arch/powerpc/include/asm/mpc5121.h | 32 ++
>> arch/powerpc/platforms/512x/Kconfig | 6 +
>> arch/powerpc/platforms/512x/Makefile | 1 +
>> arch/powerpc/platforms/512x/mpc512x_lpbfifo.c | 485 ++++++++++++++++++++++++++
>> 5 files changed, 531 insertions(+), 1 deletion(-)
>> create mode 100644 arch/powerpc/platforms/512x/mpc512x_lpbfifo.c
>>
>> diff --git a/arch/powerpc/boot/dts/mpc5121.dtsi b/arch/powerpc/boot/dts/mpc5121.dtsi
>> index bd14c00..6e0b0c0 100644
>> --- a/arch/powerpc/boot/dts/mpc5121.dtsi
>> +++ b/arch/powerpc/boot/dts/mpc5121.dtsi
>> @@ -261,7 +261,13 @@
>> /* LocalPlus controller */
>> lpc at 10000 {
>> compatible = "fsl,mpc5121-lpc";
>> - reg = <0x10000 0x200>;
>> + reg = <0x10000 0x100>;
>> + };
>> +
>> + sclpc at 10100 {
>> + compatible = "fsl,mpc512x-lpbfifo";
The binding needs to be documented.
Rob
More information about the Linuxppc-dev
mailing list