da8xx-dt.c 871 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
  3. *
  4. * Modified from mach-omap/omap2/board-generic.c
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License version 2 as
  8. * published by the Free Software Foundation.
  9. */
  10. #include <asm/mach/arch.h>
  11. #include <mach/common.h>
  12. #include <mach/da8xx.h>
  13. #ifdef CONFIG_ARCH_DAVINCI_DA850
  14. static void __init da850_init_machine(void)
  15. {
  16. davinci_pm_init();
  17. pdata_quirks_init();
  18. }
  19. static const char *const da850_boards_compat[] __initconst = {
  20. "enbw,cmc",
  21. "ti,da850-lcdk",
  22. "ti,da850-evm",
  23. "ti,da850",
  24. NULL,
  25. };
  26. DT_MACHINE_START(DA850_DT, "Generic DA850/OMAP-L138/AM18x")
  27. .map_io = da850_init,
  28. .init_machine = da850_init_machine,
  29. .dt_compat = da850_boards_compat,
  30. .init_late = davinci_init_late,
  31. MACHINE_END
  32. #endif