From mboxrd@z Thu Jan 1 00:00:00 1970 From: Renaud Barbier Subject: How to use the device tree Date: Tue, 20 Jan 2009 17:37:04 +0000 Message-ID: <49760BC0.3080701@ge.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-mnsaURCQ41sdnm+yROfE0A@public.gmane.org Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-mnsaURCQ41sdnm+yROfE0A@public.gmane.org To: devicetree-discuss-mnsaURCQ41sdnm+yROfE0A@public.gmane.org List-Id: devicetree@vger.kernel.org I was wondering how I could use the device tree to locate a board MAC address in U-boot. The MAC address could be located in flash or I2C depending on the board. Depending of information like storage type, base address, offset I would like to find the MAC address. Could somebody give me ideas? Should I define a node entry specifically to find the MAC address? Or should i define variables in the "chosen" that would help me find the mac? thanks.