ARM: shmobile: r8a7740: Add restart callback
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-shmobile / board-armadillo800eva-reference.c
index 208576667b223326fb84f3f862c00a3a0b5b4cfd..f06e1f336dfbd81a3612a000cbfb9398f191ed5e 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/kernel.h>
 #include <linux/gpio.h>
 #include <linux/io.h>
+#include <linux/of_platform.h>
 
 #include <asm/mach/arch.h>
 #include <asm/hardware/cache-l2x0.h>
  * CON22       Serial
  * CON23       LAN
  * CON24       USB3
- * LED1                Camera LED(Yellow)
+ * LED1                Camera LED (Yellow)
  * LED2                Power LED (Green)
- * ED3-LED6    User LED(Yellow)
- * LED7                LAN link LED(Green)
- * LED8                LAN activity LED(Yellow)
+ * LED3-LED6   User LED (Yellow)
+ * LED7                LAN link LED (Green)
+ * LED8                LAN activity LED (Yellow)
  */
 
 /*
@@ -170,7 +171,7 @@ static void __init eva_init(void)
        l2x0_init(IOMEM(0xf0002000), 0x00400000, 0xc20f0fff);
 #endif
 
-       r8a7740_add_standard_devices_dt();
+       of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
 
        r8a7740_pm_init();
 }