Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge branch 'further-mt7988-devicetree-work'

Frank Wunderlich says:

====================
further mt7988 devicetree work

This series continues mt7988 devicetree work

- Extend cpu frequency scaling with CCI
- GPIO leds
- Basic network-support (ethernet controller + builtin switch + SFP Cages)

depencies (i hope this list is complete and latest patches/series linked):

support interrupt-names is optional again as i re-added the reserved IRQs
(they are not unusable as i thought and can allow features in future)
https://patchwork.kernel.org/project/netdevbpf/patch/20250619132125.78368-2-linux@fw-web.de/

needs change in mtk ethernet driver for the sram to be read from separate node:
https://patchwork.kernel.org/project/netdevbpf/patch/c2b9242229d06af4e468204bcf42daa1535c3a72.1751461762.git.daniel@makrotopia.org/

for SFP-Function (macs currently disabled):

PCS clearance which is a 1.5 year discussion currently ongoing

Daniel asked netdev for a way 2 go:
https://lore.kernel.org/netdev/aEwfME3dYisQtdCj@pidgin.makrotopia.org/

e.g. something like this (one of):
* https://patchwork.kernel.org/project/netdevbpf/patch/20250610233134.3588011-4-sean.anderson@linux.dev/ (v6)
* https://patchwork.kernel.org/project/netdevbpf/patch/20250511201250.3789083-4-ansuelsmth@gmail.com/ (v4)
* https://patchwork.kernel.org/project/netdevbpf/patch/ba4e359584a6b3bc4b3470822c42186d5b0856f9.1721910728.git.daniel@makrotopia.org/

full usxgmii driver:
https://patchwork.kernel.org/project/netdevbpf/patch/07845ec900ba41ff992875dce12c622277592c32.1702352117.git.daniel@makrotopia.org/

first PCS-discussion is here:
https://patchwork.kernel.org/project/netdevbpf/patch/8aa905080bdb6760875d62cb3b2b41258837f80e.1702352117.git.daniel@makrotopia.org/
some more here:
https://lore.kernel.org/netdev/20250511201250.3789083-4-ansuelsmth@gmail.com/

and then dts nodes for sgmiisys+usxgmii+2g5 firmware

when above depencies are solved the mac1/2 can be enabled and 2.5G phy/SFP slots will work.
====================

Link: https://patch.msgid.link/20250709111147.11843-1-linux@fw-web.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

