summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLokesh Vutla <[email protected]>2017-08-21 12:51:00 +0530
committerTom Rini <[email protected]>2017-09-11 16:19:49 -0400
commitb63b995b1691c0448fb14bcf23341651c1f0679c (patch)
treedca77ba4eb30585984dd1c407719f3a612046d6c
parent4ddaa6ce28e6528e00d32bcdfc7905df2dbbbb06 (diff)
arm: dts: Add u-boot specific compatibles
Separate out u-boot specific compatibles from dts files. This will help in syncing dts files in future. Also these will get deleted eventually once respective drivers are capable of handling Linux dts files. Signed-off-by: Lokesh Vutla <[email protected]> Reviewed-by: Tom Rini <[email protected]>
-rw-r--r--arch/arm/dts/dra71-evm-u-boot.dtsi23
-rw-r--r--arch/arm/dts/dra72-evm-revc-u-boot.dtsi23
-rw-r--r--arch/arm/dts/dra76-evm-u-boot.dtsi15
-rw-r--r--arch/arm/dts/omap5-u-boot.dtsi7
4 files changed, 68 insertions, 0 deletions
diff --git a/arch/arm/dts/dra71-evm-u-boot.dtsi b/arch/arm/dts/dra71-evm-u-boot.dtsi
new file mode 100644
index 00000000000..8ae64c0a3ce
--- /dev/null
+++ b/arch/arm/dts/dra71-evm-u-boot.dtsi
@@ -0,0 +1,23 @@
+/*
+ * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#include "omap5-u-boot.dtsi"
+
+&pcf_gpio_21{
+ u-boot,i2c-offset-len = <0>;
+};
+
+&pcf_hdmi{
+ u-boot,i2c-offset-len = <0>;
+};
+
+&cpsw_emac0 {
+ phy-handle = <&dp83867_0>;
+};
+
+&cpsw_emac1 {
+ phy-handle = <&dp83867_1>;
+};
diff --git a/arch/arm/dts/dra72-evm-revc-u-boot.dtsi b/arch/arm/dts/dra72-evm-revc-u-boot.dtsi
new file mode 100644
index 00000000000..8ae64c0a3ce
--- /dev/null
+++ b/arch/arm/dts/dra72-evm-revc-u-boot.dtsi
@@ -0,0 +1,23 @@
+/*
+ * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#include "omap5-u-boot.dtsi"
+
+&pcf_gpio_21{
+ u-boot,i2c-offset-len = <0>;
+};
+
+&pcf_hdmi{
+ u-boot,i2c-offset-len = <0>;
+};
+
+&cpsw_emac0 {
+ phy-handle = <&dp83867_0>;
+};
+
+&cpsw_emac1 {
+ phy-handle = <&dp83867_1>;
+};
diff --git a/arch/arm/dts/dra76-evm-u-boot.dtsi b/arch/arm/dts/dra76-evm-u-boot.dtsi
new file mode 100644
index 00000000000..b007f78d46f
--- /dev/null
+++ b/arch/arm/dts/dra76-evm-u-boot.dtsi
@@ -0,0 +1,15 @@
+/*
+ * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#include "omap5-u-boot.dtsi"
+
+&cpsw_emac0 {
+ phy-handle = <&dp83867_0>;
+};
+
+&cpsw_emac1 {
+ phy-handle = <&dp83867_1>;
+};
diff --git a/arch/arm/dts/omap5-u-boot.dtsi b/arch/arm/dts/omap5-u-boot.dtsi
index 17602909a61..2eeed6f4a01 100644
--- a/arch/arm/dts/omap5-u-boot.dtsi
+++ b/arch/arm/dts/omap5-u-boot.dtsi
@@ -8,6 +8,10 @@
*/
/{
+ chosen {
+ tick-timer = &timer2;
+ };
+
ocp {
u-boot,dm-spl;
@@ -19,10 +23,12 @@
&uart1 {
u-boot,dm-spl;
+ reg-shift = <2>;
};
&uart3 {
u-boot,dm-spl;
+ reg-shift = <2>;
};
&mmc1 {
@@ -49,6 +55,7 @@
u-boot,dm-spl;
m25p80@0 {
+ compatible = "spi-flash";
u-boot,dm-spl;
};
};