Alan Bennett wrote:
> I want to make the mpc8272ads.dts tree work for my board.
> 
> I have an mpc8248
>   128MB Flash@ f800_0000  (Spansion S29GL512N)
>   128MB Flash@ D000_0000  (Spansion S29GL512N)
>   [EMAIL PROTECTED]
>   2nd [EMAIL PROTECTED]
>   [EMAIL PROTECTED]
>   128MB [EMAIL PROTECTED]

What chip selects are all of these things on, and what are the 
base/length of each chip select?

> 
> Is it ok to have 0 in these:
>       cpus {
>               PowerPC,[EMAIL PROTECTED] {
>          . . .
>                       timebase-frequency = <0>;
>                       bus-frequency = <0>;
>                       clock-frequency = <0>;
>         . . .

Yes, the bootwrapper will fill in the proper values.

> How do I modify the following lines to match my hardware?
> 
>       [EMAIL PROTECTED] {
>       . . .
>               ranges = <0 0 fe000000 02000000
>                         1 0 f4500000 00008000
>                         3 0 f8200000 00008000>;

Put your chip select mappings here.

>               [EMAIL PROTECTED],0 {
>                       compatible = "jedec-flash";
>                       reg = <0 0 2000000>;
>                       bank-width = <4>;
>                       device-width = <1>;
>               };
> 
>               [EMAIL PROTECTED],0 {
>                       reg = <1 0 20>;
>                       compatible = "fsl,mpc8272ads-bcsr";
>               };

Put your chip select devices here.

-Scott
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Reply via email to