All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Zeffertt <ajz@cambridgebroadband.com>
To: batsayan.das@tcs.com
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: How to enable PHY
Date: Fri, 6 Jan 2006 13:47:35 +0000	[thread overview]
Message-ID: <20060106134735.14fabd86.ajz@cambridgebroadband.com> (raw)
In-Reply-To: <OF114C07C5.7CED9F64-ON652570EE.00481B82-652570EE.00489CCF@tcs.com>

On Fri, 6 Jan 2006 18:43:08 +0530
batsayan.das@tcs.com wrote:

> 
> Hi,
> 
> I found that ADS8260 board enables PHY by the following lines of
> code
> 
> #ifndef CONFIG_ADS8260
>         /* Enable the PHY.
>         */
>         *(volatile uint *)(BCSR_ADDR + 4) &= ~BCSR1_FETHIEN;
>         *(volatile uint *)(BCSR_ADDR + 4) |=  BCSR1_FETH_RST;
> #endif
> 
> 
> Our board does not have BCSR. My question is how to enable PHY for
> MPC8260 based customs board without BCSR? 

You have to take your PHY out of reset.  How to do this depends on
your board.  On the ADS8260 the PHY reset line goes to the BCSR and
you must write the above to BCSR register 1 to tell it to change the
pin level.

On your board you may need to use GPIO, or you may need to do nothing
at all. Read your schematics!

Regards,

Alex

      parent reply	other threads:[~2006-01-06 14:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-06 13:13 How to enable PHY batsayan.das
2006-01-06 13:41 ` Mark Chambers
2006-01-06 13:47 ` Alex Zeffertt [this message]

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=20060106134735.14fabd86.ajz@cambridgebroadband.com \
    --to=ajz@cambridgebroadband.com \
    --cc=batsayan.das@tcs.com \
    --cc=linuxppc-embedded@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.