ARM: orion5x: use DT to describe EHCI on edmini_v2
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 22 Apr 2014 21:26:34 +0000 (23:26 +0200)
committerJason Cooper <jason@lakedaemon.net>
Sat, 26 Apr 2014 19:45:17 +0000 (19:45 +0000)
This commit converts the already partially DT-converted edmini_v2
platform to use the Device Tree for USB.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Link: https://lkml.kernel.org/r/1398202002-28530-31-git-send-email-thomas.petazzoni@free-electrons.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/orion5x-lacie-ethernet-disk-mini-v2.dts
arch/arm/mach-orion5x/edmini_v2-setup.c

index 41b2ab567bf510fe3fced526247ff1456b9e0765..f0f2bcc681501da5548232220a8c0f00e623abb6 100644 (file)
        };
 };
 
+&ehci0 {
+       status = "okay";
+};
+
 &eth {
        status = "okay";
 
index 75648abbee92d7ef355d38b62af9329c43d67d34..2eebc0c345d84ee47b95b7dc19ed3a20bdd1a821 100644 (file)
@@ -104,8 +104,6 @@ void __init edmini_v2_init(void)
        /*
         * Configure peripherals.
         */
-       orion5x_ehci0_init();
-
        mvebu_mbus_add_window_by_id(ORION_MBUS_DEVBUS_BOOT_TARGET,
                                    ORION_MBUS_DEVBUS_BOOT_ATTR,
                                    EDMINI_V2_NOR_BOOT_BASE,