| 1 |
// SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
| 2 |
/* |
| 3 |
* Copyright (C) 2023 Marvell International Ltd. |
| 4 |
* |
| 5 |
* Device tree for the CN9131-DB Com Express CPU module board. |
| 6 |
*/ |
| 7 |
|
| 8 |
#include "cn9131-db.dtsi" |
| 9 |
|
| 10 |
/ { |
| 11 |
model = "Marvell Armada CN9131-DB COM EXPRESS type 7 CPU module board"; |
| 12 |
compatible = "marvell,cn9131-cpu-module", "marvell,cn9131", "marvell,cn9130", |
| 13 |
"marvell,armada-ap807-quad", "marvell,armada-ap807"; |
| 14 |
|
| 15 |
}; |
| 16 |
|
| 17 |
&ap0_reg_sd_vccq { |
| 18 |
compatible = "regulator-fixed"; |
| 19 |
regulator-max-microvolt = <1800000>; |
| 20 |
/delete-property/ states; |
| 21 |
/delete-property/ gpios; |
| 22 |
}; |
| 23 |
|
| 24 |
&cp0_reg_usb3_vbus0 { |
| 25 |
/delete-property/ gpio; |
| 26 |
}; |
| 27 |
|
| 28 |
&cp0_reg_usb3_vbus1 { |
| 29 |
/delete-property/ gpio; |
| 30 |
}; |
| 31 |
|
| 32 |
&cp1_reg_usb3_vbus0 { |
| 33 |
/delete-property/ gpio; |
| 34 |
}; |
| 35 |
|
| 36 |
&cp0_reg_sd_vcc { |
| 37 |
status = "disabled"; |
| 38 |
}; |
| 39 |
|
| 40 |
&cp0_reg_sd_vccq { |
| 41 |
status = "disabled"; |
| 42 |
}; |
| 43 |
|
| 44 |
&cp0_sdhci0 { |
| 45 |
status = "disabled"; |
| 46 |
}; |
| 47 |
|
| 48 |
&cp0_eth0 { |
| 49 |
status = "disabled"; |
| 50 |
}; |
| 51 |
|
| 52 |
&cp0_eth1 { |
| 53 |
status = "okay"; |
| 54 |
phy = <&phy0>; |
| 55 |
phy-mode = "rgmii-id"; |
| 56 |
}; |
| 57 |
|
| 58 |
&cp0_eth2 { |
| 59 |
status = "disabled"; |
| 60 |
}; |
| 61 |
|
| 62 |
&cp0_mdio { |
| 63 |
status = "okay"; |
| 64 |
pinctrl-0 = <&cp0_ge_mdio_pins>; |
| 65 |
phy0: ethernet-phy@0 { |
| 66 |
status = "okay"; |
| 67 |
}; |
| 68 |
}; |
| 69 |
|
| 70 |
&cp0_syscon0 { |
| 71 |
cp0_pinctrl: pinctrl { |
| 72 |
compatible = "marvell,cp115-standalone-pinctrl"; |
| 73 |
|
| 74 |
cp0_ge_mdio_pins: ge-mdio-pins { |
| 75 |
marvell,pins = "mpp40", "mpp41"; |
| 76 |
marvell,function = "ge"; |
| 77 |
}; |
| 78 |
}; |
| 79 |
}; |
| 80 |
|
| 81 |
&cp0_sdhci0 { |
| 82 |
status = "disabled"; |
| 83 |
}; |
| 84 |
|
| 85 |
&cp0_spi1 { |
| 86 |
status = "okay"; |
| 87 |
}; |
| 88 |
|
| 89 |
&cp0_usb3_0 { |
| 90 |
status = "okay"; |
| 91 |
usb-phy = <&cp0_usb3_0_phy0>; |
| 92 |
phy-names = "usb"; |
| 93 |
/delete-property/ phys; |
| 94 |
}; |
| 95 |
|
| 96 |
&cp0_usb3_1 { |
| 97 |
status = "okay"; |
| 98 |
usb-phy = <&cp0_usb3_0_phy1>; |
| 99 |
phy-names = "usb"; |
| 100 |
/delete-property/ phys; |
| 101 |
}; |
| 102 |
|
| 103 |
&cp1_usb3_1 { |
| 104 |
status = "okay"; |
| 105 |
usb-phy = <&cp1_usb3_0_phy0>; |
| 106 |
/* Generic PHY, providing serdes lanes */ |
| 107 |
phys = <&cp1_comphy3 1>; |
| 108 |
phy-names = "usb"; |
| 109 |
}; |