24 lines
402 B
C
24 lines
402 B
C
|
// SPDX-License-Identifier: GPL-2.0+
|
||
|
/*
|
||
|
* Copyright (C) 2016-2017 Socionext Inc.
|
||
|
*/
|
||
|
|
||
|
#include <linux/io.h>
|
||
|
|
||
|
#include "../init.h"
|
||
|
#include "sbc-regs.h"
|
||
|
|
||
|
void uniphier_pxs2_sbc_init(void)
|
||
|
{
|
||
|
if (!uniphier_sbc_is_enabled())
|
||
|
return;
|
||
|
|
||
|
uniphier_sbc_init_savepin();
|
||
|
|
||
|
/* necessary for ROM boot ?? */
|
||
|
/* system bus output enable */
|
||
|
writel(0x17, PC0CTRL);
|
||
|
|
||
|
uniphier_pin_init("system-bus"); /* PXs3 */
|
||
|
}
|