aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/dts/cn9131-db-B.dts
blob: 0269183620ea3ffc4523e4d0c9dd566f0d8f1bb6 (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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
// SPDX-License-Identifier: GPL-2.0+
/*
 * Copyright (C) 2018-2021 Marvell International Ltd.
 */

#include "cn9130-db-B.dts"
#include "cn9131-db.dtsi"

/ {
	model = "Marvell CN9131 development board (CP NAND) setup(B)";
	compatible = "marvell,cn9131-db", "marvell,armada-ap806-quad",
		     "marvell,armada-ap806";
};

&cp1_comphy {
	/* Serdes Configuration:
	 *	Lane 0: PCIe0 (x2)
	 *	Lane 1: PCIe0 (x2)
	 *	Lane 2: SFI (port 0)
	 *	Lane 3: USB1
	 *	Lane 4: SGMII (port 1)
	 *	Lane 5: SATA1
	 */
	phy0 {
		phy-type = <COMPHY_TYPE_PEX0>;
	};
	phy1 {
		phy-type = <COMPHY_TYPE_PEX0>;
	};
	phy2 {
		phy-type = <COMPHY_TYPE_SFI0>;
		phy-speed = <COMPHY_SPEED_10_3125G>;
	};
	phy3 {
		phy-type = <COMPHY_TYPE_USB3_HOST1>;
	};
	phy4 {
		phy-type = <COMPHY_TYPE_SGMII1>;
		phy-speed = <COMPHY_SPEED_1_25G>;
	};
	phy5 {
		phy-type = <COMPHY_TYPE_SATA1>;
	};
};

&cp1_ethernet {
	status = "okay";
};

/* 3310 RJ45 CON55 */
&cp1_eth0 {
	status = "okay";
	phy-mode = "sfi"; /* lane-2 */
	phy = <&sfi_phy8>; /* required by 3310 fw download */
};

/* CON50 */
&cp1_eth1 {
	status = "okay";
	phy-mode = "sgmii"; /* lane-4 */
	marvell,sfp-tx-disable-gpio = <&cp1_gpio0 9 GPIO_ACTIVE_HIGH>;
};

&cp1_xmdio {
	status = "okay";
	sfi_phy8: ethernet-phy@8 {
		reg = <8>;
	};
};