2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-22 20:43:56 +08:00

ARM: dts: Keystone K2G ICE EVM support for v4.13

-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1
 
 iQIcBAABAgAGBQJZPgyTAAoJEHJsHOdBp5c/40IQAKHtuUolhFL7YFg2h9EWXNrP
 CCn6cTao/DpBEJJzVUkI7WiMBYwETIZADgQddgX9XHV4171CC8YYUtWiwLyNbSVi
 67OLN2wWtLyn480gFX+o23WoFQ729CKGDUYas4DtnfUT5B4piga8LQp7249N0zf+
 hRxsS91IaACH4LVkm8s/+gGxozUecrTzc91MnzAas6F61AHTBs6+ILIUNEwSF3z4
 A8wBP78pYHFbeD5V7L4xL/SkblYU7CQigrvqL1ryOHlFtEkqmJIDlX8lrL3gJj9F
 namvNjEKsoLQcgVu41kZh21bfWp45o+fAgpEotiIoyKVhGFsN8XZB3CZUbto1l8h
 n5jDb30NC6m77k7jyr3Oetl6SwScrWDtYLvRjdrHsKc2sTS0VdRGYSVKR7jitHSq
 gVDB0ufjNw4L9sOz8Ig03i7/EAalQCiaarTAer+9yqaqUdyYLevtrB+ZySUB8pbh
 TbFa5Pf9sRCdMvCYExux4cN1kYTTDo7T3+A1c3dXjq3ad6ouk6jpIntwfJIktuLw
 aLuQuxgpZanCsDzal3Zbe20XmWUGpAHHN0p1UNmPX8fUqU/n3Y4mRn0J1g34gU+W
 4eDsFra9IL0yfsj9bnb7hMS8VkLXdjc4aYvJr2ij73r4zYYLqhnyveGIJ+99tJMp
 merO3SNtpMRxfhsflLn1
 =O7e8
 -----END PGP SIGNATURE-----

Merge tag 'keystone_dts_for_4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone into next/dt

ARM: dts: Keystone K2G ICE EVM support for v4.13

* tag 'keystone_dts_for_4.13' of git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux-keystone:
  ARM: dts: keystone: Add minimum support for K2G ICE evm
  ARM: keystone: Create new binding for K2G ICE evm
  ARM: dts: k2g-evm: Add unit address to memory node
  ARM: dts: keystone-k2g: Remove skeleton.dtsi

Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
Olof Johansson 2017-06-18 19:14:52 -07:00
commit 3a1fc4d204
5 changed files with 43 additions and 3 deletions

View File

@ -37,3 +37,6 @@ Boards:
- K2G EVM
compatible = "ti,k2g-evm", "ti,k2g", "ti-keystone"
- K2G Industrial Communication Engine EVM
compatible = "ti,k2g-ice", "ti,k2g", "ti-keystone"

View 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 \

View File

@ -20,7 +20,7 @@
compatible = "ti,k2g-evm", "ti,k2g", "ti,keystone";
model = "Texas Instruments K2G General Purpose EVM";
memory {
memory@800000000 {
device_type = "memory";
reg = <0x00000008 0x00000000 0x00000000 0x80000000>;
};

View File

@ -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";
};

View File

@ -15,7 +15,6 @@
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/pinctrl/keystone.h>
#include "skeleton.dtsi"
/ {
compatible = "ti,k2g","ti,keystone";
@ -24,6 +23,8 @@
#size-cells = <2>;
interrupt-parent = <&gic>;
chosen { };
aliases {
serial0 = &uart0;
};