From 1617ac941b6451cc2099e91aa6d8834a6edb3239 Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 21 Nov 2015 10:54:48 +0000 Subject: [PATCH] ipq806x: fix device tree nodes for PCI to get rid of I/O and memory offsets Fixes QCA99x0 detection issues Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47542 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- ...12-ARM-dts-qcom-add-pcie-nodes-to-ipq806x-platforms.patch | 12 ++++++------ ...12-ARM-dts-qcom-add-pcie-nodes-to-ipq806x-platforms.patch | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/target/linux/ipq806x/patches-3.18/112-ARM-dts-qcom-add-pcie-nodes-to-ipq806x-platforms.patch b/target/linux/ipq806x/patches-3.18/112-ARM-dts-qcom-add-pcie-nodes-to-ipq806x-platforms.patch index d15f0ac05e..4c53d5089f 100644 --- a/target/linux/ipq806x/patches-3.18/112-ARM-dts-qcom-add-pcie-nodes-to-ipq806x-platforms.patch +++ b/target/linux/ipq806x/patches-3.18/112-ARM-dts-qcom-add-pcie-nodes-to-ipq806x-platforms.patch @@ -152,8 +152,8 @@ Signed-off-by: Mathieu Olivari + #address-cells = <3>; + #size-cells = <2>; + -+ ranges = <0x81000000 0 0 0x0fe00000 0 0x00100000 /* downstream I/O */ -+ 0x82000000 0 0x00000000 0x08000000 0 0x07e00000>; /* non-prefetchable memory */ ++ ranges = <0x81000000 0 0x0fe00000 0x0fe00000 0 0x00100000 /* downstream I/O */ ++ 0x82000000 0 0x08000000 0x08000000 0 0x07e00000>; /* non-prefetchable memory */ + + interrupts = ; + interrupt-names = "msi"; @@ -193,8 +193,8 @@ Signed-off-by: Mathieu Olivari + #address-cells = <3>; + #size-cells = <2>; + -+ ranges = <0x81000000 0 0 0x31e00000 0 0x00100000 /* downstream I/O */ -+ 0x82000000 0 0x00000000 0x2e000000 0 0x03e00000>; /* non-prefetchable memory */ ++ ranges = <0x81000000 0 0x31e00000 0x31e00000 0 0x00100000 /* downstream I/O */ ++ 0x82000000 0 0x2e000000 0x2e000000 0 0x03e00000>; /* non-prefetchable memory */ + + interrupts = ; + interrupt-names = "msi"; @@ -234,8 +234,8 @@ Signed-off-by: Mathieu Olivari + #address-cells = <3>; + #size-cells = <2>; + -+ ranges = <0x81000000 0 0 0x35e00000 0 0x00100000 /* downstream I/O */ -+ 0x82000000 0 0x00000000 0x32000000 0 0x03e00000>; /* non-prefetchable memory */ ++ ranges = <0x81000000 0 0x35e00000 0x35e00000 0 0x00100000 /* downstream I/O */ ++ 0x82000000 0 0x32000000 0x32000000 0 0x03e00000>; /* non-prefetchable memory */ + + interrupts = ; + interrupt-names = "msi"; diff --git a/target/linux/ipq806x/patches-4.1/112-ARM-dts-qcom-add-pcie-nodes-to-ipq806x-platforms.patch b/target/linux/ipq806x/patches-4.1/112-ARM-dts-qcom-add-pcie-nodes-to-ipq806x-platforms.patch index 77cf3c3beb..3fbcc395e0 100644 --- a/target/linux/ipq806x/patches-4.1/112-ARM-dts-qcom-add-pcie-nodes-to-ipq806x-platforms.patch +++ b/target/linux/ipq806x/patches-4.1/112-ARM-dts-qcom-add-pcie-nodes-to-ipq806x-platforms.patch @@ -153,8 +153,8 @@ Signed-off-by: Mathieu Olivari + #address-cells = <3>; + #size-cells = <2>; + -+ ranges = <0x81000000 0 0 0x0fe00000 0 0x00100000 /* downstream I/O */ -+ 0x82000000 0 0x00000000 0x08000000 0 0x07e00000>; /* non-prefetchable memory */ ++ ranges = <0x81000000 0 0x0fe00000 0x0fe00000 0 0x00100000 /* downstream I/O */ ++ 0x82000000 0 0x08000000 0x08000000 0 0x07e00000>; /* non-prefetchable memory */ + + interrupts = ; + interrupt-names = "msi"; @@ -194,8 +194,8 @@ Signed-off-by: Mathieu Olivari + #address-cells = <3>; + #size-cells = <2>; + -+ ranges = <0x81000000 0 0 0x31e00000 0 0x00100000 /* downstream I/O */ -+ 0x82000000 0 0x00000000 0x2e000000 0 0x03e00000>; /* non-prefetchable memory */ ++ ranges = <0x81000000 0 0x31e00000 0x31e00000 0 0x00100000 /* downstream I/O */ ++ 0x82000000 0 0x2e000000 0x2e000000 0 0x03e00000>; /* non-prefetchable memory */ + + interrupts = ; + interrupt-names = "msi"; @@ -235,8 +235,8 @@ Signed-off-by: Mathieu Olivari + #address-cells = <3>; + #size-cells = <2>; + -+ ranges = <0x81000000 0 0 0x35e00000 0 0x00100000 /* downstream I/O */ -+ 0x82000000 0 0x00000000 0x32000000 0 0x03e00000>; /* non-prefetchable memory */ ++ ranges = <0x81000000 0 0x35e00000 0x35e00000 0 0x00100000 /* downstream I/O */ ++ 0x82000000 0 0x32000000 0x32000000 0 0x03e00000>; /* non-prefetchable memory */ + + interrupts = ; + interrupt-names = "msi"; -- 2.11.0