Difference between revisions of "Device Tree"

From LinuxMIPS
Jump to: navigation, search
m (MIPS Platforms with Device Tree support)
 
Line 22: Line 22:
 
* SNI [[RM 200]], RM 300, RM 400
 
* SNI [[RM 200]], RM 300, RM 400
  
to DT is in progress and there is a [[git]] tree ([http://git.linux-mips.org/?p=linux-dt.git;a=summary linux-dt.git gitweb]) for this project.
+
to DT is in progress and there is a [[git]] tree ([http://git.linux-mips.org/?p=linux-dt.git;a=summary linux-dt.git gitweb]) for this project.
  
 
== Firmware with Device Tree support ==
 
== Firmware with Device Tree support ==
 
[[U-Boot]] pretty generic support for manipulating and passing a dtb at boot.
 
[[U-Boot]] pretty generic support for manipulating and passing a dtb at boot.
 
[[Open Firmware]] doesn't currently support MIPS but is the grand daddy in the DT league and has been used for a long time on Sun SPARC systems, Apple and IBM PowerPC systems so a MIPS port may be a consideration.
 
[[Open Firmware]] doesn't currently support MIPS but is the grand daddy in the DT league and has been used for a long time on Sun SPARC systems, Apple and IBM PowerPC systems so a MIPS port may be a consideration.

Latest revision as of 15:07, 6 June 2011

This page documents how to get started with Open Firmware's Device Tree on MIPS. It does not cover other device trees such as that of the ARC Firmware or klconfig.

Documentation

Required Tools

The Device Tree Compiler used to generate Open Firmware style device trees images is contained in the Fedora and openSUSE dtc rpm. You only need this package to develop device trees separate from the kernel.

The kernel source ships with its own version of dtc which is used to convert the in-tree DT files into linkable .o files so above package isn't even needed.

MIPS Platforms with Device Tree support

PowerTV is the initial MIPS platform with Device Tree support since a while. Work to convert further platforms:

to DT is in progress and there is a git tree (linux-dt.git gitweb) for this project.

Firmware with Device Tree support

U-Boot pretty generic support for manipulating and passing a dtb at boot. Open Firmware doesn't currently support MIPS but is the grand daddy in the DT league and has been used for a long time on Sun SPARC systems, Apple and IBM PowerPC systems so a MIPS port may be a consideration.