summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMarek BehĂșn <marek.behun@nic.cz>2018-08-21 12:22:09 +0200
committerStefan Roese <sr@denx.de>2018-09-19 09:00:39 +0200
commit863949e383a96bc698261ef14b195018fcb0100d (patch)
treeefa7ca0db04cdebc98e521bf443030f24e18c3f0 /arch
parentf26e379b312bb59ddd11f79627180a4a2d702d94 (diff)
board: turris_mox: Fixup U-Boot's device tree if PCIe connected
If PCIe Mox module is connected we want to have PCIe node enabled in U-Boot's device tree. Signed-off-by: Marek Behun <marek.behun@nic.cz> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/armada-3720-turris-mox.dts7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/dts/armada-3720-turris-mox.dts b/arch/arm/dts/armada-3720-turris-mox.dts
index a72735ac01..7babc16679 100644
--- a/arch/arm/dts/armada-3720-turris-mox.dts
+++ b/arch/arm/dts/armada-3720-turris-mox.dts
@@ -126,3 +126,10 @@
vbus-supply = <&reg_usb3_vbus>;
status = "okay";
};
+
+&pcie0 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pcie_pins>;
+ reset-gpio = <&gpiosb 3 GPIO_ACTIVE_HIGH>;
+ status = "disabled";
+};