pinmux-sh7269.c 739 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * SH7269 Pinmux
  3. *
  4. * Copyright (C) 2012 Renesas Electronics Europe Ltd
  5. * Copyright (C) 2012 Phil Edworthy
  6. *
  7. * This file is subject to the terms and conditions of the GNU General Public
  8. * License. See the file "COPYING" in the main directory of this archive
  9. * for more details.
  10. */
  11. #include <linux/bug.h>
  12. #include <linux/init.h>
  13. #include <linux/ioport.h>
  14. #include <linux/kernel.h>
  15. #include <cpu/pfc.h>
  16. static struct resource sh7269_pfc_resources[] = {
  17. [0] = {
  18. .start = 0xfffe3800,
  19. .end = 0xfffe391f,
  20. .flags = IORESOURCE_MEM,
  21. },
  22. };
  23. static int __init plat_pinmux_setup(void)
  24. {
  25. return sh_pfc_register("pfc-sh7269", sh7269_pfc_resources,
  26. ARRAY_SIZE(sh7269_pfc_resources));
  27. }
  28. arch_initcall(plat_pinmux_setup);