From: Mathias Kresin Date: Fri, 30 Nov 2018 11:19:26 +0000 (+0100) Subject: ramips: mt7620: disable PCIe if nothing is attached X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=55101877d3c0aea567e60fb3f7cafcb1a041698e;p=openwrt%2Fstaging%2Fldir.git ramips: mt7620: disable PCIe if nothing is attached All boards neither expose the PCIe as Mini-PCIe nor have anything attached to the PCIe Bus. Disable PCIe for those by dropping the node from the dts files. Signed-off-by: Mathias Kresin --- diff --git a/target/linux/ramips/dts/CS-QR10.dts b/target/linux/ramips/dts/CS-QR10.dts index 965d5052f1..f58e70f538 100644 --- a/target/linux/ramips/dts/CS-QR10.dts +++ b/target/linux/ramips/dts/CS-QR10.dts @@ -156,7 +156,3 @@ &wmac { ralink,mtd-eeprom = <&factory 0>; }; - -&pcie { - status = "okay"; -}; diff --git a/target/linux/ramips/dts/DB-WRT01.dts b/target/linux/ramips/dts/DB-WRT01.dts index e62621c4ae..27dce66e1a 100644 --- a/target/linux/ramips/dts/DB-WRT01.dts +++ b/target/linux/ramips/dts/DB-WRT01.dts @@ -104,7 +104,3 @@ &wmac { ralink,mtd-eeprom = <&factory 0>; }; - -&pcie { - status = "okay"; -}; diff --git a/target/linux/ramips/dts/MicroWRT.dts b/target/linux/ramips/dts/MicroWRT.dts index ddf27d632a..051ff8a0a6 100644 --- a/target/linux/ramips/dts/MicroWRT.dts +++ b/target/linux/ramips/dts/MicroWRT.dts @@ -87,10 +87,6 @@ status = "okay"; }; -&pcie { - status = "okay"; -}; - ðernet { pinctrl-names = "default"; pinctrl-0 = <&ephy_pins>; diff --git a/target/linux/ramips/dts/OY-0001.dts b/target/linux/ramips/dts/OY-0001.dts index d724aafa0e..cc656d4137 100644 --- a/target/linux/ramips/dts/OY-0001.dts +++ b/target/linux/ramips/dts/OY-0001.dts @@ -128,7 +128,3 @@ &ohci { status = "okay"; }; - -&pcie { - status = "okay"; -};