From bc32f7deb57706e6235ec82ed0e2637c63deadff Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 31 Jan 2017 10:27:25 +0100 Subject: [PATCH] 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 --- target/linux/ramips/dts/WSR-600.dts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) 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"; }; -- 2.25.1