From 55101877d3c0aea567e60fb3f7cafcb1a041698e Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Fri, 30 Nov 2018 12:19:26 +0100 Subject: [PATCH] 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 --- target/linux/ramips/dts/CS-QR10.dts | 4 ---- target/linux/ramips/dts/DB-WRT01.dts | 4 ---- target/linux/ramips/dts/MicroWRT.dts | 4 ---- target/linux/ramips/dts/OY-0001.dts | 4 ---- 4 files changed, 16 deletions(-) diff --git a/target/linux/ramips/dts/CS-QR10.dts b/target/linux/ramips/dts/CS-QR10.dts index 965d5052f12..f58e70f5383 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 e62621c4ae5..27dce66e1a6 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 ddf27d632a8..051ff8a0a60 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 d724aafa0ef..cc656d4137f 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"; -}; -- 2.30.2