arm64: dts: ls1043a: make dma-coherent global to the SoC
authorLi Yang <leoyang.li@nxp.com>
Wed, 14 Sep 2022 21:46:59 +0000 (16:46 -0500)
committerShawn Guo <shawnguo@kernel.org>
Sat, 17 Sep 2022 08:35:23 +0000 (16:35 +0800)
ls1043a is really completely dma coherent in their entirety so add the
dma-coherent property at the soc level in the device tree and drop the
instances where it's specifically added to a few select devices.

Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: Li Yang <leoyang.li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi

index 0da8d81..5749de5 100644 (file)
                #size-cells = <2>;
                ranges;
                dma-ranges = <0x0 0x0 0x0 0x0 0x10000 0x00000000>;
+               dma-coherent;
 
                clockgen: clocking@1ee1000 {
                        compatible = "fsl,ls1043a-clockgen";
                        #address-cells = <3>;
                        #size-cells = <2>;
                        device_type = "pci";
-                       dma-coherent;
                        num-viewport = <6>;
                        bus-range = <0x0 0xff>;
                        ranges = <0x81000000 0x0 0x00000000 0x40 0x00010000 0x0 0x00010000   /* downstream I/O */
                        #address-cells = <3>;
                        #size-cells = <2>;
                        device_type = "pci";
-                       dma-coherent;
                        num-viewport = <6>;
                        bus-range = <0x0 0xff>;
                        ranges = <0x81000000 0x0 0x00000000 0x48 0x00010000 0x0 0x00010000   /* downstream I/O */
                        #address-cells = <3>;
                        #size-cells = <2>;
                        device_type = "pci";
-                       dma-coherent;
                        num-viewport = <6>;
                        bus-range = <0x0 0xff>;
                        ranges = <0x81000000 0x0 0x00000000 0x50 0x00010000 0x0 0x00010000   /* downstream I/O */