+81 -7
+23 -1
Documentation/devicetree/bindings/net/dsa/mediatek,mt7530.yaml
··· 136 136 See Documentation/devicetree/bindings/regulator/mt6323-regulator.txt for 137 137 details for the regulator setup on these boards. 138 138 139 + mdio: 140 + $ref: /schemas/net/mdio.yaml# 141 + unevaluatedProperties: false 142 + 143 + properties: 144 + mediatek,pio: 145 + $ref: /schemas/types.yaml#/definitions/phandle 146 + description: 147 + Phandle pointing to the mediatek pinctrl node. 148 + 139 149 mediatek,mcm: 140 150 type: boolean 141 151 description: ··· 200 190 - reg 201 191 202 192 $defs: 193 + builtin-dsa-port: 194 + patternProperties: 195 + "^(ethernet-)?ports$": 196 + patternProperties: 197 + "^(ethernet-)?port@[0-6]$": 198 + if: 199 + required: [ ethernet ] 200 + then: 201 + properties: 202 + phy-mode: 203 + const: internal 204 + 203 205 mt7530-dsa-port: 204 206 patternProperties: 205 207 "^(ethernet-)?ports$": ··· 319 297 - airoha,en7581-switch 320 298 - airoha,an7583-switch 321 299 then: 322 - $ref: "#/$defs/mt7530-dsa-port" 300 + $ref: "#/$defs/builtin-dsa-port" 323 301 properties: 324 302 gpio-controller: false 325 303 mediatek,mcm: false
+58 -6
Documentation/devicetree/bindings/net/mediatek,net.yaml
··· 40 40 41 41 interrupts: 42 42 minItems: 1 43 - maxItems: 4 43 + maxItems: 8 44 + 45 + interrupt-names: 46 + minItems: 1 47 + items: 48 + - const: fe0 49 + - const: fe1 50 + - const: fe2 51 + - const: fe3 52 + - const: pdma0 53 + - const: pdma1 54 + - const: pdma2 55 + - const: pdma3 44 56 45 57 power-domains: 46 58 maxItems: 1 ··· 65 53 - const: fe 66 54 - const: gmac 67 55 - const: ppe 56 + 57 + sram: 58 + $ref: /schemas/types.yaml#/definitions/phandle 59 + description: phandle to mmio SRAM 68 60 69 61 mediatek,ethsys: 70 62 $ref: /schemas/types.yaml#/definitions/phandle ··· 151 135 minItems: 3 152 136 maxItems: 3 153 137 138 + interrupt-names: 139 + minItems: 3 140 + maxItems: 3 141 + 154 142 clocks: 155 143 minItems: 4 156 144 maxItems: 4 ··· 165 145 - const: esw 166 146 - const: gp1 167 147 - const: gp2 148 + 149 + sram: false 168 150 169 151 mediatek,infracfg: false 170 152 ··· 188 166 interrupts: 189 167 maxItems: 1 190 168 169 + interrupt-names: 170 + maxItems: 1 171 + 191 172 clocks: 192 173 minItems: 2 193 174 maxItems: 2 ··· 199 174 items: 200 175 - const: ethif 201 176 - const: fe 177 + 178 + sram: false 202 179 203 180 mediatek,infracfg: false 204 181 ··· 216 189 then: 217 190 properties: 218 191 interrupts: 192 + minItems: 3 193 + maxItems: 3 194 + 195 + interrupt-names: 219 196 minItems: 3 220 197 maxItems: 3 221 198 ··· 241 210 - const: sgmii_ck 242 211 - const: eth2pll 243 212 213 + sram: false 214 + 244 215 mediatek,infracfg: false 245 216 246 217 mediatek,sgmiisys: ··· 262 229 then: 263 230 properties: 264 231 interrupts: 232 + minItems: 3 233 + maxItems: 3 234 + 235 + interrupt-names: 265 236 minItems: 3 266 237 maxItems: 3 267 238 ··· 293 256 - const: sgmii_ck 294 257 - const: eth2pll 295 258 259 + sram: false 260 + 296 261 mediatek,sgmiisys: 297 262 minItems: 2 298 263 maxItems: 2 ··· 311 272 then: 312 273 properties: 313 274 interrupts: 314 - minItems: 4 275 + minItems: 8 276 + 277 + interrupt-names: 278 + minItems: 8 315 279 316 280 clocks: 317 281 minItems: 15 ··· 352 310 then: 353 311 properties: 354 312 interrupts: 355 - minItems: 4 313 + minItems: 8 314 + 315 + interrupt-names: 316 + minItems: 8 356 317 357 318 clocks: 358 319 minItems: 15 ··· 393 348 then: 394 349 properties: 395 350 interrupts: 396 - minItems: 4 351 + minItems: 8 352 + 353 + interrupt-names: 354 + minItems: 8 397 355 398 356 clocks: 399 357 minItems: 24 ··· 430 382 - const: xgp3 431 383 432 384 patternProperties: 433 - "^mac@[0-1]$": 385 + "^mac@[0-2]$": 434 386 type: object 435 387 unevaluatedProperties: false 436 388 allOf: ··· 555 507 interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>, 556 508 <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>, 557 509 <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>, 558 - <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>; 510 + <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>, 511 + <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>, 512 + <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>, 513 + <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>, 514 + <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>; 559 515 clocks = <&ethsys CLK_ETH_FE_EN>, 560 516 <&ethsys CLK_ETH_GP2_EN>, 561 517 <&ethsys CLK_ETH_GP1_EN>,