From: Cooper Jr., Franklin <fcooper@ti.com>
Date: Thu, 8 Jun 2017 17:33:21 +0000 (-0500)
Subject: ARM: dts: keystone-k2hk-evm: Add U-boot specific dtsi file
X-Git-Tag: v2025.01-rc5-pxa1908~6563
X-Git-Url: http://git.dujemihanovic.xyz/posts?a=commitdiff_plain;h=f8dbc0734dc160df8c8dee85cfcf85396e5740cc;p=u-boot.git

ARM: dts: keystone-k2hk-evm: Add U-boot specific dtsi file

With Davinci I2C switching to device model, K2HK requires U-boot specific
device tree entries. This is only required for I2C 1 which is needed
extremely early during the boot process.

Fixes: 1743d040b1df ("ARM: keystone: Enable DM_I2C by default")
Reported-by: Yan Liu <yan-liu@ti.com>
Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
---

diff --git a/arch/arm/dts/keystone-k2hk-evm-u-boot.dtsi b/arch/arm/dts/keystone-k2hk-evm-u-boot.dtsi
new file mode 100644
index 0000000000..072a75807b
--- /dev/null
+++ b/arch/arm/dts/keystone-k2hk-evm-u-boot.dtsi
@@ -0,0 +1,15 @@
+/*
+ * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
+ *
+ * SPDX-License-Identifier:	GPL-2.0+
+ */
+
+/{
+	soc {
+		u-boot,dm-pre-reloc;
+	};
+};
+
+&i2c1 {
+	u-boot,dm-pre-reloc;
+};