From: Scott Wood <scottwood@freescale.com>
To: <smitha.vanga@wipro.com>
Cc: linuxppc-dev@lists.ozlabs.org
Subject: Re: Mac address in the DTS file
Date: Mon, 2 Jan 2012 11:53:02 -0600 [thread overview]
Message-ID: <4F01EEFE.9040305@freescale.com> (raw)
In-Reply-To: <40631E9A2581F14BA60888C87A76A1FE01C6BB@HYD-MKD-MBX4.wipro.com>
On 12/30/2011 06:51 AM, smitha.vanga@wipro.com wrote:
>
> Hi Scott,
>
> In my DTS file for mpc8247 I have defined the ether MAC in the node as below.
>
> ethernet@24000 {
> #address-cells = <1>;
> #size-cells = <0>;
> device_type = "network";
> device-id = <1>;
> compatible = "fs_enet";
> model = "FCC";
> reg = <11300 20 8400 100 11380 30>;
> mac-address = [ 00 e0 ee 00 05 2e ];
> interrupts = <20 2>;
> interrupt-parent = <10c00>;
> phy-handle = <2452000>;
> rx-clock = <13>;
> tx-clock = <12>;
> };
Others have answered your question (the mac address should not be in the
.dts file -- it should be patched in by boot software), but I'd like to
point out that this is a deprecated device tree binding that was very
short-lived in a very old kernel, from an early attempt at 82xx support
in arch/powerpc. Why are you still using it? It will not work with
current kernels (which suggests you're also using a very old kernel).
-Scott
next prev parent reply other threads:[~2012-01-02 17:53 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-05 5:31 FW: Ethernet driver WR linux smitha.vanga
2011-08-05 18:12 ` Scott Wood
2011-08-08 5:53 ` smitha.vanga
2011-08-08 20:54 ` Scott Wood
2011-08-09 5:46 ` smitha.vanga
2011-08-09 17:56 ` Scott Wood
2011-08-25 7:57 ` Kernel boot up smitha.vanga
2011-08-25 11:11 ` Gary Thomas
2011-08-25 19:31 ` Scott Wood
2011-08-26 6:00 ` smitha.vanga
2011-08-26 20:08 ` Scott Wood
2011-09-22 15:25 ` I2c driver crash smitha.vanga
2011-09-23 1:28 ` Benjamin Herrenschmidt
2011-09-23 6:05 ` MohanReddy koppula
2011-10-03 12:31 ` Request_irq fails for IRQ2 smitha.vanga
2011-12-30 12:51 ` Mac address in the DTS file smitha.vanga
2011-12-30 14:00 ` Lorenz Kolb
2011-12-30 18:28 ` Wolfgang Denk
2012-01-09 13:54 ` Mac address in the DT smitha.vanga
2012-01-09 14:20 ` Joakim Tjernlund
2012-01-09 14:28 ` smitha.vanga
2012-01-09 14:59 ` Joakim Tjernlund
2012-01-09 22:40 ` Wolfgang Denk
2012-01-10 9:37 ` smitha.vanga
2012-01-10 9:47 ` Joakim Tjernlund
2012-01-10 21:55 ` Wolfgang Denk
2012-01-11 6:03 ` smitha.vanga
2012-02-06 14:25 ` Erase flash boot from default env smitha.vanga
2012-01-02 17:53 ` Scott Wood [this message]
2012-01-24 7:35 ` NTP server sync issue smitha.vanga
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=4F01EEFE.9040305@freescale.com \
--to=scottwood@freescale.com \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=smitha.vanga@wipro.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).