[Top] [All Lists]

Converting MIPS to Device Tree

Subject: Converting MIPS to Device Tree
From: Ralf Baechle <>
Date: Mon, 6 Jun 2011 02:07:53 +0100
Cc: Grant Likely <>, Imre Kaloz <>, Gabor Juhos <>, John Crispin <>, Dezhong Diao <>, Thomas Gleixner <>
User-agent: Mutt/1.5.21 (2010-09-15)
Over the past few days I've started to convert arch/mips to use DT.  So
far none of the platforms (except maybe PowerTV?) seems to have a
firmware that is passing a DT nor is there any 2nd stage bootloader that
could do so.

So as the 2nd best thing I've been working on .dts files to be compiled
into the images.

I've put a git tree of my current working tree online.  It's absolutely
work in progress so expect to encounter bugs.;a=summary (Gitweb)
  git:// (brief documentation & links)

An incomplete to do list:

  o Sort out interface for firmware to pass a DT to the kernel.  Because we
    have so many different firmware implementations this one might get a
    slight bit interesting.
  o Interface to select one of several builtin DT images.  I am thinking of
    extending the existing MIPS_MACHINE() / machtype mechanism to play
    nicely with DT.
  o Finish and test AR7, Cobalt, Jazz, Malta, MIPSsim and SNI ports.
  o Convert the remaining platforms; find if it's actually sensible to
    convert all platforms.
  o I'm considering to make DT support a requirement for future MIPS
    platforms so you might as well start beating your firmware monkeys /
    ask Santa to put you a shiny new bootloader blob into the boot now.
  o Write more of the required infrastructure.
  o Write documentation

Contributions and comments welcome,


<Prev in Thread] Current Thread [Next in Thread>