[1/2,v9] powerpc/mpc85xx:Add initial device tree support of T104x

Scott Wood scottwood at freescale.com
Wed Apr 9 10:08:44 EST 2014


On Sun, 2014-04-06 at 18:48 +0530, Prabhakar Kushwaha wrote:
> On 3/20/2014 4:03 AM, Scott Wood wrote:
> > On Sat, Jan 25, 2014 at 05:10:59PM +0530, Prabhakar Kushwaha wrote:
> >> +	clockgen: global-utilities at e1000 {
> >> +		compatible = "fsl,t1040-clockgen", "fsl,qoriq-clockgen-2.0",
> >> +				   "fixed-clock";
> >> +		ranges = <0x0 0xe1000 0x1000>;
> >> +		clock-frequency = <100000000>;
> > Why is clock-frequency hardcoded here rather than supplied by U-Boot?
> > Especially since this is an SoC file, not a board file.
> 
> Your are correct.
> Means, clock-frequency should be added to clockgen in board device tree ??

Usually it gets patched in by U-Boot.

-Scott




More information about the Linuxppc-dev mailing list