From: safiudeen <safiudeen@vsolve.org>
To: linux-mips@linux-mips.org
Subject: Au1100 static bus interface..
Date: Tue, 16 Aug 2005 13:08:55 +0600 [thread overview]
Message-ID: <43019107.20902@vsolve.org> (raw)
Hello,
I am trying to interface TLC16C550C(externel UART chip) for DB1100
(using it's daughter card connector for IO interfcae).
After we configure the static bus controller for requred chip select, we
use au_readl,au_writel port I/O functions.When the TLC16C550 is present,
it the test read/write look like working, but even when TLC16C550C is
not connected, read/write operations look like working.I think we have
to configure the I/O base address properly.
Following are the configureation of static buss controller uased for
this test.
CPU Chip enable-2 ( Daugter card chip select is generated using au1100
ce2(LOW),addr-28(HIGH),addr27(HIGH), and addr26(LOW) )
Therefore we selected the following base address
physical base address 0xD 1800 0000 ( D - for DTY encoding for I/O
device)
Chip select controll registers setting as follows
first 3 bit of mem_setcfg2 ( 0xB4001020 ) was set to 001 (DTY encoding)
mem_staddr2 (0xB4001028) was set to 0x11803FFF
vitual base address was obtained using ioremap function as follows
base_addrs=(u32)ioremap(0xD18000000,0x1000); to get 32 bit address
when do read/write opreation on base_addr, it generate requred chip
select (Daughter card CS) .But even the TLC16C550C is not connected ,
read/write operation works as the TLC16C550 is connected. what I guis is
address wrongly maped or some wrong in chip slect configarations.
If anyone has done interfacing externel peripheral to au1100 static bus
controller please help me in this regards
Thanx
Safiudeen. TS
next reply other threads:[~2005-08-16 6:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-16 7:08 safiudeen [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-08-16 7:06 Au1100 static bus interface safiudeen Ts
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43019107.20902@vsolve.org \
--to=safiudeen@vsolve.org \
--cc=linux-mips@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox