From: Sylvain Munaut <tnt@246tNt.com>
To: Steven Kaiser <skaiser.uci@gmail.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: Howto set DIO on MPC-5200 Lite
Date: Fri, 23 Mar 2007 13:02:48 +0100 [thread overview]
Message-ID: <4603C1E8.5030600@246tNt.com> (raw)
In-Reply-To: <000401c76cd4$40805fd0$6e4ec880@volt>
Steven Kaiser wrote:
> EFIKA seems to have some sort of battery backed RTC to keep date and time,
> but without a schematic I can't be sure what it is. Would be nice if the
> LITE500B had something like this. What 5200B chip pins does EFIKA use for
> this? Maybe should reserve these pins for a future RTC in the EFIKA
> tradition.
>
The EFIKA has a small PIC that serves for power up / down and to keep time.
I think it's on a I2C bus but I don't know if they implemented it with
the embedded I2C controller or by bitbanging some GPIO.
(never saw the schema so that's and educated guess ...)
> So my general question is this: What pins on the 5200B are free for external
> use by the user (i.e. what pins are reserved by the linux 2.4 and 2.6 stock
> kernels for internal use)?
>
I can only speak for 2.6 and AFAIK it's none ...
Anyway you will need to write your own board file and your own device
tree and have your boot loader set port_config appropriatly. From there
you can free any pin you want (provided that pin is not used by a
function you want of course ...)
The lines used for PCI IRQ are specified for the Lite5200 and Lite5200B
in their device tree (or in the board file if you still use arch/ppc).
So when you write those files for your board, just make sure it match
your board.
Sylvain
next prev parent reply other threads:[~2007-03-23 12:03 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-19 13:18 Howto set DIO on MPC-5200 Lite Josu Onandia
2007-03-19 18:16 ` Matthias Fechner
2007-03-22 20:04 ` Matthias Fechner
2007-03-22 22:48 ` Steven Kaiser
2007-03-23 12:02 ` Sylvain Munaut [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-03-19 7:31 Matthias Fechner
2007-03-19 8:16 ` Sylvain Munaut
2007-03-19 8:45 ` Pedro Luis D. L.
2007-03-19 9:48 ` Matthias Fechner
2007-03-19 10:12 ` Pedro Luis D. L.
2007-03-19 10:14 ` Sylvain Munaut
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=4603C1E8.5030600@246tNt.com \
--to=tnt@246tnt.com \
--cc=linuxppc-embedded@ozlabs.org \
--cc=skaiser.uci@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.