• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Copyright (C) 2016-2017 Socionext Inc.
4  */
5 
6 #include <linux/io.h>
7 
8 #include "../init.h"
9 #include "sbc-regs.h"
10 
uniphier_pxs2_sbc_init(void)11 void uniphier_pxs2_sbc_init(void)
12 {
13 	if (!uniphier_sbc_is_enabled())
14 		return;
15 
16 	uniphier_sbc_init_savepin();
17 
18 	/* necessary for ROM boot ?? */
19 	/* system bus output enable */
20 	writel(0x17, PC0CTRL);
21 
22 	uniphier_pin_init("system-bus");	/* PXs3 */
23 }
24