diff mbox series

MIPS: mscc: ocelot: enable FDMA usage

Message ID 20220624152548.128700-1-clement.leger@bootlin.com (mailing list archive)
State Accepted
Commit 5f7e2f3e7ce78719c438e9240ea7aa6779632068
Headers show
Series MIPS: mscc: ocelot: enable FDMA usage | expand

Commit Message

Clément Léger June 24, 2022, 3:25 p.m. UTC
From: Alexandre Belloni <alexandre.belloni@bootlin.com>

Enable FDMA usage by adding "fdma" resource in regs and interrupts.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Clément Léger <clement.leger@bootlin.com>
---
 arch/mips/boot/dts/mscc/ocelot.dtsi | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Comments

Vladimir Oltean June 30, 2022, 3:43 p.m. UTC | #1
On Fri, Jun 24, 2022 at 05:25:48PM +0200, Clément Léger wrote:
> From: Alexandre Belloni <alexandre.belloni@bootlin.com>
> 
> Enable FDMA usage by adding "fdma" resource in regs and interrupts.
> 
> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
> Signed-off-by: Clément Léger <clement.leger@bootlin.com>
> ---

Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Thomas Bogendoerfer July 5, 2022, 10:21 a.m. UTC | #2
On Fri, Jun 24, 2022 at 05:25:48PM +0200, Clément Léger wrote:
> From: Alexandre Belloni <alexandre.belloni@bootlin.com>
> 
> Enable FDMA usage by adding "fdma" resource in regs and interrupts.
> 
> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
> Signed-off-by: Clément Léger <clement.leger@bootlin.com>
> ---
>  arch/mips/boot/dts/mscc/ocelot.dtsi | 9 +++++----
>  1 file changed, 5 insertions(+), 4 deletions(-)
> 
> diff --git a/arch/mips/boot/dts/mscc/ocelot.dtsi b/arch/mips/boot/dts/mscc/ocelot.dtsi
> index cfc219a72bdd..6bd8a1ad94da 100644
> --- a/arch/mips/boot/dts/mscc/ocelot.dtsi
> +++ b/arch/mips/boot/dts/mscc/ocelot.dtsi
> @@ -136,13 +136,14 @@ switch@1010000 {
>  			      <0x1880000 0x10000>,
>  			      <0x1040000 0x10000>,
>  			      <0x1050000 0x10000>,
> -			      <0x1060000 0x10000>;
> +			      <0x1060000 0x10000>,
> +			      <0x1a0 0x1c4>;
>  			reg-names = "sys", "rew", "qs", "ptp", "port0", "port1",
>  				    "port2", "port3", "port4", "port5", "port6",
>  				    "port7", "port8", "port9", "port10", "qsys",
> -				    "ana", "s0", "s1", "s2";
> -			interrupts = <18 21 22>;
> -			interrupt-names = "ptp_rdy", "xtr", "inj";
> +				    "ana", "s0", "s1", "s2", "fdma";
> +			interrupts = <18 21 22 16>;
> +			interrupt-names = "ptp_rdy", "xtr", "inj", "fdma";
>  
>  			ethernet-ports {
>  				#address-cells = <1>;
> -- 
> 2.36.1

applied to mips-next.

Thomas.
diff mbox series

Patch

diff --git a/arch/mips/boot/dts/mscc/ocelot.dtsi b/arch/mips/boot/dts/mscc/ocelot.dtsi
index cfc219a72bdd..6bd8a1ad94da 100644
--- a/arch/mips/boot/dts/mscc/ocelot.dtsi
+++ b/arch/mips/boot/dts/mscc/ocelot.dtsi
@@ -136,13 +136,14 @@  switch@1010000 {
 			      <0x1880000 0x10000>,
 			      <0x1040000 0x10000>,
 			      <0x1050000 0x10000>,
-			      <0x1060000 0x10000>;
+			      <0x1060000 0x10000>,
+			      <0x1a0 0x1c4>;
 			reg-names = "sys", "rew", "qs", "ptp", "port0", "port1",
 				    "port2", "port3", "port4", "port5", "port6",
 				    "port7", "port8", "port9", "port10", "qsys",
-				    "ana", "s0", "s1", "s2";
-			interrupts = <18 21 22>;
-			interrupt-names = "ptp_rdy", "xtr", "inj";
+				    "ana", "s0", "s1", "s2", "fdma";
+			interrupts = <18 21 22 16>;
+			interrupt-names = "ptp_rdy", "xtr", "inj", "fdma";
 
 			ethernet-ports {
 				#address-cells = <1>;