All checks were successful
target_linux_generic / Update target_linux_generic (openwrt-25.12) (push) Successful in 8s
34 lines
1.2 KiB
Diff
34 lines
1.2 KiB
Diff
From 7f95f04fe1903a31b61085e3ab1b4730f9d72941 Mon Sep 17 00:00:00 2001
|
|
From: Kyle Hendry <kylehendrydev@gmail.com>
|
|
Date: Wed, 13 Aug 2025 17:25:27 -0700
|
|
Subject: [PATCH] net: dsa: b53: mmap: Add gphy port to phy info for bcm63268
|
|
|
|
Add gphy mask to bcm63xx phy info struct and add data for bcm63268
|
|
|
|
Signed-off-by: Kyle Hendry <kylehendrydev@gmail.com>
|
|
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
|
|
Link: https://patch.msgid.link/20250814002530.5866-2-kylehendrydev@gmail.com
|
|
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
|
|
---
|
|
drivers/net/dsa/b53/b53_mmap.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
--- a/drivers/net/dsa/b53/b53_mmap.c
|
|
+++ b/drivers/net/dsa/b53/b53_mmap.c
|
|
@@ -31,6 +31,7 @@
|
|
#define BCM63XX_EPHY_REG 0x3C
|
|
|
|
struct b53_phy_info {
|
|
+ u32 gphy_port_mask;
|
|
u32 ephy_enable_mask;
|
|
u32 ephy_port_mask;
|
|
u32 ephy_bias_bit;
|
|
@@ -65,6 +66,7 @@ static const struct b53_phy_info bcm6368
|
|
static const u32 bcm63268_ephy_offsets[] = {4, 9, 14};
|
|
|
|
static const struct b53_phy_info bcm63268_ephy_info = {
|
|
+ .gphy_port_mask = BIT(3),
|
|
.ephy_enable_mask = GENMASK(4, 0),
|
|
.ephy_port_mask = GENMASK((ARRAY_SIZE(bcm63268_ephy_offsets) - 1), 0),
|
|
.ephy_bias_bit = 24,
|