mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-08 13:53:21 +09:00
![Igal Liberman](/assets/img/avatar_default.png)
Currently, all comphy definitions are PHY_TYPE_XX and PHY_SPEEED_XX. Those definition might be confused with MDIO PHY definitions. This patch does the following changes: - PHY_TYPE_XX --> COMPHY_TYPE_XX - PHY_SPEED_XX --> COMPHY_SPEED_XX This improves readability, no functional change. Change-Id: I2bd1d9289ebbc5c16fa80f9870f797ea1bcaf5fa Signed-off-by: Igal Liberman <igall@marvell.com> Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
58 lines
861 B
Plaintext
58 lines
861 B
Plaintext
// SPDX-License-Identifier: GPL-2.0+
|
|
/*
|
|
* Copyright (C) 2019 Marvell International Ltd.
|
|
*/
|
|
|
|
#include "cn9130-crb.dtsi"
|
|
|
|
/ {
|
|
model = "CN9130-CRB-A";
|
|
compatible = "marvell,cn9130-crb-A",
|
|
"marvell,cn9130",
|
|
"marvell,armada-ap806-quad",
|
|
"marvell,armada-ap806";
|
|
};
|
|
|
|
&cp0_comphy {
|
|
phy0 {
|
|
phy-type = <COMPHY_TYPE_PEX0>;
|
|
};
|
|
|
|
phy1 {
|
|
phy-type = <COMPHY_TYPE_PEX0>;
|
|
};
|
|
|
|
phy2 {
|
|
phy-type = <COMPHY_TYPE_PEX0>;
|
|
};
|
|
|
|
phy3 {
|
|
phy-type = <COMPHY_TYPE_PEX0>;
|
|
};
|
|
|
|
phy4 {
|
|
phy-type = <COMPHY_TYPE_SFI>;
|
|
phy-speed = <COMPHY_SPEED_10_3125G>;
|
|
};
|
|
|
|
phy5 {
|
|
phy-type = <COMPHY_TYPE_SGMII2>;
|
|
phy-speed = <COMPHY_SPEED_3_125G>;
|
|
};
|
|
};
|
|
|
|
&cp0_pcie0 {
|
|
num-lanes = <4>;
|
|
/* non-prefetchable memory */
|
|
ranges =<0x82000000 0 0xc0000000 0 0xc0000000 0 0x2000000>;
|
|
status = "disabled";
|
|
};
|
|
|
|
&cp0_usb3_0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&cp0_usb3_1 {
|
|
status = "okay";
|
|
};
|