فهرست منبع

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.

Acked-by: John Crispin <blogic@openwrt.org>
Cc: blogic@openwrt.org
Cc: linux-mips@linux-mips.org
Cc: Matthijs Kooijman <matthijs@stdin.nl>
Patchwork: https://patchwork.linux-mips.org/patch/5226/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Matthijs Kooijman 12 سال پیش
والد
کامیت
2792d42fe6
2فایلهای تغییر یافته به همراه14 افزوده شده و 0 حذف شده
  1. 10 0
      arch/mips/ralink/dts/rt3050.dtsi
  2. 4 0
      arch/mips/ralink/dts/rt3052_eval.dts

+ 10 - 0
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";
+	};
 };

+ 4 - 0
arch/mips/ralink/dts/rt3052_eval.dts

@@ -43,4 +43,8 @@
 			reg = <0x50000 0x7b0000>;
 		};
 	};
+
+	usb@101c0000 {
+		status = "ok";
+	};
 };