[PATCH 2/3] arm/dt: add very basic dts file for babbage board

Shawn Guo shawn.guo at freescale.com
Wed Feb 23 01:13:10 EST 2011


Hi Grant,

Thanks for the explanation in details.

One more minor doubt below ...

On Mon, Feb 21, 2011 at 10:10:24AM -0700, Grant Likely wrote:
> On Mon, Feb 21, 2011 at 2:46 AM, Shawn Guo <shawn.guo at linaro.org> wrote:
[...]
> >> +               };
> >> +       };
> >> +
> >> +       clocks {
> >> +               #address-cells = <1>;
> >> +               #size-cells = <0>;
> >> +
> >
> > Can we use hex value here to keep the consistency throughout the file?
> 
> For #address-cells and #size-cells use decimal integers.
> 
If I run 'dtc -I dts -O dts -o babbage-dtc.dts babbage.dts', I see
babbage-dtc.dts have these two decimal values written into the hex.

-- 
Regards,
Shawn



More information about the devicetree-discuss mailing list