aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/dts/vr9.dtsi
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-17 19:55:10 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-17 19:55:10 +0000
commita52041d21e09c2165eba0272d3ba43fb7c740e04 (patch)
tree9b8ad769beddc7c87b0349aea8986c28654cff84 /target/linux/lantiq/dts/vr9.dtsi
parent3bfcab0247ef2a92806283933261f74b59fe6903 (diff)
downloadmaster-187ad058-a52041d21e09c2165eba0272d3ba43fb7c740e04.tar.gz
master-187ad058-a52041d21e09c2165eba0272d3ba43fb7c740e04.tar.bz2
master-187ad058-a52041d21e09c2165eba0272d3ba43fb7c740e04.zip
lantiq: Configure the PCIe reset GPIO using OF
After the latest pinctrl backports there are only 50 (instead of 56 as before) GPIOs/pins exported (thus the first GPIO on VRX200 SoCs is now 462, before it was 456). This means that any hardcoded GPIOs have to be adjusted. This broke the PCIe driver (which seems to be the only driver which uses hardcoded GPIO numbers), it only reports: ifx_pcie_wait_phy_link_up timeout ifx_pcie_wait_phy_link_up timeout ifx_pcie_wait_phy_link_up timeout ifx_pcie_wait_phy_link_up timeout ifx_pcie_wait_phy_link_up timeout pcie_rc_initialize link up failed!!!!! To prevent more of these issues in the future we remove the hardcoded PCIe reset GPIO definition and simply pass it via device-tree (like the PCI driver does). Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48285 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/dts/vr9.dtsi')
-rw-r--r--target/linux/lantiq/dts/vr9.dtsi1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/lantiq/dts/vr9.dtsi b/target/linux/lantiq/dts/vr9.dtsi
index 8f9635807e..2330bf1c21 100644
--- a/target/linux/lantiq/dts/vr9.dtsi
+++ b/target/linux/lantiq/dts/vr9.dtsi
@@ -175,6 +175,7 @@
interrupt-parent = <&icu0>;
interrupts = <161 144>;
compatible = "lantiq,pcie-xrx200";
+ gpio-reset = <&gpio 38 0>;
};
pci0: pci@E105400 {