Skip to contentSkip to conversation

dra71/76: Fix boot issues

PATCH In review Keerthy 2 participants 6 messages May 17, 2019 – May 20, 2019 Device tree bindings

lore
Share & tools
lore

Keerthy

author
#0 lore raw

v2 cover dra71/76: Fix boot issues

This series adds patches that fix boot on dra76/71-evms.

Changes in v2:

* Pushed the disabling to dra76x and dra71x.dtsi respectively

Keerthy (4):
arm: dts: dra76x: Disable rtc target module
arm: dts: dra76x: Disable usb4_tm target module
arm: dts: dra71x: Disable rtc target module
arm: dts: dra71x: Disable usb4_tm target module

 arch/arm/boot/dts/dra7-l4.dtsi  |  2 +-
 arch/arm/boot/dts/dra71-evm.dts |  2 +-
 arch/arm/boot/dts/dra71x.dtsi   | 17 +++++++++++++++++
 arch/arm/boot/dts/dra76x.dtsi   |  8 ++++++++
 4 files changed, 27 insertions(+), 2 deletions(-)
 create mode 100644 arch/arm/boot/dts/dra71x.dtsi
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH v2 1/4 arm: dts: dra76x: Disable rtc target module

rtc is fused out on dra76 and accessing target module register is causing a boot crash hence disable it.

Fixes 549fce068a3112 ("ARM: dts: dra7: Add l4 interconnect hierarchy and ti-sysc data")
---
 arch/arm/boot/dts/dra7-l4.dtsi | 2 +-
 arch/arm/boot/dts/dra76x.dtsi  | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)
arch/arm/boot/dts/dra7-l4.dtsi +1 -1
index fe9f0bc29fec..3b4cba9da91f 100644
@@ -3543,7 +3543,7 @@
 			};
 		};
 
-		target-module@38000 {			/* 0x48838000, ap 29 12.0 */
+		rtctarget: target-module@38000 {			/* 0x48838000, ap 29 12.0 */
 			compatible = "ti,sysc-omap4-simple", "ti,sysc";
 			ti,hwmods = "rtcss";
 			reg = <0x38074 0x4>,
arch/arm/boot/dts/dra76x.dtsi +4 -0
index 9ee45aa365d8..5c437271d307 100644
@@ -81,3 +81,7 @@
 		reg = <0x3fc>;
 	};
 };
+
+&rtctarget {
+	status = "disabled";
+};
Signature · 1 line
2.17.1
author
#2 lore raw

PATCH v2 2/4 arm: dts: dra76x: Disable usb4_tm target module

In reply to Keerthy

usb4_tm is unsed on dra76 and accessing the module with ti,sysc is causing a boot crash hence disable its target module.

Fixes 549fce068a3112 ("ARM: dts: dra7: Add l4 interconnect hierarchy and ti-sysc data")
---
 arch/arm/boot/dts/dra76x.dtsi | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/dra76x.dtsi +4 -0
index 5c437271d307..82b3dc90b7d6 100644
@@ -85,3 +85,7 @@
 &rtctarget {
 	status = "disabled";
 };
+
+&usb4_tm {
+	status = "disabled";
+};
Signature · 1 line
2.17.1
author
#3 lore raw

PATCH v2 3/4 arm: dts: dra71x: Disable rtc target module

In reply to Keerthy

Introduce dra71x.dtsi to include dra71x specific changes. rtc is fused out on dra71 and accessing target module register is causing a boot crash hence disable it.

Fixes 549fce068a3112 ("ARM: dts: dra7: Add l4 interconnect hierarchy and ti-sysc data")
---
 arch/arm/boot/dts/dra71-evm.dts |  2 +-
 arch/arm/boot/dts/dra71x.dtsi   | 13 +++++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/boot/dts/dra71x.dtsi
arch/arm/boot/dts/dra71-evm.dts +1 -1
index 82cc7ec37af0..c496ae83e27e 100644
@@ -6,7 +6,7 @@
  * published by the Free Software Foundation.
  */
 
-#include "dra72-evm-common.dtsi"
+#include "dra71x.dtsi"
 #include "dra7-mmc-iodelay.dtsi"
 #include "dra72x-mmc-iodelay.dtsi"
 #include <dt-bindings/net/ti-dp83867.h>
arch/arm/boot/dts/dra71x.dtsi new file +13 -0
new file mode 100644
index 000000000000..aad7394902a6
@@ -0,0 +1,13 @@
+/*
+ * Copyright (C) 2019 Texas Instruments Incorporated - http://www.ti.com/
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include "dra72-evm-common.dtsi"
+
+&rtctarget {
+	status = "disabled";
+};
Signature · 1 line
2.17.1
author
#4 lore raw

PATCH v2 4/4 arm: dts: dra71x: Disable usb4_tm target module

In reply to Keerthy

usb4_tm is unsed on dra71 and accessing the module with ti,sysc is causing a boot crash hence disable its target module.

Fixes 549fce068a3112 ("ARM: dts: dra7: Add l4 interconnect hierarchy and ti-sysc data")
---
 arch/arm/boot/dts/dra71x.dtsi | 4 ++++
 1 file changed, 4 insertions(+)
arch/arm/boot/dts/dra71x.dtsi +4 -0
index aad7394902a6..695a08ed0360 100644
@@ -11,3 +11,7 @@
 &rtctarget {
 	status = "disabled";
 };
+
+&usb4_tm {
+	status = "disabled";
+};
Signature · 1 line
2.17.1
#5 lore raw
In reply to Keerthy
Quoted 5 lines · Keerthy

This series adds patches that fix boot on dra76/71-evms.

Changes in v2:

* Pushed the disabling to dra76x and dra71x.dtsi respectively

Thanks applying into fixes.

Regards,

Tony