mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-07-24 03:56:59 +08:00

* Revert "uboot-rockchip: update NanoPi R2S patches" This reverts commit bda6f6572be630bcf9a1c8a429e40d8a53033af5. This commit breaks the onboard ethernet on some units. Revert it for now. Signed-off-by: David Bauer <mail@david-bauer.net> * rockchip: enable Realtek PHY support The NanoPi R2S features a Realtek Gigabit Ethernet PHY. Enable the Realtek specific PHY driver to correctly configure internal delays. Signed-off-by: David Bauer <mail@david-bauer.net> * uboot-rockchip: fix nanopi-r2s failed to boot on some sd cards Add regulator-boot-on parameters to vcc_sd. Add startup-delay-us parameters to vcc_sdio. This will improve the problem that in some SD cards are failing to boot up. Signed-off-by: Yuan Tao <ty@wevs.org> * 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> Co-authored-by: David Bauer <mail@david-bauer.net> Co-authored-by: Yuan Tao <ty@wevs.org>
28 lines
955 B
Diff
28 lines
955 B
Diff
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>;
|
|
};
|
|
|