for muram in DTS file, why change #address-cells from <1> to <2>?

Robert P. J. Day rpjday at crashcourse.ca
Tue May 17 22:43:46 AEST 2016


  currently working on a project involving MPC8360 board, and was
handed a patch to the system .dts file that contained the following
snippet for the muram node:

                muram at 10000 {
-                       #address-cells = <1>;
+                       #address-cells = <2>;
                        #size-cells = <1>;
                        compatible = "fsl,qe-muram", "fsl,cpm-muram";
-                       ranges = <0 0x10000 0xc000>;
+                       ranges = <0 0 0x10000 0xc000>;

                        data-only at 0 {
                                compatible = "fsl,qe-muram-data","fsl,cpm-muram-data";
-                               reg = <0 0xc000>;
+                               reg = <0 0x4000 0x4000>, <0 0x9400 0x1c00>;
                        };

                };

  i'm not a .dts file expert, but i'm baffled by the change in the
value of #address-cells. how does that make any sense? it seems to me
that that kind of change is a *really* fundamental change in the
specification of the underlying architecture.

  can someone explain what that might mean? thanks.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



More information about the Linuxppc-dev mailing list