OSDN Git Service

ARM: mvebu: add Device Tree description for the EHCI controllers on Armada 375
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Thu, 15 May 2014 10:17:42 +0000 (12:17 +0200)
committerJason Cooper <jason@lakedaemon.net>
Fri, 16 May 2014 05:53:20 +0000 (05:53 +0000)
The Marvell Armada 375 SoCs contains two EHCI controllers. This commit
adds the Device Tree description of these interfaces at the SoC level,
and also enables the USB2 port on the Armada 375 DB platform.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Link: https://lkml.kernel.org/r/1400149062-32661-18-git-send-email-gregory.clement@free-electrons.com
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/armada-375-db.dts
arch/arm/boot/dts/armada-375.dtsi

index 796becf..eb90b83 100644 (file)
                                };
                        };
 
+                       usb@54000 {
+                               status = "okay";
+                       };
+
                        usb3@58000 {
                                status = "okay";
                        };
index 1c6c3a7..fb92551 100644 (file)
                                reg = <0x21010 0x1c>;
                        };
 
+                       usb@50000 {
+                               compatible = "marvell,orion-ehci";
+                               reg = <0x50000 0x500>;
+                               interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&gateclk 18>;
+                               status = "disabled";
+                       };
+
+                       usb@54000 {
+                               compatible = "marvell,orion-ehci";
+                               reg = <0x54000 0x500>;
+                               interrupts = <GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH>;
+                               clocks = <&gateclk 26>;
+                               status = "disabled";
+                       };
+
                        usb3@58000 {
                                compatible = "marvell,armada-375-xhci";
                                reg = <0x58000 0x20000>,<0x5b880 0x80>;