All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joe Shmo <spamreceptor@yahoo.com>
To: Scott Wood <scottwood@freescale.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: Help with DTS file on MPC8313e-rdb board
Date: Wed, 3 Dec 2008 12:11:43 -0800 (PST)	[thread overview]
Message-ID: <359722.47085.qm@web30104.mail.mud.yahoo.com> (raw)
In-Reply-To: <4936C547.6060409@freescale.com>

Thanks for that info Scott.  However I am still stuck.

Please take a look at how I adjusted the DTS:
		mdio@24520 {
			device_type = "mdio";
			compatible = "gianfar";
			reg = <24520 20>;
			#address-cells = <1>;
			#size-cells = <0>;
			phy3: ethernet-phy@3 {
				reg = <3>;
				device_type = "ethernet-phy";
			};
			phy1: ethernet-phy@1 {
				reg = <1>;
				device_type = "ethernet-phy";
			};
		};

		ethernet@24000 {
			device_type = "network";
			model = "eTSEC";
			compatible = "gianfar";
			reg = <24000 1000>;
			local-mac-address = [ 00 00 00 00 00 00 ];
			phy-handle = < &phy1 >;
		};

		ethernet@25000 {
			device_type = "network";
			model = "eTSEC";
			compatible = "gianfar";
			reg = <25000 1000>;
			local-mac-address = [ 00 00 00 00 00 00 ];
			phy-handle = < &phy3 >;
		};


Also note that our new PHY does not support gbit. 
I've made sure that the HCW is set for MII and not
GMII which allowed us to load the kernel via uboot and
TFTP.  Even though the phy is still blinking away, we
see no data come out of the board after TFTP is done. 
  Here's the screen dump.  Note that it looks like the
kernel is happy.  Also note that we tested our
192.168.1.21 NFS server and it can connect fine and
has no firewall. 


Thanks again

--- Scott Wood <scottwood@freescale.com> wrote:

> Joe Shmo wrote:
> > What I don't know is what reg = <4> means.  Is
> that
> > the phy address or the interrupt? 
> 
> It's the PHY address.
> 
> > My phy is the National semi dp83848.  It does not
> use
> > an IRQ.  Should I replace this with zero?  Should
> I
> > take that line out of the DTS file?
> 
> You should remove the interrupts and
> interrupt-parent properties.
> 
> -Scott
> 



      

  reply	other threads:[~2008-12-03 20:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-03 17:27 Help with DTS file on MPC8313e-rdb board Joe Shmo
2008-12-03 17:43 ` Scott Wood
2008-12-03 20:11   ` Joe Shmo [this message]
2008-12-03 20:17   ` Joe Shmo

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=359722.47085.qm@web30104.mail.mud.yahoo.com \
    --to=spamreceptor@yahoo.com \
    --cc=linuxppc-embedded@ozlabs.org \
    --cc=scottwood@freescale.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.