devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: Juno: fix the wrong memory map sizes for the I2C/EHCI/OHCI
@ 2015-08-17  2:05 Huang Shijie
  0 siblings, 0 replies; 2+ messages in thread
From: Huang Shijie @ 2015-08-17  2:05 UTC (permalink / raw)
  To: catalin.marinas-5wv7dgnIgG8
  Cc: will.deacon-5wv7dgnIgG8, devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Huang Shijie

>From the "Juno ARM Development Platform Soc Techinical Reference Mannual(r1p0)",
we get the following memory map sizes (3-25):
	I2C      : 0x7ffa0000  0x7ffa00ff       (256B)
	USB OHCI : 0x7ffb0000  0x7ffb0fff       (4KB)
	USB EHCI : 0x7ffc0000  0x7ffc0fff       (4KB)

This patch fixes the wrong memory map sizes for them.

Signed-off-by: Huang Shijie <shijie.huang-5wv7dgnIgG8@public.gmane.org>
---
 arch/arm64/boot/dts/arm/juno-base.dtsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/arm/juno-base.dtsi b/arch/arm64/boot/dts/arm/juno-base.dtsi
index e3ee960..7b2715f 100644
--- a/arch/arm64/boot/dts/arm/juno-base.dtsi
+++ b/arch/arm64/boot/dts/arm/juno-base.dtsi
@@ -74,7 +74,7 @@
 
 	i2c@7ffa0000 {
 		compatible = "snps,designware-i2c";
-		reg = <0x0 0x7ffa0000 0x0 0x1000>;
+		reg = <0x0 0x7ffa0000 0x0 0x100>;
 		#address-cells = <1>;
 		#size-cells = <0>;
 		interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
@@ -95,14 +95,14 @@
 
 	ohci@7ffb0000 {
 		compatible = "generic-ohci";
-		reg = <0x0 0x7ffb0000 0x0 0x10000>;
+		reg = <0x0 0x7ffb0000 0x0 0x1000>;
 		interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
 		clocks = <&soc_usb48mhz>;
 	};
 
 	ehci@7ffc0000 {
 		compatible = "generic-ehci";
-		reg = <0x0 0x7ffc0000 0x0 0x10000>;
+		reg = <0x0 0x7ffc0000 0x0 0x1000>;
 		interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
 		clocks = <&soc_usb48mhz>;
 	};
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* [PATCH] arm64: dts: Juno: fix the wrong memory map sizes for the I2C/EHCI/OHCI
@ 2015-08-17  3:24 Huang Shijie
  0 siblings, 0 replies; 2+ messages in thread
From: Huang Shijie @ 2015-08-17  3:24 UTC (permalink / raw)
  To: catalin.marinas-5wv7dgnIgG8
  Cc: will.deacon-5wv7dgnIgG8, shijie8-Re5JQEeQqe8AvxtiuMwx3w,
	devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, Huang Shijie

>From the "Juno ARM Development Platform Soc Techinical Reference Mannual(r1p0)",
we get the following memory map sizes (3-25):
	I2C      : 0x7ffa0000  0x7ffa00ff       (256B)
	USB OHCI : 0x7ffb0000  0x7ffb0fff       (4KB)
	USB EHCI : 0x7ffc0000  0x7ffc0fff       (4KB)

This patch fixes the wrong memory map sizes for them.

Signed-off-by: Huang Shijie <shijie.huang-5wv7dgnIgG8@public.gmane.org>
---
There is something wrong with my email account, so try to send it out again.
---
 arch/arm64/boot/dts/arm/juno-base.dtsi | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/arm/juno-base.dtsi b/arch/arm64/boot/dts/arm/juno-base.dtsi
index e3ee960..7b2715f 100644
--- a/arch/arm64/boot/dts/arm/juno-base.dtsi
+++ b/arch/arm64/boot/dts/arm/juno-base.dtsi
@@ -74,7 +74,7 @@
 
 	i2c@7ffa0000 {
 		compatible = "snps,designware-i2c";
-		reg = <0x0 0x7ffa0000 0x0 0x1000>;
+		reg = <0x0 0x7ffa0000 0x0 0x100>;
 		#address-cells = <1>;
 		#size-cells = <0>;
 		interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
@@ -95,14 +95,14 @@
 
 	ohci@7ffb0000 {
 		compatible = "generic-ohci";
-		reg = <0x0 0x7ffb0000 0x0 0x10000>;
+		reg = <0x0 0x7ffb0000 0x0 0x1000>;
 		interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
 		clocks = <&soc_usb48mhz>;
 	};
 
 	ehci@7ffc0000 {
 		compatible = "generic-ehci";
-		reg = <0x0 0x7ffc0000 0x0 0x10000>;
+		reg = <0x0 0x7ffc0000 0x0 0x1000>;
 		interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>;
 		clocks = <&soc_usb48mhz>;
 	};
-- 
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2015-08-17  3:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-17  2:05 [PATCH] arm64: dts: Juno: fix the wrong memory map sizes for the I2C/EHCI/OHCI Huang Shijie
  -- strict thread matches above, loose matches on Subject: below --
2015-08-17  3:24 Huang Shijie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).