فهرست منبع

ramips: add missing DTS pcie node for WSR-600

Enables PCI bus and support for the MT7603 and RT5592 chips

Signed-off-by: Felix Fietkau <[email protected]>
Felix Fietkau 9 سال پیش
والد
کامیت
bc32f7deb5
1فایلهای تغییر یافته به همراه21 افزوده شده و 0 حذف شده
  1. 21 0
      target/linux/ramips/dts/WSR-600.dts

+ 21 - 0
target/linux/ramips/dts/WSR-600.dts

@@ -157,6 +157,27 @@
 	};
 };
 
+&pcie {
+	status = "okay";
+
+	pcie0 {
+		rt5592@0,0 {
+			reg = <0x0000 0 0 0 0>;
+			device_type = "pci";
+			ralink,mtd-eeprom = <&factory 0x8000>;
+		};
+	};
+
+	pcie1 {
+		mt76@1,0 {
+			reg = <0x0000 0 0 0 0>;
+			device_type = "pci";
+			mediatek,mtd-eeprom = <&factory 0x0000>;
+			mediatek,5ghz = <0>;
+		};
+	};
+};
+
 &xhci {
 	status = "disabled";
 };