brcmstb.c 1009 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * Copyright (C) 2013-2014 Broadcom Corporation
  3. *
  4. * This program is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU General Public License as
  6. * published by the Free Software Foundation version 2.
  7. *
  8. * This program is distributed "as is" WITHOUT ANY WARRANTY of any
  9. * kind, whether express or implied; without even the implied warranty
  10. * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. */
  13. #include <linux/init.h>
  14. #include <linux/irqchip.h>
  15. #include <linux/of_platform.h>
  16. #include <linux/soc/brcmstb/brcmstb.h>
  17. #include <asm/mach-types.h>
  18. #include <asm/mach/arch.h>
  19. static void __init brcmstb_init_irq(void)
  20. {
  21. irqchip_init();
  22. brcmstb_biuctrl_init();
  23. }
  24. static const char *const brcmstb_match[] __initconst = {
  25. "brcm,bcm7445",
  26. "brcm,brcmstb",
  27. NULL
  28. };
  29. DT_MACHINE_START(BRCMSTB, "Broadcom STB (Flattened Device Tree)")
  30. .dt_compat = brcmstb_match,
  31. .init_irq = brcmstb_init_irq,
  32. MACHINE_END