From bb8f5162fd76bba8a5bf661f674f4904259249f6 Mon Sep 17 00:00:00 2001 From: Pavel Kubelun Date: Tue, 8 Nov 2016 15:52:46 +0300 Subject: [PATCH] ipq806x: fix pci pins Fix pci pins drive-strength according to oem sources. Signed-off-by: Pavel Kubelun --- .../ipq806x/files/arch/arm/boot/dts/qcom-ipq8065.dtsi | 7 ++++--- ...RM-dts-qcom-add-pcie-nodes-to-ipq806x-platforms.patch | 9 +++++---- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065.dtsi b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065.dtsi index 0d5430370ff1..bff9979adfcc 100644 --- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065.dtsi +++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065.dtsi @@ -305,7 +305,7 @@ mux { pins = "gpio3"; function = "pcie1_rst"; - drive-strength = <12>; + drive-strength = <2>; bias-disable; }; }; @@ -314,7 +314,7 @@ mux { pins = "gpio48"; function = "pcie2_rst"; - drive-strength = <12>; + drive-strength = <2>; bias-disable; }; }; @@ -323,8 +323,9 @@ mux { pins = "gpio63"; function = "pcie3_rst"; - drive-strength = <12>; + drive-strength = <2>; bias-disable; + output-low; }; }; }; diff --git a/target/linux/ipq806x/patches-4.4/112-ARM-dts-qcom-add-pcie-nodes-to-ipq806x-platforms.patch b/target/linux/ipq806x/patches-4.4/112-ARM-dts-qcom-add-pcie-nodes-to-ipq806x-platforms.patch index 2394926f8f42..31a384f499be 100644 --- a/target/linux/ipq806x/patches-4.4/112-ARM-dts-qcom-add-pcie-nodes-to-ipq806x-platforms.patch +++ b/target/linux/ipq806x/patches-4.4/112-ARM-dts-qcom-add-pcie-nodes-to-ipq806x-platforms.patch @@ -63,7 +63,7 @@ Signed-off-by: Mathieu Olivari / { model = "Qualcomm IPQ8064"; -@@ -99,6 +102,33 @@ +@@ -99,6 +102,34 @@ interrupt-controller; #interrupt-cells = <2>; interrupts = <0 16 0x4>; @@ -72,7 +72,7 @@ Signed-off-by: Mathieu Olivari + mux { + pins = "gpio3"; + function = "pcie1_rst"; -+ drive-strength = <12>; ++ drive-strength = <2>; + bias-disable; + }; + }; @@ -81,7 +81,7 @@ Signed-off-by: Mathieu Olivari + mux { + pins = "gpio48"; + function = "pcie2_rst"; -+ drive-strength = <12>; ++ drive-strength = <2>; + bias-disable; + }; + }; @@ -90,8 +90,9 @@ Signed-off-by: Mathieu Olivari + mux { + pins = "gpio63"; + function = "pcie3_rst"; -+ drive-strength = <12>; ++ drive-strength = <2>; + bias-disable; ++ output-low; + }; + }; }; -- 2.30.2