Skip to content

Commit 5f1f3d5

Browse files
tpetazzoniJason Cooper
authored andcommitted
arm: mvebu: armada-xp-{gp,openblocks-ax3-4}: specify PCIe range
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 <[email protected]> Signed-off-by: Jason Cooper <[email protected]>
1 parent 4089fe9 commit 5f1f3d5

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

arch/arm/boot/dts/armada-xp-gp.dts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,9 @@
3939
};
4040

4141
soc {
42-
ranges = <0 0 0xd0000000 0x100000
43-
0xf0000000 0 0xf0000000 0x1000000>;
42+
ranges = <0 0 0xd0000000 0x100000 /* Internal registers 1MiB */
43+
0xe0000000 0 0xe0000000 0x8100000 /* PCIe */
44+
0xf0000000 0 0xf0000000 0x1000000 /* Device Bus, NOR 16MiB */>;
4445

4546
internal-regs {
4647
serial@12000 {

arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@
2727
};
2828

2929
soc {
30-
ranges = <0 0 0xd0000000 0x100000
31-
0xf0000000 0 0xf0000000 0x8000000>;
30+
ranges = <0 0 0xd0000000 0x100000 /* Internal registers 1MiB */
31+
0xe0000000 0 0xe0000000 0x8100000 /* PCIe */
32+
0xf0000000 0 0xf0000000 0x8000000 /* Device Bus, NOR 128MiB */>;
3233

3334
internal-regs {
3435
serial@12000 {

0 commit comments

Comments
 (0)