Skip to contentSkip to conversation

MIPS: ralink: use the dwc2 driver for the rt305x USB controller

PATCH In review Matthijs Kooijman 2 participants 2 messages May 9, 2013 – May 17, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 MIPS: ralink: use the dwc2 driver for the rt305x USB controller

This sets up the devicetree file for the rt3050 chip series and rt3052 eval board to use the right compatible string for the dwc2 driver.

---
 arch/mips/ralink/dts/rt3050.dtsi     | 10 ++++++++++
 arch/mips/ralink/dts/rt3052_eval.dts |  4 ++++
 2 files changed, 14 insertions(+)

This is the same patch I sent previously, but now on its own (without the additional DMA setup patches, which I'm trying to get added to the dwc2 driver itself).

arch/mips/ralink/dts/rt3050.dtsi +10 -0
index ef7da1e..e3203d4 100644
@@ -55,4 +55,14 @@
 			reg-shift = <2>;
 		};
 	};
+
+	usb@101c0000 {
+		compatible = "ralink,rt3050-usb", "snps,dwc2";
+		reg = <0x101c0000 40000>;
+
+		interrupt-parent = <&intc>;
+		interrupts = <18>;
+
+		status = "disabled";
+	};
 };
arch/mips/ralink/dts/rt3052_eval.dts +4 -0
index df17f5f..77208c1 100644
@@ -43,4 +43,8 @@
 			reg = <0x50000 0x7b0000>;
 		};
 	};
+
+	usb@101c0000 {
+		status = "ok";
+	};
 };
Signature · 1 line
1.8.0