sbc-ld4.c 380 B

12345678910111213141516171819202122
  1. // SPDX-License-Identifier: GPL-2.0+
  2. /*
  3. * Copyright (C) 2011-2015 Panasonic Corporation
  4. * Copyright (C) 2015-2017 Socionext Inc.
  5. */
  6. #include <linux/io.h>
  7. #include "../init.h"
  8. #include "sbc-regs.h"
  9. void uniphier_ld4_sbc_init(void)
  10. {
  11. u32 tmp;
  12. uniphier_sbc_init_savepin();
  13. /* system bus output enable */
  14. tmp = readl(PC0CTRL);
  15. tmp &= 0xfffffcff;
  16. writel(tmp, PC0CTRL);
  17. }