From: Scott Wood <scottwood@freescale.com>
To: Haijun Zhang <Haijun.Zhang@freescale.com>
Cc: AFLEMING@freescale.com, linuxppc-dev@lists.ozlabs.org,
Haijun Zhang <Haijun.Zhang@freescale.com>,
Jerry Huang <Chang-Ming.Huang@freescale.com>
Subject: Re: [PATCH V2 2/2] powerpc/85xx: add the P1020RDB-PD DTS support
Date: Mon, 8 Jul 2013 12:10:29 -0500 [thread overview]
Message-ID: <1373303429.8183.162@snotra> (raw)
In-Reply-To: <1372982700-14416-1-git-send-email-Haijun.Zhang@freescale.com> (from Haijun.Zhang@freescale.com on Thu Jul 4 19:05:00 2013)
On 07/04/2013 07:05:00 PM, Haijun Zhang wrote:
> diff --git a/arch/powerpc/boot/dts/p1020rdb-pc.dtsi =20
> b/arch/powerpc/boot/dts/p1020rdb-pc.dtsi
> index c952cd3..9d24501 100644
> --- a/arch/powerpc/boot/dts/p1020rdb-pc.dtsi
> +++ b/arch/powerpc/boot/dts/p1020rdb-pc.dtsi
> @@ -131,9 +131,7 @@
> };
>=20
> cpld@3,0 {
> - #address-cells =3D <1>;
> - #size-cells =3D <1>;
> - compatible =3D "cpld";
> + compatible =3D "fsl, p1020rdb-cpld";
No space after "fsl,".
> + partition@fs {
> + /* 4MB for Compressed RFS Image */
> + reg =3D <0x00500000 0x00400000>;
> + label =3D "file system";
> + };
> +
> + partition@jffs-fs {
> + /* 7MB for JFFS2 based RFS */
> + reg =3D <0x00900000 0x00700000>;
> + label =3D "file system jffs2";
> + };
> + };
> + slic@0 {
> + compatible =3D "zarlink,le88266";
> + reg =3D <1>;
> + spi-max-frequency =3D <8000000>;
> + };
> + slic@1 {
> + compatible =3D "zarlink,le88266";
> + reg =3D <2>;
> + spi-max-frequency =3D <8000000>;
> + };
> +
> + };
Remove that last blank line, and insert a blank line before each =20
"slic@..." (like you do between the partition nodes).
> + /* USB2 is shared with localbus, so it must be disabled
> + by default. We can't put 'status =3D "disabled";' here
> + since U-Boot doesn't clear the status property when
> + it enables USB2. OTOH, U-Boot does create a new node
> + when there isn't any. So, just comment it out.
> + */
/*
* Linux multi-line
* comment style
* is like this.
*/
> + usb@23000 {
> + status =3D "disabled";
> + phy_type =3D "ulpi";
> + };
Didn't you just say above that you can't use status =3D "disabled"?
And can U-Boot be fixed to set status =3D "disabled" on whichever I/O is =20
not usable?
> +/include/ "fsl/p1020si-pre.dtsi"
> +/ {
> + model =3D "fsl,P1020RDB-PD";
> + compatible =3D "fsl,P1020RDB-PD";
> +
> + memory {
> + device_type =3D "memory";
> + };
> +
> + lbc: localbus@ffe05000 {
> + reg =3D <0x0 0xffe05000 0x0 0x1000>;
> +
> + /* NOR, NAND flash and L2 switch */
> + ranges =3D <0x0 0x0 0x0 0xec000000 0x04000000
> + 0x1 0x0 0x0 0xff800000 0x00040000
> + 0x2 0x0 0x0 0xffa00000 0x00020000
> + 0x3 0x0 0x0 0xffb00000 0x00020000>;
If you're going to have a comment here about what is mapped by the =20
ranges, why exclude the CPLD?
-Scott=
next prev parent reply other threads:[~2013-07-08 17:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-05 0:05 [PATCH V2 2/2] powerpc/85xx: add the P1020RDB-PD DTS support Haijun Zhang
2013-07-08 17:10 ` Scott Wood [this message]
2013-07-09 6:37 ` 答复: " Zhang Haijun-B42677
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=1373303429.8183.162@snotra \
--to=scottwood@freescale.com \
--cc=AFLEMING@freescale.com \
--cc=Chang-Ming.Huang@freescale.com \
--cc=Haijun.Zhang@freescale.com \
--cc=linuxppc-dev@lists.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 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.