pinmux-sh7269.c 599 B

12345678910111213141516171819202122232425262728
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * SH7269 Pinmux
  4. *
  5. * Copyright (C) 2012 Renesas Electronics Europe Ltd
  6. * Copyright (C) 2012 Phil Edworthy
  7. */
  8. #include <linux/bug.h>
  9. #include <linux/init.h>
  10. #include <linux/ioport.h>
  11. #include <linux/kernel.h>
  12. #include <cpu/pfc.h>
  13. static struct resource sh7269_pfc_resources[] = {
  14. [0] = {
  15. .start = 0xfffe3800,
  16. .end = 0xfffe391f,
  17. .flags = IORESOURCE_MEM,
  18. },
  19. };
  20. static int __init plat_pinmux_setup(void)
  21. {
  22. return sh_pfc_register("pfc-sh7269", sh7269_pfc_resources,
  23. ARRAY_SIZE(sh7269_pfc_resources));
  24. }
  25. arch_initcall(plat_pinmux_setup);