[PATCH] Add support for the digsy MTC board.
Grzegorz Bernacki
gjb at semihalf.com
Mon Feb 2 23:50:59 EST 2009
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?
regards,
Grzesiek
More information about the Linuxppc-dev
mailing list