Skip to content

Commit

Permalink
ARM: dts: kirkwood: fix mislocated pcie-controller nodes
Browse files Browse the repository at this point in the history
Commit 54397d8
 ("ARM: kirkwood: Relocate PCIe device tree nodes")

moved the pcie-controller nodes for the Kirkwood SoCs to the mbus
bus node. For some reason, two boards were not properly converted
and have their pci-controller nodes still in the ocp bus node.

As the corresponding SoC pcie-controller does not exist anymore,
it is likely that pcie is broken on those boards since above commit.
Fix it by moving the pcie related nodes to the correct location.

Signed-off-by: Sebastian Hesselbarth <[email protected]>
Fixes: 54397d8 ("ARM: kirkwood: Relocate PCIe device tree nodes")
Cc: <[email protected]> # v3.12+
Acked-by: Andrew Lunn <[email protected]>
Link: https://lkml.kernel.org/r/1398862602-29595-2-git-send-email-sebastian.hesselbarth@gmail.com
Signed-off-by: Jason Cooper <[email protected]>
  • Loading branch information
shesselba authored and Jason Cooper committed May 5, 2014
1 parent e247686 commit 788296b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 16 deletions.
18 changes: 10 additions & 8 deletions arch/arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,16 @@
bootargs = "console=ttyS0,115200n8 earlyprintk";
};

mbus {
pcie-controller {
status = "okay";

pcie@1,0 {
status = "okay";
};
};
};

ocp@f1000000 {
pinctrl@10000 {
pmx_usb_led: pmx-usb-led {
Expand Down Expand Up @@ -73,14 +83,6 @@
ehci@50000 {
status = "okay";
};

pcie-controller {
status = "okay";

pcie@1,0 {
status = "okay";
};
};
};

gpio-leds {
Expand Down
18 changes: 10 additions & 8 deletions arch/arm/boot/dts/kirkwood-nsa310-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@
/ {
model = "ZyXEL NSA310";

mbus {
pcie-controller {
status = "okay";

pcie@1,0 {
status = "okay";
};
};
};

ocp@f1000000 {
pinctrl: pinctrl@10000 {

Expand All @@ -26,14 +36,6 @@
status = "okay";
nr-ports = <2>;
};

pcie-controller {
status = "okay";

pcie@1,0 {
status = "okay";
};
};
};

gpio_poweroff {
Expand Down

0 comments on commit 788296b

Please sign in to comment.