]> git.samba.org - sfrench/cifs-2.6.git/commitdiff
ARM: dts: Add missing ranges for am437x mcasp l3 ports
authorTony Lindgren <tony@atomide.com>
Wed, 5 Dec 2018 22:08:21 +0000 (14:08 -0800)
committerTony Lindgren <tony@atomide.com>
Wed, 5 Dec 2018 22:08:21 +0000 (14:08 -0800)
We need to add mcasp l3 port ranges for mcasp to use a correct l3
data port address for dma.

Fixes: d95adfd45853 ("ARM: dts: am437x: Move l4 child devices to
probe them with ti-sysc")
Reported-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Tested-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am437x-l4.dtsi

index ff2c11ed08770ecbc6f9184a9cbfd3f834725a16..ca0896f8024838db4e74c9f281066aad10c2ec06 100644 (file)
@@ -613,7 +613,9 @@ &l4_per {                                   /* 0x48000000 */
        ranges = <0x00000000 0x48000000 0x100000>,      /* segment 0 */
                 <0x00100000 0x48100000 0x100000>,      /* segment 1 */
                 <0x00200000 0x48200000 0x100000>,      /* segment 2 */
-                <0x00300000 0x48300000 0x100000>;      /* segment 3 */
+                <0x00300000 0x48300000 0x100000>,      /* segment 3 */
+                <0x46000000 0x46000000 0x400000>,      /* l3 data port */
+                <0x46400000 0x46400000 0x400000>;      /* l3 data port */
 
        segment@0 {                                     /* 0x48000000 */
                compatible = "simple-bus";
@@ -664,7 +666,9 @@ segment@0 {                                 /* 0x48000000 */
                         <0x00034000 0x00034000 0x001000>,      /* ap 80 */
                         <0x00035000 0x00035000 0x001000>,      /* ap 81 */
                         <0x00036000 0x00036000 0x001000>,      /* ap 84 */
-                        <0x00037000 0x00037000 0x001000>;      /* ap 85 */
+                        <0x00037000 0x00037000 0x001000>,      /* ap 85 */
+                        <0x46000000 0x46000000 0x400000>,      /* l3 data port */
+                        <0x46400000 0x46400000 0x400000>;      /* l3 data port */
 
                target-module@8000 {                    /* 0x48008000, ap 6 10.0 */
                        compatible = "ti,sysc";
@@ -826,7 +830,8 @@ target-module@38000 {                       /* 0x48038000, ap 14 04.0 */
                        clock-names = "fck";
                        #address-cells = <1>;
                        #size-cells = <1>;
-                       ranges = <0x0 0x38000 0x2000>;
+                       ranges = <0x0 0x38000 0x2000>,
+                                <0x46000000 0x46000000 0x400000>;
 
                        mcasp0: mcasp@0 {
                                compatible = "ti,am33xx-mcasp-audio";
@@ -857,7 +862,8 @@ target-module@3c000 {                       /* 0x4803c000, ap 16 2a.0 */
                        clock-names = "fck";
                        #address-cells = <1>;
                        #size-cells = <1>;
-                       ranges = <0x0 0x3c000 0x2000>;
+                       ranges = <0x0 0x3c000 0x2000>,
+                                <0x46400000 0x46400000 0x400000>;
 
                        mcasp1: mcasp@0 {
                                compatible = "ti,am33xx-mcasp-audio";