[PATCH 0/3] MIPS: loongson-ls1b: switch to device tree probe

Sascha Hauer s.hauer at pengutronix.de
Wed Apr 9 23:21:01 PDT 2014


On Tue, Apr 08, 2014 at 11:13:50AM +0400, Antony Pavlov wrote:
> On Tue, 8 Apr 2014 08:06:19 +0200
> Sascha Hauer <s.hauer at pengutronix.de> wrote:
> 
> > On Mon, Apr 07, 2014 at 11:38:46AM +0400, Antony Pavlov wrote:
> > > New boards should probe from devicetree and
> > > not use the platform registration code.
> > > 
> > > This patchseries adds device tree stuff for
> > > Longson LS1B SoC and Loongson Tech LS1B Demo Board.
> > > 
> > > Antony Pavlov (3):
> > >   MIPS: add Longson LS1B SoC dtsi file
> > >   MIPS: add Loongson Tech LS1B Demo Board dts file
> > >   MIPS: loongson-ls1b: switch to device tree
> > 
> > Applied, thanks.
> > 
> > BTW what's the status of mips devicetree support in Linux Mainline? I
> > sometimes have a look at arch/mips/boot/dts there and find it empty.
> > Does the kernel start with the devicetrees you add to barebox?
> 
> linux-mips world is different from linux-arm world in many ways :)
> 
> $ find linux.git/arch/mips/ -iname '*dts*'
> linux.git/arch/mips/mti-sead3/sead3.dts
> linux.git/arch/mips/boot/dts
> linux.git/arch/mips/ralink/dts
> linux.git/arch/mips/ralink/dts/rt2880_eval.dts
> linux.git/arch/mips/ralink/dts/mt7620a.dtsi
> linux.git/arch/mips/ralink/dts/rt2880.dtsi
> linux.git/arch/mips/ralink/dts/rt3883.dtsi
> linux.git/arch/mips/ralink/dts/rt3883_eval.dts
> linux.git/arch/mips/ralink/dts/rt3052_eval.dts
> linux.git/arch/mips/ralink/dts/rt3050.dtsi
> linux.git/arch/mips/ralink/dts/mt7620a_eval.dts
> linux.git/arch/mips/lantiq/dts
> linux.git/arch/mips/lantiq/dts/easy50712.dts
> linux.git/arch/mips/lantiq/dts/danube.dtsi
> linux.git/arch/mips/netlogic/dts
> linux.git/arch/mips/netlogic/dts/xlp_gvp.dts
> linux.git/arch/mips/netlogic/dts/xlp_evp.dts
> linux.git/arch/mips/netlogic/dts/xlp_fvp.dts
> linux.git/arch/mips/netlogic/dts/xlp_svp.dts
> linux.git/arch/mips/cavium-octeon/octeon_3xxx.dts
> linux.git/arch/mips/cavium-octeon/octeon_68xx.dts

Ah, there they are.

> 
> So there is no support in barebox for a mainline linux dts-capable machine.

Ok, then we do not need to make the dts files Linux mainline compatible.
You probably keep an eye on the mips development so that we won't end up
with conflicting devicetrees.

> 
> Loongson developers have no plan to port OpenFirmware in the near future,
> see this
>    http://www.linux-mips.org/archives/linux-mips/2014-03/msg00164.html

Uh, not nice :(

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list