[PATCH] Add support for the digsy MTC board.

Andre Schwarz andre.schwarz at matrix-vision.de
Tue Feb 3 03:17:16 EST 2009


Grzegorz Bernacki wrote:
> Grant Likely wrote:
>   
>>> +/dts-v1/;
>>> +
>>> +/ {
>>> +       model = "mtc,digsy";
>>> +       compatible = "mtc,digsy";
>>>       
>> This should be something like:  "intercontrol,digsy-mtc".  Compatible
>> values should be in the form "<vendor>,<model>".
>>
>>     
>
> ok, I will change it
>
>   
>>> +               mpc5200_pic: interrupt-controller at 500 {
>>> +                       // 5200 interrupts are encoded into two levels;
>>> +                       interrupt-controller;
>>> +                       #interrupt-cells = <3>;
>>> +                       device_type = "interrupt-controller";
>>>       
>> Drop device_type here.
>>     
>
> ok, I will drop it
>
>   
>>> +                       compatible = "fsl,mpc5200b-pic","fsl,mpc5200-pic";
>>> +                       reg = <0x500 0x80>;
>>> +               };
>>> +
>>> +               timer at 600 {     // General Purpose Timer
>>> +                       compatible = "fsl,mpc5200b-gpt","fsl,mpc5200-gpt";
>>> +                       cell-index = <0>;
>>>       
>> Drop cell-index on all the timer nodes.  If you compare this file with
>> the current cm5200.dts in mainline then you'll see the properties that
>> you can drop.
>>
>> Otherwise the device tree looks pretty good.
>>
>>     
>>> diff --git a/arch/powerpc/configs/52xx/digsy_mtc_defconfig b/arch/powerpc/configs/52xx/digsy_mtc_defconfig
>>> new file mode 100644
>>> index 0000000..ad70d5b
>>> --- /dev/null
>>> +++ b/arch/powerpc/configs/52xx/digsy_mtc_defconfig
>>>       
>
> I would like to have support for following devices in defconfig for digsy:
> - LXT PHY
> - RTC DS1337
> - EEPROM AT24
> - MTD partitioning based on OF description
>
> If you dont mind I can add them to generic mpc5200 defconfig, otherwise
> I think that separate defconfig is needed.
>
>   
>> Do you *really* need your own defconfig for the digsy_mtc.  I've
>> grudgingly accepted them for other boards under the argument that the
>> defconfig reflects a specific application of the board.  However, I'd
>> much rather see the digsy added to the multiplatform
>> mpc5200_defconfig, especially considering that the MTC looks like it's
>> supposed to be a general purpose platform.
>>     
>
>   
>> There is a lot of direct copy/paste from the lite5200.c board file,
>> but the big scary warning comment about not duplicating this code was
>> deleted in the copy (so I know you saw it).  Is Semihalf responsible
>> for the U-Boot port to the digsy-mtc?  If so then please fix the
>> port_config and clock settings in u-boot.
>>
>>     
>
> I will update port config and clock settings in u-boot and use mpc5200_simple
> instead of creating a new file for digsy.
>
> BTW,
> I noticed that there are some problems with mounting file system
> over NFS on Linux-2.6.29-rc3, I see following messages:
> ...
> [  339.813807] nfs: server 192.168.1.1 not responding, still trying
> [  339.832144] nfs: server 192.168.1.1 OK
> ...
>
> I haven't noticed in on Linux-2.6.29-rc2. Is there any known problem?
>
>   
We also had this kind of problem - after feeding some nfs options it 
worked :

rsize=8192,wsize=8192,soft,intr,tcp,nolock


Cheers,
Andre
> regards,
> Grzesiek
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev
>   


MATRIX VISION GmbH, Talstraße 16, DE-71570 Oppenweiler
Registergericht: Amtsgericht Stuttgart, HRB 271090
Geschäftsführer: Gerhard Thullner, Werner Armingeon, Uwe Furtner, Hans-Joachim Reich



More information about the Linuxppc-dev mailing list