diff mbox

[U-Boot,29/31] ARM: dts: k2g: Add DT support for K2G Industrial Communication Engine evm

Message ID 20170302190435.23212-30-fcooper@ti.com
State Changes Requested
Delegated to: Tom Rini
Headers show

Commit Message

Franklin S Cooper Jr March 2, 2017, 7:04 p.m. UTC
Add basic DT support for K2G ICE evm. Only minimal peripherals are
supported to allow console output and MMC boot.

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
---
 arch/arm/dts/Makefile             |  3 ++-
 arch/arm/dts/keystone-k2g-ice.dts | 25 +++++++++++++++++++++++++
 2 files changed, 27 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/dts/keystone-k2g-ice.dts

Comments

Tom Rini March 9, 2017, 1:09 p.m. UTC | #1
On Thu, Mar 02, 2017 at 01:04:33PM -0600, Franklin S Cooper Jr wrote:

> Add basic DT support for K2G ICE evm. Only minimal peripherals are
> supported to allow console output and MMC boot.
> 
> Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
> ---
>  arch/arm/dts/Makefile             |  3 ++-
>  arch/arm/dts/keystone-k2g-ice.dts | 25 +++++++++++++++++++++++++

Has this been pushed up to Linux yet?  Thanks!
Franklin S Cooper Jr March 16, 2017, 9:56 p.m. UTC | #2
On 03/09/2017 07:09 AM, Tom Rini wrote:
> On Thu, Mar 02, 2017 at 01:04:33PM -0600, Franklin S Cooper Jr wrote:
> 
>> Add basic DT support for K2G ICE evm. Only minimal peripherals are
>> supported to allow console output and MMC boot.
>>
>> Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
>> ---
>>  arch/arm/dts/Makefile             |  3 ++-
>>  arch/arm/dts/keystone-k2g-ice.dts | 25 +++++++++++++++++++++++++
> 
> Has this been pushed up to Linux yet?  Thanks!

Not yet.

>
Tom Rini March 17, 2017, 2:08 p.m. UTC | #3
On Thu, Mar 16, 2017 at 04:56:44PM -0500, Franklin S Cooper Jr wrote:
> 
> 
> On 03/09/2017 07:09 AM, Tom Rini wrote:
> > On Thu, Mar 02, 2017 at 01:04:33PM -0600, Franklin S Cooper Jr wrote:
> > 
> >> Add basic DT support for K2G ICE evm. Only minimal peripherals are
> >> supported to allow console output and MMC boot.
> >>
> >> Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
> >> ---
> >>  arch/arm/dts/Makefile             |  3 ++-
> >>  arch/arm/dts/keystone-k2g-ice.dts | 25 +++++++++++++++++++++++++
> > 
> > Has this been pushed up to Linux yet?  Thanks!
> 
> Not yet.

OK.  The point for here (and patch 28) is that I'd like to see the DTS
queued up in the appropriate tree for the kernel before we pull it in
here (or at least the maintainer saying they'll pull it when gathering
stuff next) so that we don't have them getting out of sync.  Thanks!
diff mbox

Patch

diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index 06ebbf0..eb92480 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -324,7 +324,8 @@  dtb-$(CONFIG_SOC_KEYSTONE) += keystone-k2hk-evm.dtb \
 	keystone-k2l-evm.dtb \
 	keystone-k2e-evm.dtb \
 	keystone-k2g-evm.dtb \
-	keystone-k2g-generic.dtb
+	keystone-k2g-generic.dtb \
+	keystone-k2g-ice.dtb
 
 dtb-$(CONFIG_TARGET_SAMA5D2_XPLAINED) += \
 	at91-sama5d2_xplained.dtb
diff --git a/arch/arm/dts/keystone-k2g-ice.dts b/arch/arm/dts/keystone-k2g-ice.dts
new file mode 100644
index 0000000..d06bdc6
--- /dev/null
+++ b/arch/arm/dts/keystone-k2g-ice.dts
@@ -0,0 +1,25 @@ 
+/*
+ * Copyright 2017 Texas Instruments, Inc.
+ *
+ * K2G Industrial Communication Engine EVM device tree
+ *
+ * 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.
+ */
+/dts-v1/;
+
+#include "keystone-k2g.dtsi"
+
+/ {
+	compatible = "ti,k2g-ice", "ti,k2g", "ti,keystone";
+	model = "Texas Instruments K2G Industrial Communication EVM";
+
+	chosen {
+		stdout-path = &uart0;
+	};
+};
+
+&mmc1 {
+	status = "okay";
+};