Skip to content

Commit b9dbe01

Browse files
clayfaceffainelli
authored andcommitted
ARM: dts: NSP: Disable PL330 by default, add dma-coherent property
Currently the PL330 is enabled by default. However if left in IDM reset, as is the case with the Meraki and Synology NSP devices, the system will hang when probing for the PL330's AMBA peripheral ID. We therefore should be able to disable it in these cases. The PL330 is also included among of the list of peripherals put into coherent mode, so "dma-coherent" has been added here as well. Fixes: 5fa1026 ("ARM: dts: NSP: Add PL330 support") Signed-off-by: Matthew Hagan <[email protected]> Signed-off-by: Florian Fainelli <[email protected]>
1 parent de1f6d9 commit b9dbe01

File tree

8 files changed

+31
-1
lines changed

8 files changed

+31
-1
lines changed

arch/arm/boot/dts/bcm-nsp.dtsi

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@
200200
status = "disabled";
201201
};
202202

203-
dma@20000 {
203+
dma: dma@20000 {
204204
compatible = "arm,pl330", "arm,primecell";
205205
reg = <0x20000 0x1000>;
206206
interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>,
@@ -215,6 +215,8 @@
215215
clocks = <&iprocslow>;
216216
clock-names = "apb_pclk";
217217
#dma-cells = <1>;
218+
dma-coherent;
219+
status = "disabled";
218220
};
219221

220222
sdio: sdhci@21000 {

arch/arm/boot/dts/bcm958522er.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@
5858

5959
/* USB 3 support needed to be complete */
6060

61+
&dma {
62+
status = "okay";
63+
};
64+
6165
&amac0 {
6266
status = "okay";
6367
};

arch/arm/boot/dts/bcm958525er.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@
5858

5959
/* USB 3 support needed to be complete */
6060

61+
&dma {
62+
status = "okay";
63+
};
64+
6165
&amac0 {
6266
status = "okay";
6367
};

arch/arm/boot/dts/bcm958525xmc.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@
5858

5959
/* XHCI support needed to be complete */
6060

61+
&dma {
62+
status = "okay";
63+
};
64+
6165
&amac0 {
6266
status = "okay";
6367
};

arch/arm/boot/dts/bcm958622hr.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@
5858

5959
/* USB 3 and SLIC support needed to be complete */
6060

61+
&dma {
62+
status = "okay";
63+
};
64+
6165
&amac0 {
6266
status = "okay";
6367
};

arch/arm/boot/dts/bcm958623hr.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@
5858

5959
/* USB 3 and SLIC support needed to be complete */
6060

61+
&dma {
62+
status = "okay";
63+
};
64+
6165
&amac0 {
6266
status = "okay";
6367
};

arch/arm/boot/dts/bcm958625hr.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@
6969
status = "okay";
7070
};
7171

72+
&dma {
73+
status = "okay";
74+
};
75+
7276
&amac0 {
7377
status = "okay";
7478
};

arch/arm/boot/dts/bcm958625k.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@
4848
};
4949
};
5050

51+
&dma {
52+
status = "okay";
53+
};
54+
5155
&amac0 {
5256
status = "okay";
5357
};

0 commit comments

Comments
 (0)