Sebastian Siewior wrote:

>>>I have here a MPC8544 DS board with NOR flash on it and Kumar's git
>>>tree. I'm trying to detect this flash with the physmap_of module. I
>>>added a nor_flash block (I used sequoia.dts as an example) into my
>>>device tree on the same level as soc8544 or memory (or between them).
>>>After modprobing physmap_of nothing happend. Then I tried to make a tree
>>>with plb -> opb -> ebc and finally nor_flash but still nothing changed.
>>>
>>>Is there a user space dependency or did I just edit my device tree the
>>>wrong way? Any hints are welcome :)
>>
>>Post your device tree please.  I don't recall MPC8544 even having PLB,
>>OPB, or EBC busses, so they likely aren't getting probed.

[...]
>       [EMAIL PROTECTED] {
>                       compatible = "amd,s29gl512n", "cfi-flash";
>                       reg = <fc000000 4000000>;
>                       bank-width = <2>;
>                       #address-cells = <1>;
>                       #size-cells = <1>;
>                       [EMAIL PROTECTED] {
>                                       label = "fs";
>                                       reg = <0 f80000>;
>                       };
>                       [EMAIL PROTECTED] {
>                                       label ="firmware";
>                                       reg = <f80000 80000>;
>                                       read-only;
>                       };

    This looks good, so the problem is it doesn't get registered by the 
platform code as I've said.

WBR, Sergei
_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Reply via email to