[PATCH] ARM: OMAP2+: board-generic: add support for AM57xx family

Tony Lindgren tony at atomide.com
Mon Sep 8 17:03:34 PDT 2014


* Nishanth Menon <nm at ti.com> [140818 12:10]:
> AM57xx processor family are variants of DRA7 family of processors and
> targetted at industrial and non-automotive applications.
> 
> Signed-off-by: Nishanth Menon <nm at ti.com>

Applying into omap-for-v3.18/dt thanks.

Tony

> ---
> 
> NOTE: there is no discrenable features yet defined in register set at
> this point in time.
> 
> Tested on AM5728 compatible platform and based on v3.17-rc1
> 
>  .../devicetree/bindings/arm/omap/omap.txt          |   12 ++++++++++++
>  arch/arm/mach-omap2/board-generic.c                |    4 ++++
>  2 files changed, 16 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/arm/omap/omap.txt b/Documentation/devicetree/bindings/arm/omap/omap.txt
> index 0edc903..ddd9bcd 100644
> --- a/Documentation/devicetree/bindings/arm/omap/omap.txt
> +++ b/Documentation/devicetree/bindings/arm/omap/omap.txt
> @@ -85,6 +85,18 @@ SoCs:
>  - DRA722
>    compatible = "ti,dra722", "ti,dra72", "ti,dra7"
>  
> +- AM5728
> +  compatible = "ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7"
> +
> +- AM5726
> +  compatible = "ti,am5726", "ti,dra742", "ti,dra74", "ti,dra7"
> +
> +- AM5718
> +  compatible = "ti,am5718", "ti,dra722", "ti,dra72", "ti,dra7"
> +
> +- AM5716
> +  compatible = "ti,am5716", "ti,dra722", "ti,dra72", "ti,dra7"
> +
>  - AM4372
>    compatible = "ti,am4372", "ti,am43"
>  
> diff --git a/arch/arm/mach-omap2/board-generic.c b/arch/arm/mach-omap2/board-generic.c
> index 9480997..bdb5194 100644
> --- a/arch/arm/mach-omap2/board-generic.c
> +++ b/arch/arm/mach-omap2/board-generic.c
> @@ -241,6 +241,8 @@ MACHINE_END
>  
>  #ifdef CONFIG_SOC_DRA7XX
>  static const char *dra74x_boards_compat[] __initconst = {
> +	"ti,am5728",
> +	"ti,am5726",
>  	"ti,dra742",
>  	"ti,dra7",
>  	NULL,
> @@ -260,6 +262,8 @@ DT_MACHINE_START(DRA74X_DT, "Generic DRA74X (Flattened Device Tree)")
>  MACHINE_END
>  
>  static const char *dra72x_boards_compat[] __initconst = {
> +	"ti,am5718",
> +	"ti,am5716",
>  	"ti,dra722",
>  	NULL,
>  };
> -- 
> 1.7.9.5
> 



More information about the linux-arm-kernel mailing list