]> git.sur5r.net Git - u-boot/commitdiff
ARM: dts: keystone-k2hk-evm: Add U-boot specific dtsi file
authorCooper Jr., Franklin <fcooper@ti.com>
Thu, 8 Jun 2017 17:33:21 +0000 (12:33 -0500)
committerTom Rini <trini@konsulko.com>
Mon, 12 Jun 2017 12:38:44 +0000 (08:38 -0400)
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>
arch/arm/dts/keystone-k2hk-evm-u-boot.dtsi [new file with mode: 0644]

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 (file)
index 0000000..072a758
--- /dev/null
@@ -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;
+};