aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/patches-5.4
diff options
context:
space:
mode:
authorTomasz Maciej Nowak <tomek_n@o2.pl>2020-04-20 19:47:11 +0200
committerPetr Štetiar <ynezz@true.cz>2020-06-03 16:49:28 +0200
commitcf69472fb1ec70a94e3ae880f805dcdf636e33bb (patch)
tree549d95132cfe640f24a882cb1018ab3b57bb91c1 /target/linux/mvebu/patches-5.4
parentd71fa37aa3730db7388344ecd072be5655289ecb (diff)
downloadupstream-cf69472fb1ec70a94e3ae880f805dcdf636e33bb.tar.gz
upstream-cf69472fb1ec70a94e3ae880f805dcdf636e33bb.tar.bz2
upstream-cf69472fb1ec70a94e3ae880f805dcdf636e33bb.zip
mvebu: espressobin: fix SATA and USB 3.0 ports detection
This commit removes changes from upstream commits: 8e18c8e58da6 arm64: dts: marvell: armada-3720-espressobin: declare SATA PHY property bd3d25b07342 arm64: dts: marvell: armada-37xx: link USB hosts with their PHYs For most boards which have factory bootloader this caused that devices connected to USB 3.0 and SATA port were not detected. For them to function users would need to upgrade the bootloader to version with ARM Trusted Firmware 2.1 or later. Unfortunately there is no official bootloader image with updated ATF component, therefore drop these properties from nodes. This change was also tested briefly with bootloader with updated ATF and the ports functioned properly. Signed-off-by: Tomasz Maciej Nowak <tomek_n@o2.pl>
Diffstat (limited to 'target/linux/mvebu/patches-5.4')
-rw-r--r--target/linux/mvebu/patches-5.4/523-arm64-dts-marvell-espressobin-remove-COMPHY-nodes-as.patch53
1 files changed, 53 insertions, 0 deletions
diff --git a/target/linux/mvebu/patches-5.4/523-arm64-dts-marvell-espressobin-remove-COMPHY-nodes-as.patch b/target/linux/mvebu/patches-5.4/523-arm64-dts-marvell-espressobin-remove-COMPHY-nodes-as.patch
new file mode 100644
index 0000000000..75c4688c75
--- /dev/null
+++ b/target/linux/mvebu/patches-5.4/523-arm64-dts-marvell-espressobin-remove-COMPHY-nodes-as.patch
@@ -0,0 +1,53 @@
+From e928880bd8b26fd704231549456ae7da88cecda6 Mon Sep 17 00:00:00 2001
+From: Tomasz Maciej Nowak <tmn505@gmail.com>
+Date: Mon, 20 Apr 2020 14:35:34 +0200
+Subject: [PATCH] arm64: dts: marvell: espressobin: remove COMPHY nodes
+ assignmet
+
+This commit removes changes from upstream commits:
+8e18c8e58da6 arm64: dts: marvell: armada-3720-espressobin: declare SATA
+PHY property
+bd3d25b07342 arm64: dts: marvell: armada-37xx: link USB hosts with their
+PHYs
+For most boards which have factory bootloader this caused that devices
+connected to USB 3.0 and SATA port were not detected. For them to
+function users would need to upgrade the bootloader to version with ARM
+Trusted Firmware 2.1 or later. Unfortunately there is no official
+bootloader image with updated ATF component, therefore drop these
+properties from nodes. This change was also tested briefly with
+bootloader with updated ATF and the ports functioned properly.
+
+Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com>
+---
+ arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts | 8 ++++++--
+ 1 file changed, 6 insertions(+), 2 deletions(-)
+
+--- a/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
++++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin.dts
+@@ -54,8 +54,6 @@
+ /* J6 */
+ &sata {
+ status = "okay";
+- phys = <&comphy2 0>;
+- phy-names = "sata-phy";
+ };
+
+ /* J1 */
+@@ -121,11 +119,17 @@
+ /* J7 */
+ &usb3 {
+ status = "okay";
++
++ /delete-property/ phys;
++ /delete-property/ phy-names;
+ };
+
+ /* J8 */
+ &usb2 {
+ status = "okay";
++
++ /delete-property/ phys;
++ /delete-property/ phy-names;
+ };
+
+ &mdio {