pinmux-sh7722.c 444 B

1234567891011121314151617181920
  1. #include <linux/bug.h>
  2. #include <linux/init.h>
  3. #include <linux/kernel.h>
  4. #include <linux/ioport.h>
  5. #include <cpu/pfc.h>
  6. static struct resource sh7722_pfc_resources[] = {
  7. [0] = {
  8. .start = 0xa4050100,
  9. .end = 0xa405018f,
  10. .flags = IORESOURCE_MEM,
  11. },
  12. };
  13. static int __init plat_pinmux_setup(void)
  14. {
  15. return sh_pfc_register("pfc-sh7722", sh7722_pfc_resources,
  16. ARRAY_SIZE(sh7722_pfc_resources));
  17. }
  18. arch_initcall(plat_pinmux_setup);