Subject: [RESEND PATCH 1/4] ARM: STi: DT: STiH407: 407 DT Entry for clockgen A0

From: [email-masked] (Maxime Coquelin)
Date: Tue, 23 Sep 2014 09:44:11 +0200

On 08/25/2014 04:44 PM, Gabriel FERNANDEZ wrote:
> Patch adds DT entries for clockgen A0
>
> Signed-off-by: Gabriel Fernandez <[email-masked]>
> Signed-off-by: Olivier Bideau <[email-masked]>
> ---
>   arch/arm/boot/dts/stih407-clock.dtsi | 32 ++++++++++++++++++++++++++++++++
>   1 file changed, 32 insertions(+)
>
> diff --git a/arch/arm/boot/dts/stih407-clock.dtsi b/arch/arm/boot/dts/stih407-clock.dtsi
> index 800f46f..e03e86e 100644
> --- a/arch/arm/boot/dts/stih407-clock.dtsi
> +++ b/arch/arm/boot/dts/stih407-clock.dtsi
> @@ -7,6 +7,10 @@
>    */
>   / {
>   	clocks {
> +		#address-cells = <1>;
> +		#size-cells = <1>;
> +		ranges;
> +
>   		/*
>   		 * Fixed 30MHz oscillator inputs to SoC
>   		 */
> @@ -35,5 +39,33 @@
>   			clock-frequency = <200000000>;
>   			clock-output-names = "clk-s-icn-reg-0";
>   		};
> +
> +		/*
> +		 * ClockGenAs on SASG2
> +		 */
Note that I removed this comment since no SASG2 on STiH407.

> +		clockgen-a at 090ff000 {
> +			compatible = "st,clkgen-c32";
> +			reg = <0x90ff000 0x1000>;
...