aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/linux/oxnas/files/arch/arm/boot/dts/ox820-cloudengines-pogoplugpro.dts4
-rw-r--r--target/linux/oxnas/image/ox820.mk7
-rw-r--r--target/linux/oxnas/patches-5.4/500-oxnas-sata.patch10
3 files changed, 18 insertions, 3 deletions
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 d6e239173b..04cf4e31f9 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
@@ -118,6 +118,10 @@
pinctrl-0 = <&pinctrl_etha_mdio>;
};
+&sata {
+ status = "okay";
+};
+
&pcie_phy {
status = "okay";
};
diff --git a/target/linux/oxnas/image/ox820.mk b/target/linux/oxnas/image/ox820.mk
index 0bc8797da8..7a41e1641b 100644
--- a/target/linux/oxnas/image/ox820.mk
+++ b/target/linux/oxnas/image/ox820.mk
@@ -50,8 +50,8 @@ define Device/cloudengines_pogoplugpro
DEVICE_VENDOR := Cloud Engines
DEVICE_MODEL := PogoPlug Pro (with mPCIe)
SUPPORTED_DEVICES += pogoplug-pro
- DEVICE_PACKAGES := kmod-usb2-oxnas kmod-usb-ledtrig-usbport kmod-rt2800-pci \
- wpad-basic
+ DEVICE_PACKAGES := kmod-usb2-oxnas kmod-usb-ledtrig-usbport \
+ kmod-ata-oxnas-sata kmod-rt2800-pci wpad-basic
endef
TARGET_DEVICES += cloudengines_pogoplugpro
@@ -59,7 +59,8 @@ define Device/cloudengines_pogoplug-series-3
DEVICE_VENDOR := Cloud Engines
DEVICE_MODEL := PogoPlug Series V3 (without mPCIe)
SUPPORTED_DEVICES += cloudengines,pogoplugv3 pogoplug-v3
- DEVICE_PACKAGES := kmod-usb2-oxnas kmod-usb-ledtrig-usbport
+ DEVICE_PACKAGES := kmod-usb2-oxnas kmod-usb-ledtrig-usbport \
+ kmod-ata-oxnas-sata
endef
TARGET_DEVICES += cloudengines_pogoplug-series-3
diff --git a/target/linux/oxnas/patches-5.4/500-oxnas-sata.patch b/target/linux/oxnas/patches-5.4/500-oxnas-sata.patch
index ba0d0d79b4..dda82e7beb 100644
--- a/target/linux/oxnas/patches-5.4/500-oxnas-sata.patch
+++ b/target/linux/oxnas/patches-5.4/500-oxnas-sata.patch
@@ -47,3 +47,13 @@
+
};
};
+--- a/arch/arm/boot/dts/ox820-cloudengines-pogoplug-series-3.dts
++++ b/arch/arm/boot/dts/ox820-cloudengines-pogoplug-series-3.dts
+@@ -111,3 +111,7 @@
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_etha_mdio>;
+ };
++
++&sata {
++ status = "okay";
++};