mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-28 09:39:00 +00:00
2bda536a3d
Changelog: https://cdn.kernel.org/pub/linux/kernel/v6.x/ChangeLog-6.1.53 Removed upstreamed: bcm53xx/patches-6.1/032-v6.6-0005-ARM-dts-BCM53573-Drop-nonexistent-usb-cells.patch[1] bcm53xx/patches-6.1/032-v6.6-0006-ARM-dts-BCM53573-Add-cells-sizes-to-PCIe-node.patch[2] bcm53xx/patches-6.1/032-v6.6-0007-ARM-dts-BCM53573-Use-updated-spi-gpio-binding-proper.patch[3] bcm53xx/patches-6.1/032-v6.6-0011-ARM-dts-BCM53573-Fix-Tenda-AC9-switch-CPU-port.patch[4] All other patches automatically rebased. Build system: x86/64 Build-tested: x86/64/AMD Cezanne Run-tested: x86/64/AMD Cezanne 1. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.53&id=ee1d740374aa73fb32857685eb05167ad87458cf 2. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.53&id=ab5154ae26c446136827451e907db45d7b92a76f 3. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.53&id=f5ff6897094fa161be55786cb9e5d5b1bf7a9049 4. https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v6.1.53&id=0ef736fec61422794c4a991d46c4ec212b01d8d1 Signed-off-by: John Audia <therealgraysky@proton.me>
76 lines
2.2 KiB
Diff
76 lines
2.2 KiB
Diff
From 44ad8207806973f4e4f7d870fff36cc01f494250 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
|
|
Date: Thu, 13 Jul 2023 13:11:45 +0200
|
|
Subject: [PATCH] ARM: dts: BCM53573: Fix Ethernet info for Luxul devices
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Both Luxul's XAP devices (XAP-810 and XAP-1440) are access points that
|
|
use a non-default design. They don't include switch but have a single
|
|
Ethernet port and BCM54210E PHY connected to the Ethernet controller's
|
|
MDIO bus.
|
|
|
|
Support for those devices regressed due to two changes:
|
|
|
|
1. Describing MDIO bus with switch
|
|
After commit 9fb90ae6cae7 ("ARM: dts: BCM53573: Describe on-SoC BCM53125
|
|
rev 4 switch") Linux stopped probing for MDIO devices.
|
|
|
|
2. Dropping hardcoded BCM54210E delays
|
|
In commit fea7fda7f50a ("net: phy: broadcom: Fix RGMII delays
|
|
configuration for BCM54210E") support for other PHY modes was added but
|
|
that requires a proper "phy-mode" value in DT.
|
|
|
|
Both above changes are correct (they don't need to be reverted or
|
|
anything) but they need this fix for DT data to be correct and for Linux
|
|
to work properly.
|
|
|
|
Fixes: 9fb90ae6cae7 ("ARM: dts: BCM53573: Describe on-SoC BCM53125 rev 4 switch")
|
|
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
|
|
Link: https://lore.kernel.org/r/20230713111145.14864-1-zajec5@gmail.com
|
|
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
|
|
---
|
|
.../boot/dts/broadcom/bcm47189-luxul-xap-1440.dts | 13 +++++++++++++
|
|
.../boot/dts/broadcom/bcm47189-luxul-xap-810.dts | 13 +++++++++++++
|
|
2 files changed, 26 insertions(+)
|
|
|
|
--- a/arch/arm/boot/dts/bcm47189-luxul-xap-1440.dts
|
|
+++ b/arch/arm/boot/dts/bcm47189-luxul-xap-1440.dts
|
|
@@ -58,3 +58,16 @@
|
|
};
|
|
};
|
|
};
|
|
+
|
|
+&gmac0 {
|
|
+ phy-mode = "rgmii";
|
|
+ phy-handle = <&bcm54210e>;
|
|
+
|
|
+ mdio {
|
|
+ /delete-node/ switch@1e;
|
|
+
|
|
+ bcm54210e: ethernet-phy@0 {
|
|
+ reg = <0>;
|
|
+ };
|
|
+ };
|
|
+};
|
|
--- a/arch/arm/boot/dts/bcm47189-luxul-xap-810.dts
|
|
+++ b/arch/arm/boot/dts/bcm47189-luxul-xap-810.dts
|
|
@@ -94,3 +94,16 @@
|
|
};
|
|
};
|
|
};
|
|
+
|
|
+&gmac0 {
|
|
+ phy-mode = "rgmii";
|
|
+ phy-handle = <&bcm54210e>;
|
|
+
|
|
+ mdio {
|
|
+ /delete-node/ switch@1e;
|
|
+
|
|
+ bcm54210e: ethernet-phy@0 {
|
|
+ reg = <0>;
|
|
+ };
|
|
+ };
|
|
+};
|