Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: Add missing ranges for am437x mcasp l3 ports

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>

+10 -4
+10 -4
arch/arm/boot/dts/am437x-l4.dtsi
··· 613 613 ranges = <0x00000000 0x48000000 0x100000>, /* segment 0 */ 614 614 <0x00100000 0x48100000 0x100000>, /* segment 1 */ 615 615 <0x00200000 0x48200000 0x100000>, /* segment 2 */ 616 - <0x00300000 0x48300000 0x100000>; /* segment 3 */ 616 + <0x00300000 0x48300000 0x100000>, /* segment 3 */ 617 + <0x46000000 0x46000000 0x400000>, /* l3 data port */ 618 + <0x46400000 0x46400000 0x400000>; /* l3 data port */ 617 619 618 620 segment@0 { /* 0x48000000 */ 619 621 compatible = "simple-bus"; ··· 666 664 <0x00034000 0x00034000 0x001000>, /* ap 80 */ 667 665 <0x00035000 0x00035000 0x001000>, /* ap 81 */ 668 666 <0x00036000 0x00036000 0x001000>, /* ap 84 */ 669 - <0x00037000 0x00037000 0x001000>; /* ap 85 */ 667 + <0x00037000 0x00037000 0x001000>, /* ap 85 */ 668 + <0x46000000 0x46000000 0x400000>, /* l3 data port */ 669 + <0x46400000 0x46400000 0x400000>; /* l3 data port */ 670 670 671 671 target-module@8000 { /* 0x48008000, ap 6 10.0 */ 672 672 compatible = "ti,sysc"; ··· 830 826 clock-names = "fck"; 831 827 #address-cells = <1>; 832 828 #size-cells = <1>; 833 - ranges = <0x0 0x38000 0x2000>; 829 + ranges = <0x0 0x38000 0x2000>, 830 + <0x46000000 0x46000000 0x400000>; 834 831 835 832 mcasp0: mcasp@0 { 836 833 compatible = "ti,am33xx-mcasp-audio"; ··· 862 857 clock-names = "fck"; 863 858 #address-cells = <1>; 864 859 #size-cells = <1>; 865 - ranges = <0x0 0x3c000 0x2000>; 860 + ranges = <0x0 0x3c000 0x2000>, 861 + <0x46400000 0x46400000 0x400000>; 866 862 867 863 mcasp1: mcasp@0 { 868 864 compatible = "ti,am33xx-mcasp-audio";