diff options
author | Sungbo Eo <mans0n@gorani.run> | 2020-03-17 17:34:27 +0900 |
---|---|---|
committer | Sungbo Eo <mans0n@gorani.run> | 2020-03-17 17:36:34 +0900 |
commit | 9e129c9d95484a7b28ea95bda381c19ea1ed4a0f (patch) | |
tree | bbedaf99ca14c83a554e90ab8417fc7e8accee21 | |
parent | 6e64039a8734d725be96379833b04b47c4a0471a (diff) | |
download | upstream-9e129c9d95484a7b28ea95bda381c19ea1ed4a0f.tar.gz upstream-9e129c9d95484a7b28ea95bda381c19ea1ed4a0f.tar.bz2 upstream-9e129c9d95484a7b28ea95bda381c19ea1ed4a0f.zip |
oxnas: enable sata on Pogoplug V3/Pro
Pogoplug V3/Pro has an interanl SATA port. To use it, DTS sata node should be
enabled, and kmod-ata-oxnas-sata package needs to be installed.
Fixes: FS#2542
Signed-off-by: Sungbo Eo <mans0n@gorani.run>
-rw-r--r-- | target/linux/oxnas/files/arch/arm/boot/dts/ox820-cloudengines-pogoplugpro.dts | 4 | ||||
-rw-r--r-- | target/linux/oxnas/image/ox820.mk | 7 | ||||
-rw-r--r-- | target/linux/oxnas/patches-5.4/500-oxnas-sata.patch | 10 |
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"; ++}; |