arm64: dts: mediatek: mt7622: add support for coherent DMA
authorFelix Fietkau <nbd@nbd.name>
Tue, 5 Apr 2022 19:57:44 +0000 (21:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Apr 2022 13:08:48 +0000 (14:08 +0100)
It improves performance by eliminating the need for a cache flush on rx and tx

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/arm64/boot/dts/mediatek/mt7622.dtsi

index 6f8cb3a..a2257ec 100644 (file)
                };
 
                cci_control2: slave-if@5000 {
-                       compatible = "arm,cci-400-ctrl-if";
+                       compatible = "arm,cci-400-ctrl-if", "syscon";
                        interface-type = "ace";
                        reg = <0x5000 0x1000>;
                };
                power-domains = <&scpsys MT7622_POWER_DOMAIN_ETHSYS>;
                mediatek,ethsys = <&ethsys>;
                mediatek,sgmiisys = <&sgmiisys>;
+               mediatek,cci-control = <&cci_control2>;
+               dma-coherent;
                #address-cells = <1>;
                #size-cells = <0>;
                status = "disabled";