aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoman Byshko <rbyshko@gmail.com>2014-03-01 14:26:23 -0500
committerMaxime Ripard <maxime.ripard@free-electrons.com>2014-03-04 11:43:10 -0500
commit6ab1ce244be33115b4fbffd10684b734dc14699d (patch)
treeaf71d22c2449292042d882a313fe2d2fe865e4e1
parent902febf9ea856dc9a9376bcdc70dfaa9b3ad5a74 (diff)
ARM: sun4i: dt: Add USB host bindings
Add nodes for the usb-phy and ehci- and ohci-usb-host controllers. Signed-off-by: Roman Byshko <rbyshko@gmail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
-rw-r--r--arch/arm/boot/dts/sun4i-a10.dtsi52
1 files changed, 52 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi
index c542f72df232..56eaf11c4468 100644
--- a/arch/arm/boot/dts/sun4i-a10.dtsi
+++ b/arch/arm/boot/dts/sun4i-a10.dtsi
@@ -377,6 +377,38 @@
377 #size-cells = <0>; 377 #size-cells = <0>;
378 }; 378 };
379 379
380 usbphy: phy@01c13400 {
381 #phy-cells = <1>;
382 compatible = "allwinner,sun4i-a10-usb-phy";
383 reg = <0x01c13400 0x10 0x01c14800 0x4 0x01c1c800 0x4>;
384 reg-names = "phy_ctrl", "pmu1", "pmu2";
385 clocks = <&usb_clk 8>;
386 clock-names = "usb_phy";
387 resets = <&usb_clk 1>, <&usb_clk 2>;
388 reset-names = "usb1_reset", "usb2_reset";
389 status = "disabled";
390 };
391
392 ehci0: usb@01c14000 {
393 compatible = "allwinner,sun4i-a10-ehci", "generic-ehci";
394 reg = <0x01c14000 0x100>;
395 interrupts = <39>;
396 clocks = <&ahb_gates 1>;
397 phys = <&usbphy 1>;
398 phy-names = "usb";
399 status = "disabled";
400 };
401
402 ohci0: usb@01c14400 {
403 compatible = "allwinner,sun4i-a10-ohci", "generic-ohci";
404 reg = <0x01c14400 0x100>;
405 interrupts = <64>;
406 clocks = <&usb_clk 6>, <&ahb_gates 2>;
407 phys = <&usbphy 1>;
408 phy-names = "usb";
409 status = "disabled";
410 };
411
380 spi2: spi@01c17000 { 412 spi2: spi@01c17000 {
381 compatible = "allwinner,sun4i-a10-spi"; 413 compatible = "allwinner,sun4i-a10-spi";
382 reg = <0x01c17000 0x1000>; 414 reg = <0x01c17000 0x1000>;
@@ -396,6 +428,26 @@
396 status = "disabled"; 428 status = "disabled";
397 }; 429 };
398 430
431 ehci1: usb@01c1c000 {
432 compatible = "allwinner,sun4i-a10-ehci", "generic-ehci";
433 reg = <0x01c1c000 0x100>;
434 interrupts = <40>;
435 clocks = <&ahb_gates 3>;
436 phys = <&usbphy 2>;
437 phy-names = "usb";
438 status = "disabled";
439 };
440
441 ohci1: usb@01c1c400 {
442 compatible = "allwinner,sun4i-a10-ohci", "generic-ohci";
443 reg = <0x01c1c400 0x100>;
444 interrupts = <65>;
445 clocks = <&usb_clk 7>, <&ahb_gates 4>;
446 phys = <&usbphy 2>;
447 phy-names = "usb";
448 status = "disabled";
449 };
450
399 spi3: spi@01c1f000 { 451 spi3: spi@01c1f000 {
400 compatible = "allwinner,sun4i-a10-spi"; 452 compatible = "allwinner,sun4i-a10-spi";
401 reg = <0x01c1f000 0x1000>; 453 reg = <0x01c1f000 0x1000>;