From 0e9b11213ee4a789b669115ed80977dadd2d9da7 Mon Sep 17 00:00:00 2001
From: Daniel Golle <daniel@makrotopia.org>
Date: Tue, 12 Mar 2019 00:35:16 +0100
Subject: [PATCH] oxnas: enable pcie_phy on boards utilizing PCIe

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
---
 .../arch/arm/boot/dts/ox820-cloudengines-pogoplugpro.dts      | 4 ++++
 .../oxnas/files/arch/arm/boot/dts/ox820-shuttle-kd20.dts      | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-cloudengines-pogoplugpro.dts b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-cloudengines-pogoplugpro.dts
index a629c3175b..6f10a94069 100644
--- a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-cloudengines-pogoplugpro.dts
+++ b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-cloudengines-pogoplugpro.dts
@@ -117,6 +117,10 @@
 	pinctrl-0 = <&pinctrl_etha_mdio>;
 };
 
+&pcie_phy {
+	status = "okay";
+};
+
 &pcie0 {
 	status = "okay";
 };
diff --git a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-shuttle-kd20.dts b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-shuttle-kd20.dts
index 40960d0f3d..a8a2ec3bc7 100644
--- a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-shuttle-kd20.dts
+++ b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-shuttle-kd20.dts
@@ -193,6 +193,10 @@
 	nr-ports = <2>;
 };
 
+&pcie_phy {
+	status = "okay";
+};
+
 &pcie0 {
 	status = "okay";
 };
-- 
2.30.2