From: Scott Wood <scottwood@freescale.com>
To: Rune Torgersen <runet@innovsys.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: Help with device tree binding for SMC serial
Date: Wed, 09 Jan 2008 13:45:49 -0600 [thread overview]
Message-ID: <4785246D.6090206@freescale.com> (raw)
In-Reply-To: <DCEAAC0833DD314AB0B58112AD99B93B03D58A34@ismail.innsys.innovsys.com>
Rune Torgersen wrote:
> Hi
>
> We're trying to get a SMC serial port on a8280 to work.
> I cannot find any ecxamples on the binding, so we've tried to make one.
>
> is this anywhere close to workable?
>
> serial@11a80 {
> device_type = "serial";
> compatible = "fsl,mpc8280-smc-uart",
> "fsl,cpm2-smc-uart";
> reg = <11a80 10 87fc 2>;
The current binding has the actual parameter ram block as the second reg
property, not the two-byte pointer. If your firmware doesn't initialize
the pointer, you'll have to do it in platform code.
> interrupts = <4 8>;
> interrupt-parent = <&PIC>;
> fsl,cpm-brg = <7>;
> fsl,cpm-command = <01000000>;
> };
cpm-command should be <1d000000> for SMC1.
Otherwise, it looks OK.
-Scott
next prev parent reply other threads:[~2008-01-09 19:46 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-09 19:18 Help with device tree binding for SMC serial Rune Torgersen
2008-01-09 19:45 ` Scott Wood [this message]
2008-01-09 22:22 ` Rune Torgersen
2008-01-09 22:29 ` Scott Wood
2008-01-09 22:37 ` Rune Torgersen
2008-01-09 22:40 ` Scott Wood
2008-01-09 23:07 ` Rune Torgersen
2008-01-10 17:53 ` Scott Wood
2008-01-10 19:10 ` Rune Torgersen
2008-01-10 19:19 ` Scott Wood
2008-01-11 0:07 ` Rune Torgersen
2008-01-11 14:13 ` Rune Torgersen
2008-01-11 17:24 ` Scott Wood
2008-01-11 18:11 ` Rune Torgersen
2008-01-11 18:15 ` Scott Wood
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=4785246D.6090206@freescale.com \
--to=scottwood@freescale.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=runet@innovsys.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.