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.

dt-bindings: net: mediatek,net: add sram property

Meditak Filogic SoCs (MT798x) have dedicated MMIO-SRAM for dma operations.

MT7981 and MT7986 currently use static offset to ethernet MAC register
which will be changed in separate patch once this way is accepted.

Add "sram" property to map ethernet controller to dedicated mmio-sram node.

Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20250709111147.11843-5-linux@fw-web.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Frank Wunderlich and committed by
Jakub Kicinski
c4582a31 23ac2a71

+12
+12
Documentation/devicetree/bindings/net/mediatek,net.yaml
··· 66 66 - const: gmac 67 67 - const: ppe 68 68 69 + sram: 70 + $ref: /schemas/types.yaml#/definitions/phandle 71 + description: phandle to mmio SRAM 72 + 69 73 mediatek,ethsys: 70 74 $ref: /schemas/types.yaml#/definitions/phandle 71 75 description: ··· 166 162 - const: gp1 167 163 - const: gp2 168 164 165 + sram: false 166 + 169 167 mediatek,infracfg: false 170 168 171 169 mediatek,wed: false ··· 199 193 items: 200 194 - const: ethif 201 195 - const: fe 196 + 197 + sram: false 202 198 203 199 mediatek,infracfg: false 204 200 ··· 240 232 - const: sgmii_cdr_fb 241 233 - const: sgmii_ck 242 234 - const: eth2pll 235 + 236 + sram: false 243 237 244 238 mediatek,infracfg: false 245 239 ··· 292 282 - const: sgmii2_cdr_fb 293 283 - const: sgmii_ck 294 284 - const: eth2pll 285 + 286 + sram: false 295 287 296 288 mediatek,sgmiisys: 297 289 minItems: 2