From: Juergen Beisert <jbe@pengutronix.de>
To: linuxppc-dev@ozlabs.org
Subject: Re: Comments on device tree for pcm030
Date: Tue, 10 Jun 2008 11:05:14 +0200 [thread overview]
Message-ID: <200806101105.15080.jbe@pengutronix.de> (raw)
In-Reply-To: <200806101020.38788.jbe@pengutronix.de>
Maybe everything in this small piece of my dts is wrong. But I don't know h=
ow
the correct way is. All I want is to define a 32MiB flash at the end if the
address space of my MPC5200B based system.
[...]
lpb@fe000000 {
model =3D "fsl,lpb";
compatible =3D "fsl,lpb";
ranges =3D <0x0 0xfe000000 0x02000000>;
flash@0 {
compatible =3D "cfi-flash";
reg =3D <0x00000000 0x02000000>;
bank-width =3D <4>;
};
};
The dtc gives me the follwing output:
Warning (reg_format): "reg" property in /lpb@fe000000/flash@0 has invalid l=
ength (8 bytes) (#address-cells =3D=3D 2, #size-cells =3D=3D 1)
Warning (ranges_format): "ranges" property in /lpb@fe000000 has invalid len=
gth (12 bytes) (parent #address-cells =3D=3D 1, child #address-cells =3D=3D=
2, #size-cells =3D=3D 1)
Warning (avoid_default_addr_size): Relying on default #address-cells value =
for /lpb@fe000000/flash@0
Warning (avoid_default_addr_size): Relying on default #size-cells value for=
/lpb@fe000000/flash@0
What does it mean?
At runtime I get:
[...]
of-flash fe000000.flash: of_flash device: fe000000-ffffffff
CFI: Found no fe000000.flash device at location zero
of-flash fe000000.flash: do_map_probe() failed
[...]
What's going wrong? Any hint?
Regards,
Juergen
=2D-=20
Dipl.-Ing. Juergen Beisert | http://www.pengutronix.de
=A0Pengutronix - Linux Solutions for Science and Industry
=A0 Handelsregister: Amtsgericht Hildesheim, HRA 2686
=A0 =A0 =A0 Vertretung Sued/Muenchen, Germany
Phone: +49-8766-939 228 | Fax: +49-5121-206917-9
next prev parent reply other threads:[~2008-06-10 9:05 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-08 19:08 Comments on device tree for pcm030 Jon Smirl
2008-06-08 23:28 ` Grant Likely
2008-06-09 7:56 ` Juergen Beisert
2008-06-09 12:37 ` Jon Smirl
2008-06-09 13:05 ` Juergen Beisert
2008-06-09 12:41 ` Jon Smirl
2008-06-09 13:57 ` Grant Likely
2008-06-09 9:13 ` Sascha Hauer
2008-06-09 21:00 ` Robert Schwebel
2008-06-09 16:31 ` Juergen Beisert
2008-06-09 21:30 ` Jon Smirl
2008-06-10 8:20 ` Juergen Beisert
2008-06-10 9:05 ` Juergen Beisert [this message]
2008-06-10 13:26 ` Grant Likely
2008-06-11 4:08 ` Jon Smirl
2008-06-09 21:05 ` Robert Schwebel
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=200806101105.15080.jbe@pengutronix.de \
--to=jbe@pengutronix.de \
--cc=linuxppc-dev@ozlabs.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;
as well as URLs for NNTP newsgroup(s).