diff options
author | Felix Fietkau <nbd@nbd.name> | 2022-04-05 21:57:44 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-04-06 14:08:48 +0100 |
commit | 3abd063019b6a01762f9fccc39505f29d029360a (patch) | |
tree | 2540d3f97dca717c4691e90539dfe3ae460edf4e /arch | |
parent | d776a57e4a284b33bc839687afe9c381f3577eee (diff) | |
download | lwn-3abd063019b6a01762f9fccc39505f29d029360a.tar.gz lwn-3abd063019b6a01762f9fccc39505f29d029360a.zip |
arm64: dts: mediatek: mt7622: add support for coherent DMA
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm64/boot/dts/mediatek/mt7622.dtsi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi b/arch/arm64/boot/dts/mediatek/mt7622.dtsi index 6f8cb3ad1e84..a2257ec6d256 100644 --- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi @@ -357,7 +357,7 @@ }; cci_control2: slave-if@5000 { - compatible = "arm,cci-400-ctrl-if"; + compatible = "arm,cci-400-ctrl-if", "syscon"; interface-type = "ace"; reg = <0x5000 0x1000>; }; @@ -945,6 +945,8 @@ power-domains = <&scpsys MT7622_POWER_DOMAIN_ETHSYS>; mediatek,ethsys = <ðsys>; mediatek,sgmiisys = <&sgmiisys>; + mediatek,cci-control = <&cci_control2>; + dma-coherent; #address-cells = <1>; #size-cells = <0>; status = "disabled"; |