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.

arm64: dts: qcom: sa8775p-ride: enable EMAC1

Enable the second MAC on sa8775p-ride.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tested-by: Andrew Halaney <ahalaney@redhat.com>
Link: https://lore.kernel.org/r/20230810080909.6259-10-brgl@bgdev.pl
Signed-off-by: Bjorn Andersson <andersson@kernel.org>

authored by

Bartosz Golaszewski and committed by
Bjorn Andersson
27eb552e fdc051e3

+71
+71
arch/arm64/boot/dts/qcom/sa8775p-ride.dts
··· 17 17 18 18 aliases { 19 19 ethernet0 = &ethernet0; 20 + ethernet1 = &ethernet1; 20 21 i2c11 = &i2c11; 21 22 i2c18 = &i2c18; 22 23 serial0 = &uart10; ··· 331 330 }; 332 331 333 332 mtl_tx_setup: tx-queues-config { 333 + snps,tx-queues-to-use = <4>; 334 + snps,tx-sched-sp; 335 + 336 + queue0 { 337 + snps,dcb-algorithm; 338 + }; 339 + 340 + queue1 { 341 + snps,dcb-algorithm; 342 + }; 343 + 344 + queue2 { 345 + snps,avb-algorithm; 346 + snps,send_slope = <0x1000>; 347 + snps,idle_slope = <0x1000>; 348 + snps,high_credit = <0x3e800>; 349 + snps,low_credit = <0xffc18000>; 350 + }; 351 + 352 + queue3 { 353 + snps,avb-algorithm; 354 + snps,send_slope = <0x1000>; 355 + snps,idle_slope = <0x1000>; 356 + snps,high_credit = <0x3e800>; 357 + snps,low_credit = <0xffc18000>; 358 + }; 359 + }; 360 + }; 361 + 362 + &ethernet1 { 363 + phy-mode = "sgmii"; 364 + phy-handle = <&sgmii_phy1>; 365 + 366 + snps,mtl-rx-config = <&mtl_rx_setup1>; 367 + snps,mtl-tx-config = <&mtl_tx_setup1>; 368 + snps,ps-speed = <1000>; 369 + 370 + status = "okay"; 371 + 372 + mtl_rx_setup1: rx-queues-config { 373 + snps,rx-queues-to-use = <4>; 374 + snps,rx-sched-sp; 375 + 376 + queue0 { 377 + snps,dcb-algorithm; 378 + snps,map-to-dma-channel = <0x0>; 379 + snps,route-up; 380 + snps,priority = <0x1>; 381 + }; 382 + 383 + queue1 { 384 + snps,dcb-algorithm; 385 + snps,map-to-dma-channel = <0x1>; 386 + snps,route-ptp; 387 + }; 388 + 389 + queue2 { 390 + snps,avb-algorithm; 391 + snps,map-to-dma-channel = <0x2>; 392 + snps,route-avcp; 393 + }; 394 + 395 + queue3 { 396 + snps,avb-algorithm; 397 + snps,map-to-dma-channel = <0x3>; 398 + snps,priority = <0xc>; 399 + }; 400 + }; 401 + 402 + mtl_tx_setup1: tx-queues-config { 334 403 snps,tx-queues-to-use = <4>; 335 404 snps,tx-sched-sp; 336 405