[openwrt/openwrt] mediatek: mt7623: Enable PCIe bus 0 (and thus SATA) on U7623

LEDE Commits lede-commits at lists.infradead.org
Fri Jan 14 11:51:27 PST 2022


dwmw2 pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/557067d9b119ffe7f1e2029e0086491de105dfbc

commit 557067d9b119ffe7f1e2029e0086491de105dfbc
Author: David Woodhouse <dwmw2 at infradead.org>
AuthorDate: Tue Jan 11 13:01:31 2022 +0000

    mediatek: mt7623: Enable PCIe bus 0 (and thus SATA) on U7623
    
    Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
 target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc.dtsi b/target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc.dtsi
index 0a2972e23b..1c5a18de02 100644
--- a/target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc.dtsi
+++ b/target/linux/mediatek/dts/mt7623a-unielec-u7623-02-emmc.dtsi
@@ -328,6 +328,10 @@
 	pinctrl-0 = <&pcie_default>;
 	status = "okay";
 
+	pcie at 0,0 {
+		status = "okay";
+	};
+
 	pcie at 1,0 {
 		status = "okay";
 	};
@@ -337,6 +341,10 @@
 	};
 };
 
+&pcie0_phy {
+	status = "okay";
+};
+
 &pcie1_phy {
 	status = "okay";
 };



More information about the lede-commits mailing list