From: Felix Fietkau Date: Tue, 31 Jan 2017 09:27:25 +0000 (+0100) Subject: ramips: add missing DTS pcie node for WSR-600 X-Git-Tag: v17.01.0-rc2~86 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=commitdiff_plain;h=bda982b97fae6073ab65c05c1c47bb5f71f8dccf 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 --- diff --git a/target/linux/ramips/dts/WSR-600.dts b/target/linux/ramips/dts/WSR-600.dts index d5439fa4c1..63206b4d61 100644 --- a/target/linux/ramips/dts/WSR-600.dts +++ b/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"; };