All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] arm: dts: socfpga: stratix10: Move reset manager node to top
@ 2018-08-15 18:01 Ley Foon Tan
  2018-08-15 10:13 ` Marek Vasut
  2018-08-15 18:01 ` [U-Boot] [PATCH] usb: dwc2: Add reset ctrl to driver Ley Foon Tan
  0 siblings, 2 replies; 8+ messages in thread
From: Ley Foon Tan @ 2018-08-15 18:01 UTC (permalink / raw)
  To: u-boot

Move reset manager node to top, so reset driver can be load before
other drivers. Peripheral drivers have dependency on reset framework
to reset the hardware.

Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
---
 arch/arm/dts/socfpga_stratix10.dtsi | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/arch/arm/dts/socfpga_stratix10.dtsi b/arch/arm/dts/socfpga_stratix10.dtsi
index ccd3f32..748a436 100644
--- a/arch/arm/dts/socfpga_stratix10.dtsi
+++ b/arch/arm/dts/socfpga_stratix10.dtsi
@@ -87,6 +87,14 @@
 			reg = <0xffd10000 0x1000>;
 		};
 
+		rst: rstmgr at ffd11000 {
+			#reset-cells = <1>;
+			compatible = "altr,rst-mgr";
+			reg = <0xffd11000 0x1000>;
+			altr,modrst-offset = <0x20>;
+			u-boot,dm-pre-reloc;
+		};
+
 		gmac0: ethernet at ff800000 {
 			compatible = "altr,socfpga-stmmac", "snps,dwmac-3.74a", "snps,dwmac";
 			reg = <0xff800000 0x2000>;
@@ -234,14 +242,6 @@
 			reg = <0xffe00000 0x100000>;
 		};
 
-		rst: rstmgr at ffd11000 {
-			#reset-cells = <1>;
-			compatible = "altr,rst-mgr";
-			reg = <0xffd11000 0x1000>;
-			altr,modrst-offset = <0x20>;
-			u-boot,dm-pre-reloc;
-		};
-
 		spi0: spi at ffda4000 {
 			compatible = "snps,dw-apb-ssi";
 			#address-cells = <1>;
-- 
2.2.2

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-08-15 18:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-15 18:01 [U-Boot] [PATCH] arm: dts: socfpga: stratix10: Move reset manager node to top Ley Foon Tan
2018-08-15 10:13 ` Marek Vasut
2018-08-15 10:28   ` Ley Foon Tan
2018-08-15 10:31     ` Marek Vasut
2018-08-15 10:37       ` Ley Foon Tan
2018-08-15 18:01 ` [U-Boot] [PATCH] usb: dwc2: Add reset ctrl to driver Ley Foon Tan
2018-08-15 10:13   ` Marek Vasut
2018-08-15 10:22     ` Ley Foon Tan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.