Skip to content
Permalink
Browse files

oxnas: fix PCIe register ranges in device-tree

They should be relative to apb-bridge@47000000 rather than to the
pcie-controller@c00000 inside it.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
  • Loading branch information...
dangowrt committed Mar 10, 2019
1 parent 6a2705a commit 8f9155fe7ac9417ed4bfdaf4256d1758987024a8
Showing with 2 additions and 2 deletions.
  1. +2 −2 target/linux/oxnas/patches-4.14/340-oxnas-pcie.patch
@@ -42,7 +42,7 @@
+ bus-range = <0x00 0x7f>;
+
+ /* cfg inbound translator */
+ reg = <0x0 0x1000>, <0x100000 0x100>;
+ reg = <0xc00000 0x1000>, <0xd00000 0x100>;
+
+ phys = <&pcie_phy>;
+ phy-names = "pcie-phy";
@@ -83,7 +83,7 @@
+ bus-range = <0x80 0xff>;
+
+ /* cfg inbound translator */
+ reg = <0x0 0x1000>, <0x100000 0x100>;
+ reg = <0xe00000 0x1000>, <0xf00000 0x100>;
+
+ phys = <&pcie_phy>;
+ phy-names = "pcie-phy";

0 comments on commit 8f9155f

Please sign in to comment.
You can’t perform that action at this time.