xref: /freebsd/sys/contrib/device-tree/src/arm64/marvell/cn9130-crb-A.dts (revision 354d7675fe12ace9cde344cb79c7ded792802f88)
1*354d7675SEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0+
2*354d7675SEmmanuel Vadot/*
3*354d7675SEmmanuel Vadot * Copyright (C) 2020 Marvell International Ltd.
4*354d7675SEmmanuel Vadot */
5*354d7675SEmmanuel Vadot
6*354d7675SEmmanuel Vadot#include "cn9130-crb.dtsi"
7*354d7675SEmmanuel Vadot
8*354d7675SEmmanuel Vadot/ {
9*354d7675SEmmanuel Vadot	model = "Marvell Armada CN9130-CRB-A";
10*354d7675SEmmanuel Vadot};
11*354d7675SEmmanuel Vadot
12*354d7675SEmmanuel Vadot&cp0_pcie0 {
13*354d7675SEmmanuel Vadot	status = "okay";
14*354d7675SEmmanuel Vadot	num-lanes = <4>;
15*354d7675SEmmanuel Vadot	num-viewport = <8>;
16*354d7675SEmmanuel Vadot	/* Generic PHY, providing serdes lanes */
17*354d7675SEmmanuel Vadot	phys = <&cp0_comphy0 0
18*354d7675SEmmanuel Vadot		&cp0_comphy1 0
19*354d7675SEmmanuel Vadot		&cp0_comphy2 0
20*354d7675SEmmanuel Vadot		&cp0_comphy3 0>;
21*354d7675SEmmanuel Vadot	iommu-map =
22*354d7675SEmmanuel Vadot		<0x0   &smmu 0x480 0x20>,
23*354d7675SEmmanuel Vadot		<0x100 &smmu 0x4a0 0x20>,
24*354d7675SEmmanuel Vadot		<0x200 &smmu 0x4c0 0x20>;
25*354d7675SEmmanuel Vadot	iommu-map-mask = <0x031f>;
26*354d7675SEmmanuel Vadot};
27*354d7675SEmmanuel Vadot
28*354d7675SEmmanuel Vadot&cp0_usb3_0 {
29*354d7675SEmmanuel Vadot	status = "okay";
30*354d7675SEmmanuel Vadot	usb-phy = <&cp0_usb3_0_phy0>;
31*354d7675SEmmanuel Vadot	phy-names = "usb";
32*354d7675SEmmanuel Vadot};
33*354d7675SEmmanuel Vadot
34*354d7675SEmmanuel Vadot&cp0_usb3_1 {
35*354d7675SEmmanuel Vadot	status = "okay";
36*354d7675SEmmanuel Vadot	usb-phy = <&cp0_usb3_0_phy1>;
37*354d7675SEmmanuel Vadot	phy-names = "usb";
38*354d7675SEmmanuel Vadot};
39