Author: nbd Date: 2015-11-21 11:54:48 +0100 (Sat, 21 Nov 2015) New Revision: 47542
Modified: trunk/target/linux/ipq806x/patches-3.18/112-ARM-dts-qcom-add-pcie-nodes-to-ipq806x-platforms.patch trunk/target/linux/ipq806x/patches-4.1/112-ARM-dts-qcom-add-pcie-nodes-to-ipq806x-platforms.patch Log: 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 <[email protected]> Modified: trunk/target/linux/ipq806x/patches-3.18/112-ARM-dts-qcom-add-pcie-nodes-to-ipq806x-platforms.patch =================================================================== --- trunk/target/linux/ipq806x/patches-3.18/112-ARM-dts-qcom-add-pcie-nodes-to-ipq806x-platforms.patch 2015-11-20 23:59:31 UTC (rev 47541) +++ trunk/target/linux/ipq806x/patches-3.18/112-ARM-dts-qcom-add-pcie-nodes-to-ipq806x-platforms.patch 2015-11-21 10:54:48 UTC (rev 47542) @@ -152,8 +152,8 @@ + #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 = <GIC_SPI 35 IRQ_TYPE_NONE>; + interrupt-names = "msi"; @@ -193,8 +193,8 @@ + #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 = <GIC_SPI 57 IRQ_TYPE_NONE>; + interrupt-names = "msi"; @@ -234,8 +234,8 @@ + #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 = <GIC_SPI 71 IRQ_TYPE_NONE>; + interrupt-names = "msi"; Modified: trunk/target/linux/ipq806x/patches-4.1/112-ARM-dts-qcom-add-pcie-nodes-to-ipq806x-platforms.patch =================================================================== --- trunk/target/linux/ipq806x/patches-4.1/112-ARM-dts-qcom-add-pcie-nodes-to-ipq806x-platforms.patch 2015-11-20 23:59:31 UTC (rev 47541) +++ trunk/target/linux/ipq806x/patches-4.1/112-ARM-dts-qcom-add-pcie-nodes-to-ipq806x-platforms.patch 2015-11-21 10:54:48 UTC (rev 47542) @@ -153,8 +153,8 @@ + #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 = <GIC_SPI 35 IRQ_TYPE_NONE>; + interrupt-names = "msi"; @@ -194,8 +194,8 @@ + #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 = <GIC_SPI 57 IRQ_TYPE_NONE>; + interrupt-names = "msi"; @@ -235,8 +235,8 @@ + #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 = <GIC_SPI 71 IRQ_TYPE_NONE>; + interrupt-names = "msi"; _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
