MIPS: mscc: ocelot: enable FDMA usage
Subsystems (3)
PATCH 1/1 MIPS: mscc: ocelot: enable FDMA usage
From: Alexandre Belloni <[email protected]>
Enable FDMA usage by adding "fdma" resource in regs and interrupts.
Signed-off-by Alexandre Belloni <[email protected]>
Signed-off-by Clément Léger <[email protected]>
--- arch/mips/boot/dts/mscc/ocelot.dtsi | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
arch/mips/boot/dts/mscc/ocelot.dtsi +5 -4
@@ -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>;
Signature · 1 line
2.36.1
Quoted 7 lines · Clément Léger
From: Alexandre Belloni <[email protected]>
Enable FDMA usage by adding "fdma" resource in regs and interrupts.
Signed-off-by Alexandre Belloni <[email protected]>Signed-off-by Clément Léger <[email protected]>---
Reviewed-by Vladimir Oltean <[email protected]>
Quoted 35 lines · Clément Léger
From: Alexandre Belloni <[email protected]>
Enable FDMA usage by adding "fdma" resource in regs and interrupts.
Signed-off-by Alexandre Belloni <[email protected]>Signed-off-by Clément Léger <[email protected]>--- arch/mips/boot/dts/mscc/ocelot.dtsi | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)arch/mips/boot/dts/mscc/ocelot.dtsi +5
-4@@ -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>;Signature · 1 line
2.36.1
applied to mips-next.
Thomas.
Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]