]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
arm: mvebu: armada-xp-db: ensure PCIe range is specified
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 6 Jun 2013 09:21:23 +0000 (11:21 +0200)
committerJason Cooper <jason@lakedaemon.net>
Thu, 6 Jun 2013 19:07:51 +0000 (19:07 +0000)
The ranges DT entry needed by the PCIe controller is defined at the
SoC .dtsi level. However, some boards have a NOR flash, and to support
it, they need to override the SoC-level ranges property to add an
additional range. Since PCIe and NOR support came separately, some
boards were not properly changed to include the PCIe range in their
ranges property at the .dts level.

This commit fixes those platforms.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/armada-xp-db.dts

index f5fc1a3868a2e39e139fc76f900c23fb03457b2a..e28e68ff864dbd40c2aca2a00d25e74cc0f70137 100644 (file)
@@ -31,6 +31,7 @@
 
        soc {
                ranges = <0          0 0xd0000000 0x100000      /* Internal registers 1MiB */
+                         0xe0000000 0 0xe0000000 0x8100000     /* PCIe */
                          0xf0000000 0 0xf0000000 0x1000000>;   /* Device Bus, NOR 16MiB   */
 
                internal-regs {