aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/boot
diff options
context:
space:
mode:
authorMaarten ter Huurne <maarten@treewalker.org>2016-04-18 14:58:52 -0400
committerRalf Baechle <ralf@linux-mips.org>2016-05-13 13:09:24 -0400
commit9d1e7875fafc45dbcbe3d816b022aa1f17219f32 (patch)
tree44807da199e9ba3dc6f2a317d8b37627f94c61dc /arch/mips/boot
parent46d6ccdbf384f3659e204824d3bce40c1fa989de (diff)
MIPS: JZ4740: Probe OHCI platform device via DT
The DT fragment will select the ohci-platform driver, since that can handle the JZ4740 OHCI just fine. While I don't have a JZ4740-based board with anything connected to the USB host controller, I did test the generic OHCI driver successfully on a JZ4770-based board. The device is disabled by default; boards that want to use it can override the "status" property. The mass-production Qi LB60 boards don't use the USB host controller. Signed-off-by: Maarten ter Huurne <maarten@treewalker.org> Cc: Lars-Peter Clausen <lars@metafoo.de> Cc: Paul Cercueil <paul@crapouillou.net> Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/13104/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/boot')
-rw-r--r--arch/mips/boot/dts/ingenic/jz4740.dtsi14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/mips/boot/dts/ingenic/jz4740.dtsi b/arch/mips/boot/dts/ingenic/jz4740.dtsi
index 8b2437cd019f..4a9c8f2a72d6 100644
--- a/arch/mips/boot/dts/ingenic/jz4740.dtsi
+++ b/arch/mips/boot/dts/ingenic/jz4740.dtsi
@@ -65,4 +65,18 @@
65 clocks = <&ext>, <&cgu JZ4740_CLK_UART1>; 65 clocks = <&ext>, <&cgu JZ4740_CLK_UART1>;
66 clock-names = "baud", "module"; 66 clock-names = "baud", "module";
67 }; 67 };
68
69 uhc: uhc@13030000 {
70 compatible = "ingenic,jz4740-ohci", "generic-ohci";
71 reg = <0x13030000 0x1000>;
72
73 clocks = <&cgu JZ4740_CLK_UHC>;
74 assigned-clocks = <&cgu JZ4740_CLK_UHC>;
75 assigned-clock-rates = <48000000>;
76
77 interrupt-parent = <&intc>;
78 interrupts = <3>;
79
80 status = "disabled";
81 };
68}; 82};