ARM: dts: keystone: Add minimum support for K2G ICE evm
authorFranklin S Cooper Jr <fcooper@ti.com>
Mon, 22 May 2017 05:46:56 +0000 (22:46 -0700)
committerSantosh Shilimkar <ssantosh@kernel.org>
Mon, 22 May 2017 05:47:49 +0000 (22:47 -0700)
Add barebones dts support for TI's K2G Industrial Communication Engine evm.
This dts allows the board to boot using a ram based filesystem.

Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/keystone-k2g-ice.dts [new file with mode: 0644]

index 9c5e1d944d1c714f0fcd49cfd1614e7957f0bd52..8db25d9e4399ffe8a3efec08a6ebea31d5c23370 100644 (file)
@@ -204,7 +204,8 @@ dtb-$(CONFIG_ARCH_KEYSTONE) += \
        keystone-k2hk-evm.dtb \
        keystone-k2l-evm.dtb \
        keystone-k2e-evm.dtb \
-       keystone-k2g-evm.dtb
+       keystone-k2g-evm.dtb \
+       keystone-k2g-ice.dtb
 dtb-$(CONFIG_MACH_KIRKWOOD) += \
        kirkwood-b3.dtb \
        kirkwood-blackarmor-nas220.dtb \
diff --git a/arch/arm/boot/dts/keystone-k2g-ice.dts b/arch/arm/boot/dts/keystone-k2g-ice.dts
new file mode 100644 (file)
index 0000000..d820d37
--- /dev/null
@@ -0,0 +1,35 @@
+/*
+ * Device Tree Source for K2G Industrial Communication Engine EVM
+ *
+ * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
+ *
+ * SPDX-License-Identifier: GPL-2.0
+ */
+/dts-v1/;
+
+#include "keystone-k2g.dtsi"
+
+/ {
+       compatible = "ti,k2g-ice", "ti,k2g", "ti,keystone";
+       model = "Texas Instruments K2G Industrial Communication EVM";
+
+       memory@800000000 {
+               device_type = "memory";
+               reg = <0x00000008 0x00000000 0x00000000 0x20000000>;
+       };
+};
+
+&k2g_pinctrl {
+       uart0_pins: pinmux_uart0_pins {
+               pinctrl-single,pins = <
+                       K2G_CORE_IOPAD(0x11cc) (BUFFER_CLASS_B | PULL_DISABLE | MUX_MODE0)      /* uart0_rxd.uart0_rxd */
+                       K2G_CORE_IOPAD(0x11d0) (BUFFER_CLASS_B | PIN_PULLDOWN | MUX_MODE0)      /* uart0_txd.uart0_txd */
+               >;
+       };
+};
+
+&uart0 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&uart0_pins>;
+       status = "okay";
+};