mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 07:22:33 +00:00
b18fe2ecc4
Some patches were slightly cleaned up. One things worth mentioning is
that adding:
phy-mode = "rgmii"
broke SF2 driver. It made it access random register breaking switch
setup.
That's why this commit also adds a quick sf2 fix.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 05dbfe616d
)
31 lines
1.0 KiB
Diff
31 lines
1.0 KiB
Diff
From a348ff97ffb840b9d74b0e64b3e0e6002187d224 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
|
|
Date: Tue, 9 Mar 2021 19:44:09 +0100
|
|
Subject: [PATCH] arm64: dts: broadcom: bcm4908: fix switch parent node name
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Ethernet switch and MDIO are grouped using "simple-bus". It's not
|
|
allowed to use "ethernet-switch" node name as it isn't a switch. Replace
|
|
it with "bus".
|
|
|
|
Fixes: 527a3ac9bdf8 ("arm64: dts: broadcom: bcm4908: describe internal switch")
|
|
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
|
|
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
|
|
---
|
|
arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi
|
|
+++ b/arch/arm64/boot/dts/broadcom/bcm4908/bcm4908.dtsi
|
|
@@ -156,7 +156,7 @@
|
|
status = "disabled";
|
|
};
|
|
|
|
- ethernet-switch@80000 {
|
|
+ bus@80000 {
|
|
compatible = "simple-bus";
|
|
#size-cells = <1>;
|
|
#address-cells = <1>;
|