Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH 1/3] MIPS: ralink: use the dwc2 driver for the rt305x USB controller
@ 2013-04-15 10:27 Matthijs Kooijman
  2013-04-15 10:27 ` [PATCH 2/3] MIPS: ralink: setup dma_mask for the rt305x dwc2 usb controller Matthijs Kooijman
  2013-04-15 10:27 ` [PATCH 3/3] owrt: MIPS: ralink: add usb platform support Matthijs Kooijman
  0 siblings, 2 replies; 6+ messages in thread
From: Matthijs Kooijman @ 2013-04-15 10:27 UTC (permalink / raw)
  To: John Crispin; +Cc: linux-mips, Matthijs Kooijman

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(+)

v2: Rebased on top of mips-next-3.10
    Renamed device from "otg" to "usb"
diff --git a/arch/mips/ralink/dts/rt3050.dtsi b/arch/mips/ralink/dts/rt3050.dtsi
index ef7da1e..e3203d4 100644
--- a/arch/mips/ralink/dts/rt3050.dtsi
+++ b/arch/mips/ralink/dts/rt3050.dtsi
@@ -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";
+	};
 };
diff --git a/arch/mips/ralink/dts/rt3052_eval.dts b/arch/mips/ralink/dts/rt3052_eval.dts
index a2341c1..93061ff 100644
--- a/arch/mips/ralink/dts/rt3052_eval.dts
+++ b/arch/mips/ralink/dts/rt3052_eval.dts
@@ -45,4 +45,8 @@
 			reg = <0x50000 0x7b0000>;
 		};
 	};
+
+	usb@101c0000 {
+		status = "ok";
+	};
 };
-- 
1.8.0

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-04-15 11:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-15 10:27 [PATCH 1/3] MIPS: ralink: use the dwc2 driver for the rt305x USB controller Matthijs Kooijman
2013-04-15 10:27 ` [PATCH 2/3] MIPS: ralink: setup dma_mask for the rt305x dwc2 usb controller Matthijs Kooijman
2013-04-15 11:04   ` John Crispin
2013-04-15 10:27 ` [PATCH 3/3] owrt: MIPS: ralink: add usb platform support Matthijs Kooijman
2013-04-15 10:28   ` John Crispin
2013-04-15 11:23     ` Sergei Shtylyov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox