[PATCH v3 22/22] arm64: dts: mediatek: mt7988a-bpi-r4: Enable pcie
Frank Wunderlich
linux at fw-web.de
Tue Dec 17 01:12:36 PST 2024
From: Frank Wunderlich <frank-w at public-files.de>
Enable the pci controllers on BPI-R4.
Signed-off-by: Frank Wunderlich <frank-w at public-files.de>
---
.../dts/mediatek/mt7988a-bananapi-bpi-r4.dts | 20 +++++++++++++++++++
arch/arm64/boot/dts/mediatek/mt7988a.dtsi | 8 ++++----
2 files changed, 24 insertions(+), 4 deletions(-)
diff --git a/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dts b/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dts
index 4b1eaf818b66..d6f1fca3323c 100644
--- a/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dts
+++ b/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dts
@@ -113,6 +113,26 @@ i2c_sfp2: i2c at 2 {
};
};
+/* mPCIe SIM2 */
+&pcie0 {
+ status = "okay";
+};
+
+/* mPCIe SIM3 */
+&pcie1 {
+ status = "okay";
+};
+
+/* M.2 key-B SIM1 */
+&pcie2 {
+ status = "okay";
+};
+
+/* M.2 key-M SSD */
+&pcie3 {
+ status = "okay";
+};
+
&pio {
mdio0_pins: mdio0-pins {
mux {
diff --git a/arch/arm64/boot/dts/mediatek/mt7988a.dtsi b/arch/arm64/boot/dts/mediatek/mt7988a.dtsi
index 6f6a1a1c1d78..7a5e16a97476 100644
--- a/arch/arm64/boot/dts/mediatek/mt7988a.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt7988a.dtsi
@@ -373,7 +373,7 @@ mmc0: mmc at 11230000 {
status = "disabled";
};
- pcie at 11280000 {
+ pcie2: pcie at 11280000 {
compatible = "mediatek,mt7986-pcie",
"mediatek,mt8192-pcie";
device_type = "pci";
@@ -411,7 +411,7 @@ pcie_intc2: interrupt-controller {
};
};
- pcie at 11290000 {
+ pcie3: pcie at 11290000 {
compatible = "mediatek,mt7986-pcie",
"mediatek,mt8192-pcie";
device_type = "pci";
@@ -449,7 +449,7 @@ pcie_intc3: interrupt-controller {
};
};
- pcie at 11300000 {
+ pcie0: pcie at 11300000 {
compatible = "mediatek,mt7986-pcie",
"mediatek,mt8192-pcie";
device_type = "pci";
@@ -487,7 +487,7 @@ pcie_intc0: interrupt-controller {
};
};
- pcie at 11310000 {
+ pcie1: pcie at 11310000 {
compatible = "mediatek,mt7986-pcie",
"mediatek,mt8192-pcie";
device_type = "pci";
--
2.43.0
More information about the Linux-mediatek
mailing list