Compare
0f70fd6f4c1d6c1f2ea298d8dd07c4a4d5dff9af..afb1ecfeda3fc31d6300a176f4854cc62e289bf3
ARM: configs: sama5: enable current Microchip KSZ DSA symbols
The Microchip KSZ DSA family now uses NET_DSA_MICROCHIP_KSZ_COMMON
for the common provider and NET_DSA_MICROCHIP_KSZ_SPI for SPI-attached
switches.
sama5_defconfig still enables the removed KSZ9477-specific symbols even
though SAMA5 device trees contain KSZ SPI switch consumers. Replace the
stale entries with the current provider symbols.
Assisted-by: Codex:gpt-5
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Fixes: 07bca160469b ("net: dsa: microchip: common menuconfig for ksz series switch")
Fixes: 4658f2fe8fbc ("net: dsa: microchip: common ksz_spi_probe for ksz switches")
Reviewed-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
Link: https://lore.kernel.org/r/20260814075310.11613-1-pengpeng@iscas.ac.cn
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
Pengpeng Hou <pengpeng@iscas.ac.cn> · 2026-08-14 07:53 UTC · committed by Claudiu Beznea
2 files changed,
+20
−2
modified arch/arm/configs/sama5_defconfig
| @@ -69,8 +69,8 @@ CONFIG_BLK_DEV_SD=y | |||
| 69 | 69 | # CONFIG_BLK_DEV_BSG is not set | |
| 70 | 70 | # CONFIG_SCSI_LOWLEVEL is not set | |
| 71 | 71 | CONFIG_NETDEVICES=y | |
| 72 | - | CONFIG_NET_DSA_MICROCHIP_KSZ9477=m | |
| 73 | - | CONFIG_NET_DSA_MICROCHIP_KSZ9477_SPI=m | |
| 72 | + | CONFIG_NET_DSA_MICROCHIP_KSZ_COMMON=m | |
| 73 | + | CONFIG_NET_DSA_MICROCHIP_KSZ_SPI=m | |
| 74 | 74 | # CONFIG_NET_VENDOR_BROADCOM is not set | |
| 75 | 75 | CONFIG_MACB=y | |
| 76 | 76 | # CONFIG_NET_VENDOR_CIRRUS is not set | |
modified arch/riscv/boot/dts/microchip/mpfs-beaglev-fire.dts
| @@ -90,6 +90,10 @@ | |||
| 90 | 90 | }; | |
| 91 | 91 | ||
| 92 | 92 | &gpio0 { | |
| 93 | + | interrupts = <13>, <14>, <15>, <16>, | |
| 94 | + | <17>, <18>, <19>, <20>, | |
| 95 | + | <21>, <22>, <23>, <24>, | |
| 96 | + | <25>, <26>; | |
| 93 | 97 | ngpios = <14>; | |
| 94 | 98 | gpio-line-names = "", "", "", "", "", "", "", | |
| 95 | 99 | "", "", "", "", "", "SD_CARD_CS", "USER_BUTTON"; | |
| @@ -97,6 +101,12 @@ | |||
| 97 | 101 | }; | |
| 98 | 102 | ||
| 99 | 103 | &gpio1 { | |
| 104 | + | interrupts = <27>, <28>, <29>, <30>, | |
| 105 | + | <31>, <32>, <33>, <34>, | |
| 106 | + | <35>, <36>, <37>, <38>, | |
| 107 | + | <39>, <40>, <41>, <42>, | |
| 108 | + | <43>, <44>, <45>, <46>, | |
| 109 | + | <47>, <48>, <49>, <50>; | |
| 100 | 110 | ngpios = <24>; | |
| 101 | 111 | gpio-line-names = "", "", "", "", "", "", "", "", "", "", | |
| 102 | 112 | "", "", "", "", "", "", "", "", "", "", | |
| @@ -105,6 +115,14 @@ | |||
| 105 | 115 | }; | |
| 106 | 116 | ||
| 107 | 117 | &gpio2 { | |
| 118 | + | interrupts = <53>, <53>, <53>, <53>, | |
| 119 | + | <53>, <53>, <53>, <53>, | |
| 120 | + | <53>, <53>, <53>, <53>, | |
| 121 | + | <53>, <53>, <53>, <53>, | |
| 122 | + | <53>, <53>, <53>, <53>, | |
| 123 | + | <53>, <53>, <53>, <53>, | |
| 124 | + | <53>, <53>, <53>, <53>, | |
| 125 | + | <53>, <53>, <53>, <53>; | |
| 108 | 126 | ngpios = <32>; | |
| 109 | 127 | gpio-line-names = "P8_PIN3_USER_LED_0", "P8_PIN4_USER_LED_1", "P8_PIN5_USER_LED_2", | |
| 110 | 128 | "P8_PIN6_USER_LED_3", "P8_PIN7_USER_LED_4", "P8_PIN8_USER_LED_5", | |