MPC5200B - Mapping Micrel Ethernet Controller Chip
Sri nava kala devi Valteti, TLS-Chennai
srinavakalav at hcl.in
Tue Nov 13 03:41:49 EST 2007
Hi,
We are using MPC5200B based custom board. In that we have an external
Micrel's ethernet controller mapped at 0xE0000000.
We have taken Lite5200 code as a reference to port linux to our new
board. We have integrated the ethernet driver given by the vendor
(Micrel).
Unfortunately, we are not able to access the chip mapped at 0xE0000000.
We performed the following steps to access the chip:
i) We mapped this address range of the Ethernet Controller Chip in
function "mpc52xx_map_io" as
"io_block_mapping(0xE0000000, 0xE0000000, 0x10000000, _PAGE_IO)"
ii) We tried to remap the address range using ioremap function, but we
got the same address (Virtual Address similar to IO logical Address)
even after the ioremap.
Can any one plz help us on how to map and access our chip?
Thanks,
Kala.
DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.
-----------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20071112/b92034c9/attachment-0001.htm
More information about the Linuxppc-embedded
mailing list