All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] ARM: dts: am335x: Fix UARTs length
@ 2019-07-24 12:23 Emmanuel Vadot
  2019-07-24 12:23 ` [PATCH 1/1] " Emmanuel Vadot
  0 siblings, 1 reply; 3+ messages in thread
From: Emmanuel Vadot @ 2019-07-24 12:23 UTC (permalink / raw)
  To: bcousson, tony, robh+dt, mark.rutland, linux-omap
  Cc: devicetree, linux-kernel, Emmanuel Vadot

For some reason the uart region size were set to 0x2000 while the TRM clearly
specify that the size is 0x1000.
I guess this is not a problem on Linux but for FreeBSD the resource manager will
not allow the mapping when the region declared in the parents is less that the one
declared in the child.

Emmanuel Vadot (1):
  ARM: dts: am335x: Fix UARTs length

 arch/arm/boot/dts/am33xx-l4.dtsi | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

-- 
2.22.0

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

* [PATCH 1/1] ARM: dts: am335x: Fix UARTs length
  2019-07-24 12:23 [PATCH 0/1] ARM: dts: am335x: Fix UARTs length Emmanuel Vadot
@ 2019-07-24 12:23 ` Emmanuel Vadot
  2019-08-13 10:20   ` Tony Lindgren
  0 siblings, 1 reply; 3+ messages in thread
From: Emmanuel Vadot @ 2019-07-24 12:23 UTC (permalink / raw)
  To: bcousson, tony, robh+dt, mark.rutland, linux-omap
  Cc: devicetree, linux-kernel, Emmanuel Vadot

As seen on the AM335x TRM all the UARTs controller only are 0x1000 in size.
Fix this in the DTS.

Signed-off-by: Emmanuel Vadot <manu@freebsd.org>
---
 arch/arm/boot/dts/am33xx-l4.dtsi | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/arm/boot/dts/am33xx-l4.dtsi b/arch/arm/boot/dts/am33xx-l4.dtsi
index ced1a19d5f89..a20b04b72be4 100644
--- a/arch/arm/boot/dts/am33xx-l4.dtsi
+++ b/arch/arm/boot/dts/am33xx-l4.dtsi
@@ -185,7 +185,7 @@
 			uart0: serial@0 {
 				compatible = "ti,am3352-uart", "ti,omap3-uart";
 				clock-frequency = <48000000>;
-				reg = <0x0 0x2000>;
+				reg = <0x0 0x1000>;
 				interrupts = <72>;
 				status = "disabled";
 				dmas = <&edma 26 0>, <&edma 27 0>;
@@ -934,7 +934,7 @@
 			uart1: serial@0 {
 				compatible = "ti,am3352-uart", "ti,omap3-uart";
 				clock-frequency = <48000000>;
-				reg = <0x0 0x2000>;
+				reg = <0x0 0x1000>;
 				interrupts = <73>;
 				status = "disabled";
 				dmas = <&edma 28 0>, <&edma 29 0>;
@@ -966,7 +966,7 @@
 			uart2: serial@0 {
 				compatible = "ti,am3352-uart", "ti,omap3-uart";
 				clock-frequency = <48000000>;
-				reg = <0x0 0x2000>;
+				reg = <0x0 0x1000>;
 				interrupts = <74>;
 				status = "disabled";
 				dmas = <&edma 30 0>, <&edma 31 0>;
@@ -1614,7 +1614,7 @@
 			uart3: serial@0 {
 				compatible = "ti,am3352-uart", "ti,omap3-uart";
 				clock-frequency = <48000000>;
-				reg = <0x0 0x2000>;
+				reg = <0x0 0x1000>;
 				interrupts = <44>;
 				status = "disabled";
 			};
@@ -1644,7 +1644,7 @@
 			uart4: serial@0 {
 				compatible = "ti,am3352-uart", "ti,omap3-uart";
 				clock-frequency = <48000000>;
-				reg = <0x0 0x2000>;
+				reg = <0x0 0x1000>;
 				interrupts = <45>;
 				status = "disabled";
 			};
@@ -1674,7 +1674,7 @@
 			uart5: serial@0 {
 				compatible = "ti,am3352-uart", "ti,omap3-uart";
 				clock-frequency = <48000000>;
-				reg = <0x0 0x2000>;
+				reg = <0x0 0x1000>;
 				interrupts = <46>;
 				status = "disabled";
 			};
-- 
2.22.0

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

* Re: [PATCH 1/1] ARM: dts: am335x: Fix UARTs length
  2019-07-24 12:23 ` [PATCH 1/1] " Emmanuel Vadot
@ 2019-08-13 10:20   ` Tony Lindgren
  0 siblings, 0 replies; 3+ messages in thread
From: Tony Lindgren @ 2019-08-13 10:20 UTC (permalink / raw)
  To: Emmanuel Vadot
  Cc: bcousson, robh+dt, mark.rutland, linux-omap, devicetree,
	linux-kernel

Hi,

* Emmanuel Vadot <manu@freebsd.org> [190724 05:24]:
> As seen on the AM335x TRM all the UARTs controller only are 0x1000 in size.
> Fix this in the DTS.

Thanks applying into fixes.

FYI, the module size is usually (but not always) 0x1000 with additional
0x1000 for the interconnect related registers.

Regards,

Tony

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

end of thread, other threads:[~2019-08-13 10:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-24 12:23 [PATCH 0/1] ARM: dts: am335x: Fix UARTs length Emmanuel Vadot
2019-07-24 12:23 ` [PATCH 1/1] " Emmanuel Vadot
2019-08-13 10:20   ` Tony Lindgren

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.