ramips: mt7620: disable PCIe if nothing is attached
authorMathias Kresin <dev@kresin.me>
Fri, 30 Nov 2018 11:19:26 +0000 (12:19 +0100)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 16:48:21 +0000 (17:48 +0100)
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 <dev@kresin.me>
(backported from 55101877d3c0aea567e60fb3f7cafcb1a041698e)

target/linux/ramips/dts/CS-QR10.dts
target/linux/ramips/dts/DB-WRT01.dts
target/linux/ramips/dts/MicroWRT.dts
target/linux/ramips/dts/OY-0001.dts

index 965d5052f12fb17d281b5fdb4656f3e0c59a6b70..f58e70f53833bed5811763c7dd8dde909dc27e68 100644 (file)
 &wmac {
        ralink,mtd-eeprom = <&factory 0>;
 };
-
-&pcie {
-       status = "okay";
-};
index e62621c4ae5273777f42a7d2fafffc55df425200..27dce66e1a607e87fe1c19e2768b6a0da15c4e62 100644 (file)
 &wmac {
        ralink,mtd-eeprom = <&factory 0>;
 };
-
-&pcie {
-       status = "okay";
-};
index ddf27d632a8bcdeadc1bf9d30091e43eccac88d1..051ff8a0a60482c25b6917583f1d5724ba675ffa 100644 (file)
        status = "okay";
 };
 
-&pcie {
-       status = "okay";
-};
-
 &ethernet {
        pinctrl-names = "default";
        pinctrl-0 = <&ephy_pins>;
index d724aafa0ef841683e648856f564bb9b600cb5a2..cc656d4137f19f974b54937a4dfb945f9237dafa 100644 (file)
 &ohci {
        status = "okay";
 };
-
-&pcie {
-       status = "okay";
-};