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)
        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";
                         <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";
                        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";
                        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";