sbc-pxs2.c 358 B

1234567891011121314151617181920
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Copyright (C) 2016-2017 Socionext Inc.
  4. */
  5. #include <linux/io.h>
  6. #include "../init.h"
  7. #include "sbc-regs.h"
  8. void uniphier_pxs2_sbc_init(void)
  9. {
  10. uniphier_sbc_init_savepin();
  11. /* necessary for ROM boot ?? */
  12. /* system bus output enable */
  13. writel(0x17, PC0CTRL);
  14. uniphier_pin_init("system-bus"); /* PXs3 */
  15. }