Selaa lähdekoodia

powerpc/83xx: Add USB Host support for MPC8360E-RDK boards

Simply add the usb node to support USB host on the MPC8360E-RDK
boards.

Currently U-Boot doesn't fill the clock-frequency property for
timer nodes, so for now we have to fill it manually.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Anton Vorontsov 16 vuotta sitten
vanhempi
commit
25adde18e6
1 muutettua tiedostoa jossa 17 lisäystä ja 2 poistoa
  1. 17 2
      arch/powerpc/boot/dts/mpc836x_rdk.dts

+ 17 - 2
arch/powerpc/boot/dts/mpc836x_rdk.dts

@@ -218,8 +218,23 @@
 				reg = <0x440 0x40>;
 				reg = <0x440 0x40>;
 				interrupts = <12 13 14 15>;
 				interrupts = <12 13 14 15>;
 				interrupt-parent = <&qeic>;
 				interrupt-parent = <&qeic>;
-				/* filled by u-boot */
-				clock-frequency = <0>;
+				clock-frequency = <166666666>;
+			};
+
+			usb@6c0 {
+				compatible = "fsl,mpc8360-qe-usb",
+					     "fsl,mpc8323-qe-usb";
+				reg = <0x6c0 0x40 0x8b00 0x100>;
+				interrupts = <11>;
+				interrupt-parent = <&qeic>;
+				fsl,fullspeed-clock = "clk21";
+				gpios = <&qe_pio_b  2 0 /* USBOE */
+					 &qe_pio_b  3 0 /* USBTP */
+					 &qe_pio_b  8 0 /* USBTN */
+					 &qe_pio_b  9 0 /* USBRP */
+					 &qe_pio_b 11 0 /* USBRN */
+					 &qe_pio_e 20 0 /* SPEED */
+					 &qe_pio_e 21 1 /* POWER */>;
 			};
 			};
 
 
 			spi@4c0 {
 			spi@4c0 {