ARM: at91: at91sam9x5: add clocks for usb device
authorBo Shen <voice.shen@atmel.com>
Fri, 11 Jul 2014 16:34:56 +0000 (18:34 +0200)
committerOlof Johansson <olof@lixom.net>
Sat, 12 Jul 2014 16:15:11 +0000 (09:15 -0700)
Add clocks for usb device, or else switch to CCF, the gadget
won't work.

Reported-by: Jiri Prchal <jiri.prchal@aksignal.cz>
Signed-off-by: Bo Shen <voice.shen@atmel.com>
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Tested-by: Jiri Prchal <jiri.prchal@aksignal.cz>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/boot/dts/at91sam9x5.dtsi

index d6133f497207ddee93b92ba8957a2cac73ace5a9..2ebc42140ea6bd527b57181e51c59eaf9c3c2ae1 100644 (file)
                                reg = <0x00500000 0x80000
                                       0xf803c000 0x400>;
                                interrupts = <23 IRQ_TYPE_LEVEL_HIGH 0>;
+                               clocks = <&usb>, <&udphs_clk>;
+                               clock-names = "hclk", "pclk";
                                status = "disabled";
 
                                ep0 {