pinmux-sh7724.c 675 B

1234567891011121314151617181920212223242526272829303132
  1. // SPDX-License-Identifier: GPL-2.0
  2. /*
  3. * SH7724 Pinmux
  4. *
  5. * Copyright (C) 2009 Renesas Solutions Corp.
  6. *
  7. * Kuninori Morimoto <[email protected]>
  8. *
  9. * Based on SH7723 Pinmux
  10. * Copyright (C) 2008 Magnus Damm
  11. */
  12. #include <linux/bug.h>
  13. #include <linux/init.h>
  14. #include <linux/kernel.h>
  15. #include <linux/ioport.h>
  16. #include <cpu/pfc.h>
  17. static struct resource sh7724_pfc_resources[] = {
  18. [0] = {
  19. .start = 0xa4050100,
  20. .end = 0xa405016f,
  21. .flags = IORESOURCE_MEM,
  22. },
  23. };
  24. static int __init plat_pinmux_setup(void)
  25. {
  26. return sh_pfc_register("pfc-sh7724", sh7724_pfc_resources,
  27. ARRAY_SIZE(sh7724_pfc_resources));
  28. }
  29. arch_initcall(plat_pinmux_setup);