[PATCH] [POWERPC] fsl_soc: add support for "fsl, immr" compatible matching

Anton Vorontsov cbouatmailru at gmail.com
Sat Feb 2 10:30:43 EST 2008


On Fri, Feb 01, 2008 at 03:16:57PM -0600, Scott Wood wrote:
> Anton Vorontsov wrote:
> > -	soc8540 at e0000000 {
> > +	soc at e0000000 {
> >  		#address-cells = <1>;
> >  		#size-cells = <1>;
> >  		#interrupt-cells = <2>;
> > -		device_type = "soc";
> > +		compatible = "fsl,mpc8540-immr", "fsl,immr", "simple-bus";
> >  		ranges = <00000000 e0000000 00100000>
> >  		reg = <e0000000 00003000>;
> >  		bus-frequency = <0>;
> 
> It's called "CCSR" rather than "IMMR" on 85xx.

^^ Theory.

$ grep ccsr -r arch/powerpc/boot/dts/
$

$ grep immr -r arch/powerpc/boot/dts/ | grep 85 | cut -d: -f1
arch/powerpc/boot/dts/tqm8540.dts
arch/powerpc/boot/dts/tqm8541.dts
arch/powerpc/boot/dts/mpc8572ds.dts
arch/powerpc/boot/dts/tqm8555.dts
arch/powerpc/boot/dts/stx_gp3_8560.dts
arch/powerpc/boot/dts/mpc885ads.dts
arch/powerpc/boot/dts/tqm8560.dts

^^ Practice. :-)


Maybe "fsl,soc", finally? :-) I think soc, ccsr or immr doesn't
really matter, what really matters is consistency. <cpu-specific>
part of the -ccsr/-immr should be sufficient to distinct whether
we're on 85xx or 83xx...

-- 
Anton Vorontsov
email: cbou at mail.ru
backup email: ya-cbou at yandex.ru
irc://irc.freenode.net/bd2



More information about the Linuxppc-dev mailing list