mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 17:03:47 -04:00
ARM: dts: NSP: Add dma-coherent to relevant DT entries
Cache related issues with DMA rings and performance issues related to caching are being caused by not properly setting the "dma-coherent" flag in the device tree entries. Adding it here to correct the issue. Signed-off-by: Jon Mason <jon.mason@broadcom.com> Fixes:3107fa5bcf("ARM: dts: NSP: Add SD/MMC support") Fixes:13d04f2093("ARM: dts: NSP: Add AMAC entries") Fixes:5aeda7bf8a("ARM: dts: NSP: Add and enable amac2") Fixes:17d5171723("ARM: dts: NSP: Add mailbox (PDC) to NSP") Fixes:1d8ece6639("ARM: dts: NSP: Add EHCI/OHCI USB nodes to device tree") Fixes:0f9f27a36d("ARM: dts: NSP: Add I2C support to the DT") Fixes:8dbcad020f("ARM: dts: nsp: Add sata device tree entry") Fixes:522199029f("ARM: dts: NSP: Fix PCIE DT issue") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
This commit is contained in:
committed by
Florian Fainelli
parent
69d22c70ac
commit
56e2ff0346
@@ -215,6 +215,7 @@ sdio: sdhci@21000 {
|
||||
interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
|
||||
sdhci,auto-cmd12;
|
||||
clocks = <&lcpll0 BCM_NSP_LCPLL0_SDIO_CLK>;
|
||||
dma-coherent;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -224,6 +225,7 @@ amac0: ethernet@22000 {
|
||||
<0x110000 0x1000>;
|
||||
reg-names = "amac_base", "idm_base";
|
||||
interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
|
||||
dma-coherent;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -233,6 +235,7 @@ amac1: ethernet@23000 {
|
||||
<0x111000 0x1000>;
|
||||
reg-names = "amac_base", "idm_base";
|
||||
interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
|
||||
dma-coherent;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -242,6 +245,7 @@ amac2: ethernet@24000 {
|
||||
<0x112000 0x1000>;
|
||||
reg-names = "amac_base", "idm_base";
|
||||
interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
|
||||
dma-coherent;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -252,6 +256,7 @@ mailbox: mailbox@25000 {
|
||||
#mbox-cells = <1>;
|
||||
brcm,rx-status-len = <32>;
|
||||
brcm,use-bcm-hdr;
|
||||
dma-coherent;
|
||||
};
|
||||
|
||||
nand: nand@26000 {
|
||||
@@ -325,6 +330,7 @@ ehci0: usb@2a000 {
|
||||
compatible = "generic-ehci";
|
||||
reg = <0x2a000 0x100>;
|
||||
interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
|
||||
dma-coherent;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -332,6 +338,7 @@ ohci0: usb@2b000 {
|
||||
compatible = "generic-ohci";
|
||||
reg = <0x2b000 0x100>;
|
||||
interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
|
||||
dma-coherent;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -376,6 +383,7 @@ i2c0: i2c@38000 {
|
||||
#size-cells = <0>;
|
||||
interrupts = <GIC_SPI 89 IRQ_TYPE_NONE>;
|
||||
clock-frequency = <100000>;
|
||||
dma-coherent;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
@@ -446,6 +454,7 @@ sata: ahci@41000 {
|
||||
interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
dma-coherent;
|
||||
status = "disabled";
|
||||
|
||||
sata0: sata-port@0 {
|
||||
@@ -483,6 +492,7 @@ pcie0: pcie@18012000 {
|
||||
*/
|
||||
ranges = <0x82000000 0 0x08000000 0x08000000 0 0x8000000>;
|
||||
|
||||
dma-coherent;
|
||||
status = "disabled";
|
||||
|
||||
msi-parent = <&msi0>;
|
||||
@@ -519,6 +529,7 @@ pcie1: pcie@18013000 {
|
||||
*/
|
||||
ranges = <0x82000000 0 0x40000000 0x40000000 0 0x8000000>;
|
||||
|
||||
dma-coherent;
|
||||
status = "disabled";
|
||||
|
||||
msi-parent = <&msi1>;
|
||||
@@ -555,6 +566,7 @@ pcie2: pcie@18014000 {
|
||||
*/
|
||||
ranges = <0x82000000 0 0x48000000 0x48000000 0 0x8000000>;
|
||||
|
||||
dma-coherent;
|
||||
status = "disabled";
|
||||
|
||||
msi-parent = <&msi2>;
|
||||
|
||||
Reference in New Issue
Block a user