linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Segher Boessenkool <segher@kernel.crashing.org>
To: Thomas Besemer <thomas.besemer@gmail.com>
Cc: linuxppc-dev@lists.ozlabs.org
Subject: Re: 440EP NOR Flash Mapping with DTS
Date: Sun, 16 Jul 2017 19:58:46 -0500	[thread overview]
Message-ID: <20170717005846.GD13471@gate.crashing.org> (raw)
In-Reply-To: <CAO7m3AkpuUdApRiiDw+Sv6fqyhVsfBOUA8cw1xChJLxT1r6_wA@mail.gmail.com>

On Sun, Jul 16, 2017 at 05:31:05PM -0700, Thomas Besemer wrote:
> I'm trying to map some NOR flash in via DTS on a Yosemite
> style 440EP board. I've tried a few different things, below
> showing my latest attempt.  During Kernel boot, it does not
> appear to detect the device, as no messages are emitted.
> 
> Flash is Spansion S29GL256P, base address 0xFE000000.
> 
> EBC0: ebc {
>        compatible = "ibm,ebc-440ep", "ibm,ebc-440gp", "ibm,ebc";
>        dcr-reg = <0x012 0x002>;
>        #address-cells = <2>;
>        #size-cells = <1>;
>        clock-frequency = <0>; /* Filled in by zImage */
>        interrupts = <0x5 0x1>;
>        interrupt-parent = <&UIC1>;
> 
>        nor_flash@FE0000000,0 {

@0,fe000000

>                reg = <0xFE000000 0x02000000>;

reg = <0 0xfe000000 0x02000000>;


Cheers,


Segher

  reply	other threads:[~2017-07-17  0:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-17  0:31 440EP NOR Flash Mapping with DTS Thomas Besemer
2017-07-17  0:58 ` Segher Boessenkool [this message]
2017-07-19 22:09   ` Thomas Besemer

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=20170717005846.GD13471@gate.crashing.org \
    --to=segher@kernel.crashing.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=thomas.besemer@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).