From 44b8472f1635d05eeb20bc2110e2dba38a3a10dd Mon Sep 17 00:00:00 2001 From: Felix Fietkau 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 SVN-Revision: 47542 --- ...ts-qcom-add-pcie-nodes-to-ipq806x-platforms.patch | 12 ++++++------ ...ts-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.30.2