[PATCHv10 22/41] ARM: dts: omap5 clock data

Paul Walmsley paul at pwsan.com
Mon Dec 16 05:51:18 EST 2013


On Tue, 26 Nov 2013, Tero Kristo wrote:

> This patch creates a unique node for each clock in the OMAP5 power,
> reset and clock manager (PRCM).

...

> +&cm_core_aon {
> +	pad_clks_src_ck: pad_clks_src_ck {
> +		#clock-cells = <0>;
> +		compatible = "fixed-clock";
> +		clock-frequency = <12000000>;
> +	};
> +
> +	pad_clks_ck: pad_clks_ck {
> +		#clock-cells = <0>;
> +		compatible = "ti,gate-clock";
> +		clocks = <&pad_clks_src_ck>;
> +		ti,bit-shift = <8>;
> +		reg = <0x0108>;
> +	};

All of the clock data should be underneath a "clocks {" node, for all of 
the chips.  Please see the Calxeda ECX clocks DT data as an example of how 
this should look:

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/ecx-common.dtsi#n141


- Paul



More information about the linux-arm-kernel mailing list