On 03/21/2013 10:31 PM, Arnd Bergmann wrote:
On Thursday 21 March 2013, Thomas Petazzoni wrote:
In the mean time can we do something like:

         soc {
                 compatible = "simple-bus";
                 range =<...>;

                 [... all the peripherals ...]
         };

with the range =<...>  property converting the peripheral registers
base address (expressed as offsets in the reg =<...>  properties of the
subnodes) into the absolute physical address?

Yes, that is what Rob suggested you do.

Thomas,

have a look at arch/arm/boot/dts/dove.dtsi, it uses ranges-property
and peripherals encoded as offsets.

Sebastian
_______________________________________________
devicetree-discuss mailing list
devicetree-discuss@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/devicetree-discuss

Reply via email to