~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: fb52aa856bef074863a8e9c93a32dd5f4fc4bf86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// SPDX-License-Identifier: GPL-2.0+
/*
 * Copyright (C) 2018-2021 Marvell International Ltd.
 */

#include "cn9130-db.dtsi"

/ {
	model = "Marvell CN9130 development board (CP NAND) setup(B)";
};

/*
 * CP related configuration
 */
&cp0_pinctl {
	/* MPP Bus:
	 *	[0-11]	RGMII1
	 *	[12]	GPIO GE-IN
	 *	[13-14]	SPI1
	 *	[15-27]	NAND
	 *	[28]	MSS_GPIO[5] XXX:(mode nr from a3900)
	 *	[29-30]	SATA
	 *	[31]	MSS_GPIO[4] XXX:(mode nr from a3900)
	 *	[32,34]	SMI
	 *	[33]	SDIO
	 *	[35-36]	I2C1
	 *	[37-38]	I2C0
	 *	[39-43]	SDIOctrl
	 *	[44-55]	RGMII2
	 *	[56-62]	SDIO
	 */

		/*   0   1   2   3   4   5   6   7   8   9 */
	pin-func = < 3   3   3   3   3   3   3   3   3   3
		     3   3   0   2   3   1   1   1   1   1
		     1   1   1   1   1   1   1   1   3   9
		     9   3   7   6   7   2   2   2   2   1
		     1   1   1   1   1   1   1   1   1   1
		     1   1   1   1   1   1   0xe 0xe 0xe 0xe
		     0xe 0xe 0xe>;
};

/* U54 */
&cp0_nand {
	status = "okay";
};

/* U55 */
&cp0_spi1 {
	status = "disabled";
};