2013-06-14 14:04:28

by Afzal Mohammed

[permalink] [raw]
Subject: [PATCH] ARM: dts: AM43x EPOS EVM support

Add AM43x ePOS EVM minimal DT source - this is a minimal one to get
it booting. Also include it in omap2plus dtbs and document bindings.
The hardware is under development.

Signed-off-by: Afzal Mohammed <[email protected]>
---

Hi Benoit,

This is based on your for_3.11/dts branch.

Ideally I wanted to split this into 3 patches - first doc, second dts
and last adding build support. As changes in total is trivial, it was
made a single one.

Regards
Afzal


Documentation/devicetree/bindings/arm/omap/omap.txt | 3 +++
arch/arm/boot/dts/Makefile | 3 ++-
arch/arm/boot/dts/am43x-epos-evm.dts | 18 ++++++++++++++++++
3 files changed, 23 insertions(+), 1 deletion(-)
create mode 100644 arch/arm/boot/dts/am43x-epos-evm.dts

diff --git a/Documentation/devicetree/bindings/arm/omap/omap.txt b/Documentation/devicetree/bindings/arm/omap/omap.txt
index f8288ea..6d498c7 100644
--- a/Documentation/devicetree/bindings/arm/omap/omap.txt
+++ b/Documentation/devicetree/bindings/arm/omap/omap.txt
@@ -56,3 +56,6 @@ Boards:

- OMAP5 EVM : Evaluation Module
compatible = "ti,omap5-evm", "ti,omap5"
+
+- AM43x EPOS EVM
+ compatible = "ti,am43x-epos-evm", "ti,am4372", "ti,am43"
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 8e50761..05da469 100644
--- a/arch/arm/boot/dts/Makefile
+++ b/arch/arm/boot/dts/Makefile
@@ -155,7 +155,8 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \
am335x-evmsk.dtb \
am335x-bone.dtb \
am3517-evm.dtb \
- am3517_mt_ventoux.dtb
+ am3517_mt_ventoux.dtb \
+ am43x-epos-evm.dtb
dtb-$(CONFIG_ARCH_ORION5X) += orion5x-lacie-ethernet-disk-mini-v2.dtb
dtb-$(CONFIG_ARCH_PRIMA2) += prima2-evb.dtb
dtb-$(CONFIG_ARCH_U8500) += snowball.dtb \
diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts
new file mode 100644
index 0000000..74174d4
--- /dev/null
+++ b/arch/arm/boot/dts/am43x-epos-evm.dts
@@ -0,0 +1,18 @@
+/*
+ * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+/* AM43x EPOS EVM */
+
+/dts-v1/;
+
+#include "am4372.dtsi"
+
+/ {
+ model = "TI AM43x EPOS EVM";
+ compatible = "ti,am43x-epos-evm","ti,am4372","ti,am43";
+};
--
1.7.12


2013-06-19 10:38:27

by Benoit Cousson

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: AM43x EPOS EVM support

Hi Afzal,

On 06/14/2013 09:03 AM, Afzal Mohammed wrote:
> Add AM43x ePOS EVM minimal DT source - this is a minimal one to get
> it booting. Also include it in omap2plus dtbs and document bindings.
> The hardware is under development.
>
> Signed-off-by: Afzal Mohammed <[email protected]>
> ---
>
> Hi Benoit,
>
> This is based on your for_3.11/dts branch.
>
> Ideally I wanted to split this into 3 patches - first doc, second dts
> and last adding build support. As changes in total is trivial, it was
> made a single one.

That's fine for me. I've just applied it.

Thanks,
Benoit

>
> Regards
> Afzal
>
>
> Documentation/devicetree/bindings/arm/omap/omap.txt | 3 +++
> arch/arm/boot/dts/Makefile | 3 ++-
> arch/arm/boot/dts/am43x-epos-evm.dts | 18 ++++++++++++++++++
> 3 files changed, 23 insertions(+), 1 deletion(-)
> create mode 100644 arch/arm/boot/dts/am43x-epos-evm.dts
>
> diff --git a/Documentation/devicetree/bindings/arm/omap/omap.txt b/Documentation/devicetree/bindings/arm/omap/omap.txt
> index f8288ea..6d498c7 100644
> --- a/Documentation/devicetree/bindings/arm/omap/omap.txt
> +++ b/Documentation/devicetree/bindings/arm/omap/omap.txt
> @@ -56,3 +56,6 @@ Boards:
>
> - OMAP5 EVM : Evaluation Module
> compatible = "ti,omap5-evm", "ti,omap5"
> +
> +- AM43x EPOS EVM
> + compatible = "ti,am43x-epos-evm", "ti,am4372", "ti,am43"
> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> index 8e50761..05da469 100644
> --- a/arch/arm/boot/dts/Makefile
> +++ b/arch/arm/boot/dts/Makefile
> @@ -155,7 +155,8 @@ dtb-$(CONFIG_ARCH_OMAP2PLUS) += omap2420-h4.dtb \
> am335x-evmsk.dtb \
> am335x-bone.dtb \
> am3517-evm.dtb \
> - am3517_mt_ventoux.dtb
> + am3517_mt_ventoux.dtb \
> + am43x-epos-evm.dtb
> dtb-$(CONFIG_ARCH_ORION5X) += orion5x-lacie-ethernet-disk-mini-v2.dtb
> dtb-$(CONFIG_ARCH_PRIMA2) += prima2-evb.dtb
> dtb-$(CONFIG_ARCH_U8500) += snowball.dtb \
> diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-evm.dts
> new file mode 100644
> index 0000000..74174d4
> --- /dev/null
> +++ b/arch/arm/boot/dts/am43x-epos-evm.dts
> @@ -0,0 +1,18 @@
> +/*
> + * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
> + *
> + * This program is free software; you can redistribute it and/or modify
> + * it under the terms of the GNU General Public License version 2 as
> + * published by the Free Software Foundation.
> + */
> +
> +/* AM43x EPOS EVM */
> +
> +/dts-v1/;
> +
> +#include "am4372.dtsi"
> +
> +/ {
> + model = "TI AM43x EPOS EVM";
> + compatible = "ti,am43x-epos-evm","ti,am4372","ti,am43";
> +};
>