Thanks Robert, much appreciated! On Tuesday, October 9, 2018 at 4:03:21 PM UTC-5, RobertCNelson wrote: > > On Tue, Oct 9, 2018 at 3:54 PM GS <[email protected] <javascript:>> > wrote: > > > > I am trying to figure out how to reserve memory in device tree. (this is > based on an example by TI: Dts and compile instructions section 3.1.2.4) > > Here is is my dts file: > > > > /dts-v1/; > > > > / { > > reserved-memory { > > #address-cells = <1>; > > #size-cells = <1>; > > ranges; > > > > pruadc_reserved: pruadc_reserved@0x9ffc0000 { > > reg = <0x9ffc0000 0x00010000>; > > no-map; > > status = "okay"; > > }; > > }; > > }; > > > > However, when I compile I get the following warnings: > > src/arm/MEM.dtbo: Warning (ranges_format): /reserved-memory has empty > "ranges" property but its #address-cells (1) differs from / (2) > > src/arm/MEM.dtbo: Warning (avoid_default_addr_size): Relying on default > #address-cells value for /reserved-memory > > src/arm/MEM.dtbo: Warning (avoid_default_addr_size): Relying on default > #size-cells value for /reserved-memory > > > > Other combinations of address-cells/size-cells give reg format warnings. > > Looks fine: > > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/da850-lcdk.dts?h=v4.19-rc7#n29 > > > dtc just being over-jealous on warnings, and we haven't fixed all the > in-kernel nodes up to the proper syntax.. > > Regards, > > -- > Robert Nelson > https://rcn-ee.com/ >
-- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/d62b29fe-3181-4b96-982b-4778340f96af%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
