Devicetree
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: at919260/at91sam9g20: fix SRAM device tree node
@ 2015-03-02  6:03 Wenyou Yang
       [not found] ` <1425276209-4899-1-git-send-email-wenyou.yang-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Wenyou Yang @ 2015-03-02  6:03 UTC (permalink / raw)
  To: nicolas.ferre
  Cc: mark.rutland, devicetree, linux, pawel.moll, ijc+devicetree,
	linux-kernel, wenyou.yang, robh+dt, galak, linux,
	linux-arm-kernel

Fix PM does not work on the at91sam9g20ek board
--->8---
at91_pm_sram_init: failed to find sram device!
---<8---

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
---
 arch/arm/boot/dts/at91sam9260.dtsi |    9 +++++++--
 arch/arm/boot/dts/at91sam9g20.dtsi |    9 +++++----
 2 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/arch/arm/boot/dts/at91sam9260.dtsi b/arch/arm/boot/dts/at91sam9260.dtsi
index fff0ee6..d1eb27c 100644
--- a/arch/arm/boot/dts/at91sam9260.dtsi
+++ b/arch/arm/boot/dts/at91sam9260.dtsi
@@ -69,9 +69,14 @@
 		};
 	};
 
-	sram0: sram@002ff000 {
+	sram0: sram@00200000 {
 		compatible = "mmio-sram";
-		reg = <0x002ff000 0x2000>;
+		reg = <0x00200000 0x1000>;
+	};
+
+	sram1: sram@00300000 {
+		compatible = "mmio-sram";
+		reg = <0x00300000 0x1000>;
 	};
 
 	ahb {
diff --git a/arch/arm/boot/dts/at91sam9g20.dtsi b/arch/arm/boot/dts/at91sam9g20.dtsi
index f593016..eb9a62d 100644
--- a/arch/arm/boot/dts/at91sam9g20.dtsi
+++ b/arch/arm/boot/dts/at91sam9g20.dtsi
@@ -16,13 +16,14 @@
 		reg = <0x20000000 0x08000000>;
 	};
 
-	sram0: sram@002ff000 {
-		status = "disabled";
+	sram0: sram@00200000 {
+		compatible = "mmio-sram";
+		reg = <0x00200000 0x4000>;
 	};
 
-	sram1: sram@002fc000 {
+	sram1: sram@00300000 {
 		compatible = "mmio-sram";
-		reg = <0x002fc000 0x8000>;
+		reg = <0x00300000 0x4000>;
 	};
 
 	ahb {
-- 
1.7.9.5

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

end of thread, other threads:[~2015-03-02  9:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-02  6:03 [PATCH] ARM: dts: at919260/at91sam9g20: fix SRAM device tree node Wenyou Yang
     [not found] ` <1425276209-4899-1-git-send-email-wenyou.yang-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2015-03-02  9:53   ` Alexandre Belloni
     [not found]     ` <20150302095359.GJ4094-m++hUPXGwpdeoWH0uzbU5w@public.gmane.org>
2015-03-02  9:59       ` Yang, Wenyou

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox