aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx/patches-5.10/040-v6.6-0003-ARM-dts-BCM5301X-Add-Ethernet-interfaces-links.patch
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2023-07-14 12:35:26 +0200
committerRafał Miłecki <rafal@milecki.pl>2023-07-14 14:42:59 +0200
commita7867e0cb74c887ac6f3e0af4c97447114d382bc (patch)
tree9a7bfe8439d62cc75e7f1c4fd53ecf492d75cac0 /target/linux/bcm53xx/patches-5.10/040-v6.6-0003-ARM-dts-BCM5301X-Add-Ethernet-interfaces-links.patch
parente3d0c7097ee635996c304b345fba566d7ee2153b (diff)
downloadupstream-a7867e0cb74c887ac6f3e0af4c97447114d382bc.tar.gz
upstream-a7867e0cb74c887ac6f3e0af4c97447114d382bc.tar.bz2
upstream-a7867e0cb74c887ac6f3e0af4c97447114d382bc.zip
bcm53xx: backport DT changes queued for v6.6
Signed-off-by: Rafał Miłecki <rafal@milecki.pl> (cherry picked from commit 37ff916af789911fdefb802ce9903e866eb82435)
Diffstat (limited to 'target/linux/bcm53xx/patches-5.10/040-v6.6-0003-ARM-dts-BCM5301X-Add-Ethernet-interfaces-links.patch')
-rw-r--r--target/linux/bcm53xx/patches-5.10/040-v6.6-0003-ARM-dts-BCM5301X-Add-Ethernet-interfaces-links.patch53
1 files changed, 53 insertions, 0 deletions
diff --git a/target/linux/bcm53xx/patches-5.10/040-v6.6-0003-ARM-dts-BCM5301X-Add-Ethernet-interfaces-links.patch b/target/linux/bcm53xx/patches-5.10/040-v6.6-0003-ARM-dts-BCM5301X-Add-Ethernet-interfaces-links.patch
new file mode 100644
index 0000000000..4b2e608ec2
--- /dev/null
+++ b/target/linux/bcm53xx/patches-5.10/040-v6.6-0003-ARM-dts-BCM5301X-Add-Ethernet-interfaces-links.patch
@@ -0,0 +1,53 @@
+From 2ce61fa62183cf994666fcc911da34075c7183b5 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
+Date: Fri, 7 Jul 2023 11:15:19 +0200
+Subject: [PATCH] ARM: dts: BCM5301X: Add Ethernet interfaces links
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Northstar SoCs have 3 usable Ethernet interfaces each connected to one
+of switch ports. They all use fixed links.
+
+Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
+Link: https://lore.kernel.org/r/20230707091519.21673-1-zajec5@gmail.com
+Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
+---
+ arch/arm/boot/dts/broadcom/bcm-ns.dtsi | 18 ++++++++++++++++++
+ 1 file changed, 18 insertions(+)
+
+--- a/arch/arm/boot/dts/bcm-ns.dtsi
++++ b/arch/arm/boot/dts/bcm-ns.dtsi
+@@ -272,14 +272,32 @@
+
+ gmac0: ethernet@24000 {
+ reg = <0x24000 0x800>;
++ phy-mode = "internal";
++
++ fixed-link {
++ speed = <1000>;
++ full-duplex;
++ };
+ };
+
+ gmac1: ethernet@25000 {
+ reg = <0x25000 0x800>;
++ phy-mode = "internal";
++
++ fixed-link {
++ speed = <1000>;
++ full-duplex;
++ };
+ };
+
+ gmac2: ethernet@26000 {
+ reg = <0x26000 0x800>;
++ phy-mode = "internal";
++
++ fixed-link {
++ speed = <1000>;
++ full-duplex;
++ };
+ };
+
+ gmac3: ethernet@27000 {