Re: [U-Boot] [PATCH v2 12/13] arm: dts: Add u-boot specific compatibles

2017-08-23 Thread Tom Rini
On Mon, Aug 21, 2017 at 12:51:00PM +0530, Lokesh Vutla wrote:

> 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 

Reviewed-by: Tom Rini 

-- 
Tom


signature.asc
Description: Digital signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PATCH v2 12/13] arm: dts: Add u-boot specific compatibles

2017-08-21 Thread Lokesh Vutla
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 
---
 arch/arm/dts/dra71-evm-u-boot.dtsi  | 23 +++
 arch/arm/dts/dra72-evm-revc-u-boot.dtsi | 23 +++
 arch/arm/dts/dra76-evm-u-boot.dtsi  | 15 +++
 arch/arm/dts/omap5-u-boot.dtsi  |  7 +++
 4 files changed, 68 insertions(+)
 create mode 100644 arch/arm/dts/dra71-evm-u-boot.dtsi
 create mode 100644 arch/arm/dts/dra72-evm-revc-u-boot.dtsi
 create mode 100644 arch/arm/dts/dra76-evm-u-boot.dtsi

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 00..8ae64c0a3c
--- /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"
+
+_gpio_21{
+   u-boot,i2c-offset-len = <0>;
+};
+
+_hdmi{
+   u-boot,i2c-offset-len = <0>;
+};
+
+_emac0 {
+   phy-handle = <_0>;
+};
+
+_emac1 {
+   phy-handle = <_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 00..8ae64c0a3c
--- /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"
+
+_gpio_21{
+   u-boot,i2c-offset-len = <0>;
+};
+
+_hdmi{
+   u-boot,i2c-offset-len = <0>;
+};
+
+_emac0 {
+   phy-handle = <_0>;
+};
+
+_emac1 {
+   phy-handle = <_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 00..b007f78d46
--- /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"
+
+_emac0 {
+   phy-handle = <_0>;
+};
+
+_emac1 {
+   phy-handle = <_1>;
+};
diff --git a/arch/arm/dts/omap5-u-boot.dtsi b/arch/arm/dts/omap5-u-boot.dtsi
index 17602909a6..2eeed6f4a0 100644
--- a/arch/arm/dts/omap5-u-boot.dtsi
+++ b/arch/arm/dts/omap5-u-boot.dtsi
@@ -8,6 +8,10 @@
  */
 
 /{
+   chosen {
+   tick-timer = 
+   };
+
ocp {
u-boot,dm-spl;
 
@@ -19,10 +23,12 @@
 
  {
u-boot,dm-spl;
+   reg-shift = <2>;
 };
 
  {
u-boot,dm-spl;
+   reg-shift = <2>;
 };
 
  {
@@ -49,6 +55,7 @@
u-boot,dm-spl;
 
m25p80@0 {
+   compatible = "spi-flash";
u-boot,dm-spl;
};
 };
-- 
2.13.0

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot