Subject: [RFC PATCH 11/11] ARM: DT: Add support to system control module for OMAP4

From: [email-masked] (Konstantin Baydarov)
Date: Tue, 29 May 2012 13:49:25 +0400

Hi, Eduardo.

On 05/25/2012 12:26 PM, Eduardo Valentin wrote:
> This patch add device tree entries on OMAP4 based boards
> for System Control Module (SCM).
>
> Signed-off-by: Eduardo Valentin <[email-masked]>
> ---
>  arch/arm/boot/dts/omap4.dtsi |   13 +++++++++++++
>  1 files changed, 13 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4.dtsi
> index 359c497..d2cb392 100644
> --- a/arch/arm/boot/dts/omap4.dtsi
> +++ b/arch/arm/boot/dts/omap4.dtsi
> @@ -272,5 +272,18 @@
>  			ti,hwmods = "mmc5";
>  			ti,needs-special-reset;
>  		};
> +
> +		ctrl_module_core: ctrl_module_core at 4a002000 {
> +			compatible = "ti,omap4-control";
> +			ti,hwmods = "ctrl_module_core";
> +			bandgap {
> +				compatible = "ti,omap4460-bandgap";
> +				interrupts = <0 126 4>; /* talert */
> +				ti,tshut-gpio = <86>; /* tshut */
> +			};
I believe that CPU-specific bandgap definition should be moved to bard specific dts.

  BR,
    Konstantin Baydarov.

> +			usb {
> +				compatible = "ti,omap4-usb-phy";
> +			};
> +		};
>  	};
>  };