aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Bauer <mail@david-bauer.net>2020-10-05 00:01:12 +0200
committerDavid Bauer <mail@david-bauer.net>2020-11-04 23:58:13 +0100
commit3f05b5fda3b2375f59825a31275d78fde5482a1e (patch)
tree8249d16a87139c084fbb8ac4ee56b99409f5adaa
parent229623e3103178fadf8eee2b6df2691ce14eb4cc (diff)
downloadupstream-3f05b5fda3b2375f59825a31275d78fde5482a1e.tar.gz
upstream-3f05b5fda3b2375f59825a31275d78fde5482a1e.tar.bz2
upstream-3f05b5fda3b2375f59825a31275d78fde5482a1e.zip
rockchip: fix NanoPi R2S GMAC clock name
This commit fixes the name for the GMAC clock to gmac_clkin, as this is the name of the clock provided by the rk3328-clk driver. Without this commit, the GMAC will not work in TX direction. Suggested-by: Tobias Waldvogel <tobias.waldvogel@gmail.com> Signed-off-by: David Bauer <mail@david-bauer.net>
-rw-r--r--target/linux/rockchip/patches-5.4/006-rockchip-rk3328-fix-NanoPi-R2S-GMAC-clock-name.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/target/linux/rockchip/patches-5.4/006-rockchip-rk3328-fix-NanoPi-R2S-GMAC-clock-name.patch b/target/linux/rockchip/patches-5.4/006-rockchip-rk3328-fix-NanoPi-R2S-GMAC-clock-name.patch
new file mode 100644
index 0000000000..15c8ad71a6
--- /dev/null
+++ b/target/linux/rockchip/patches-5.4/006-rockchip-rk3328-fix-NanoPi-R2S-GMAC-clock-name.patch
@@ -0,0 +1,27 @@
+From f2962ed3805c5b74948d00e4e6fbb33388261ba8 Mon Sep 17 00:00:00 2001
+From: David Bauer <mail@david-bauer.net>
+Date: Sun, 4 Oct 2020 16:43:29 +0200
+Subject: [PATCH] rockchip: rk3328: fix NanoPi R2S GMAC clock name
+
+This commit fixes the name for the GMAC clock to gmac_clkin, as this is
+the name of the clock provided by the rk3328-clk driver.
+
+Without this commit, the GMAC will not work in TX direction.
+
+Suggested-by: Tobias Waldvogel <tobias.waldvogel@gmail.com>
+Signed-off-by: David Bauer <mail@david-bauer.net>
+---
+ arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dts | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dts
++++ b/arch/arm64/boot/dts/rockchip/rk3328-nanopi-r2s.dts
+@@ -20,7 +20,7 @@
+ gmac_clk: gmac-clock {
+ compatible = "fixed-clock";
+ clock-frequency = <125000000>;
+- clock-output-names = "gmac_clk";
++ clock-output-names = "gmac_clkin";
+ #clock-cells = <0>;
+ };
+