summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/sbc/sbc-pxs2.c
blob: 8c167ef0698b4f5965c0520d1a4f225d056fc6e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// 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)
{
	uniphier_sbc_init_savepin();

	/* necessary for ROM boot ?? */
	/* system bus output enable */
	writel(0x17, PC0CTRL);

	uniphier_pin_init("system-bus");	/* PXs3 */
}