ipq806x: fix pcie tx0-term-offset setting
authorFelix Fietkau <nbd@openwrt.org>
Sat, 21 Nov 2015 10:54:53 +0000 (10:54 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 21 Nov 2015 10:54:53 +0000 (10:54 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 47543

target/linux/ipq806x/patches-3.18/112-ARM-dts-qcom-add-pcie-nodes-to-ipq806x-platforms.patch
target/linux/ipq806x/patches-3.18/165-arm-qcom-dts-Enable-NAND-node-on-IPQ8064-AP148-platform.patch
target/linux/ipq806x/patches-3.18/166-arch-qcom-dts-enable-qcom-smem-on-AP148-NAND.patch
target/linux/ipq806x/patches-3.18/707-ARM-dts-qcom-add-mdio-nodes-to-ap148-db149.patch
target/linux/ipq806x/patches-3.18/708-ARM-dts-qcom-add-gmac-nodes-to-ipq806x-platforms.patch
target/linux/ipq806x/patches-4.1/112-ARM-dts-qcom-add-pcie-nodes-to-ipq806x-platforms.patch
target/linux/ipq806x/patches-4.1/165-arm-qcom-dts-Enable-NAND-node-on-IPQ8064-AP148-platform.patch
target/linux/ipq806x/patches-4.1/166-arch-qcom-dts-enable-qcom-smem-on-AP148-NAND.patch
target/linux/ipq806x/patches-4.1/707-ARM-dts-qcom-add-mdio-nodes-to-ap148-db149.patch
target/linux/ipq806x/patches-4.1/708-ARM-dts-qcom-add-gmac-nodes-to-ipq806x-platforms.patch

index 4c53d5089f624c068816d1020d540046001be4ff..b2abe106206b4c8186da626af5fc5b92f586fcab 100644 (file)
@@ -40,7 +40,7 @@ Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
                        spi_pins: spi_pins {
                                mux {
                                        pins = "gpio18", "gpio19", "gpio21";
-@@ -115,5 +133,19 @@
+@@ -115,5 +133,21 @@
                usb30@1 {
                        status = "ok";
                };
@@ -50,6 +50,7 @@ Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
 +                      reset-gpio = <&qcom_pinmux 3 0>;
 +                      pinctrl-0 = <&pcie0_pins>;
 +                      pinctrl-names = "default";
++                      phy-tx0-term-offset = <7>;
 +              };
 +
 +              pcie1: pci@1b700000 {
@@ -57,6 +58,7 @@ Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
 +                      reset-gpio = <&qcom_pinmux 48 0>;
 +                      pinctrl-0 = <&pcie1_pins>;
 +                      pinctrl-names = "default";
++                      phy-tx0-term-offset = <7>;
 +              };
        };
  };
index d62564ce30e707ce8345b9ce15a35a67a8620fa2..7456b82df645c5344e447a10c9690b9cc13b8703 100644 (file)
@@ -57,9 +57,9 @@ arch/arm/boot/dts/qcom-ipq8064-ap148.dts | 36 ++++++++++++++++++++++++++++++++
                };
  
                gsbi@16300000 {
-@@ -147,5 +172,19 @@
-                       pinctrl-0 = <&pcie1_pins>;
+@@ -149,5 +174,19 @@
                        pinctrl-names = "default";
+                       phy-tx0-term-offset = <7>;
                };
 +
 +              nand@1ac00000 {
index cae7f156ffb75eba38e73af80241a136afac8cfd..926ee0b04f2ca565fe03564a0d136d23f1e8a42a 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/arm/boot/dts/qcom-ipq8064-ap148.dts
 +++ b/arch/arm/boot/dts/qcom-ipq8064-ap148.dts
-@@ -181,6 +181,8 @@
+@@ -183,6 +183,8 @@
  
                        nand-ecc-strength = <4>;
                        nand-bus-width = <8>;
index fe28942117475642fa5217d6d632138ab15a7523..9e3a965768e941f154a619547592f8877c12ff67 100644 (file)
@@ -38,7 +38,7 @@ Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
                };
  
                gsbi@16300000 {
-@@ -184,6 +194,34 @@
+@@ -186,6 +196,34 @@
  
                        linux,part-probe = "qcom-smem";
                };
index 3455d459feae53f24526d10a89af13854bd21eb4..d580f77411bbf3e7b08a7b8d7c73f37f0255fec2 100644 (file)
@@ -29,7 +29,7 @@ Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
                };
  
                gsbi@16300000 {
-@@ -222,6 +232,27 @@
+@@ -224,6 +234,27 @@
                                reg = <4>;
                        };
                };
index 3fbcc395e045a8e68ef28a7116543af7d451c995..d80bc8f209045c0097414b774715d8d626a3642f 100644 (file)
@@ -40,7 +40,7 @@ Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
                        spi_pins: spi_pins {
                                mux {
                                        pins = "gpio18", "gpio19", "gpio21";
-@@ -91,5 +109,19 @@
+@@ -91,5 +109,21 @@
                sata@29000000 {
                        status = "ok";
                };
@@ -50,6 +50,7 @@ Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
 +                      reset-gpio = <&qcom_pinmux 3 0>;
 +                      pinctrl-0 = <&pcie0_pins>;
 +                      pinctrl-names = "default";
++                      phy-tx0-term-offset = <7>;
 +              };
 +
 +              pcie1: pci@1b700000 {
@@ -57,6 +58,7 @@ Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
 +                      reset-gpio = <&qcom_pinmux 48 0>;
 +                      pinctrl-0 = <&pcie1_pins>;
 +                      pinctrl-names = "default";
++                      phy-tx0-term-offset = <7>;
 +              };
        };
  };
index 415bf301321ff97f8eb45d379c399c5cfdff5c45..cb726fa791a23f613149c8b6314677ec6eb55cf2 100644 (file)
@@ -54,9 +54,9 @@ arch/arm/boot/dts/qcom-ipq8064-ap148.dts | 36 ++++++++++++++++++++++++++++++++
                };
  
                gsbi@16300000 {
-@@ -123,5 +145,19 @@
-                       pinctrl-0 = <&pcie1_pins>;
+@@ -125,5 +147,19 @@
                        pinctrl-names = "default";
+                       phy-tx0-term-offset = <7>;
                };
 +
 +              nand@1ac00000 {
index 16df418168013437204bce3246955a1a88282dcb..46c7e92a129091074a8b2e7574e820cffe180f14 100644 (file)
@@ -1,6 +1,6 @@
 --- a/arch/arm/boot/dts/qcom-ipq8064-ap148.dts
 +++ b/arch/arm/boot/dts/qcom-ipq8064-ap148.dts
-@@ -154,6 +154,8 @@
+@@ -156,6 +156,8 @@
  
                        nand-ecc-strength = <4>;
                        nand-bus-width = <8>;
index 0e2b305c99614248c25b13f50d3a6233f15d75f2..03fb5d9f5ab449b7524cc618cdc5f3546e16c620 100644 (file)
@@ -38,7 +38,7 @@ Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
                };
  
                gsbi@16300000 {
-@@ -157,6 +167,34 @@
+@@ -159,6 +169,34 @@
  
                        linux,part-probe = "qcom-smem";
                };
index 0918634d117aca68e65a2db98b7c6a55cc625cb0..bb4b3b27c4660b12598c11bf63dabb2d3ee0362c 100644 (file)
@@ -29,7 +29,7 @@ Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
                };
  
                gsbi@16300000 {
-@@ -195,6 +205,27 @@
+@@ -197,6 +207,27 @@
                                reg = <4>;
                        };
                };