Commit a9f51a0
committed
PCI: apple: Avoid PERST# deassertion through gpiod initialization
The Aquantia AQC113 10GB ethernet device used in Apple silicon
Mac Studio, Mac Pro and as option in Mac mini is sensitive to PERST#
deassertion before clock setup. The perst pins are defined as
GPIO_ACTIVE_LOW in the device tree. GPIOD_OUT_LOW will deassert the
PERST# pin. This breaks the link setup reliably under m1n1's hypervisor
on a M1 Ultra Mac Studio. There might have been reports of unavailable
10GB NICs before u-boot took over the PCIe link setup.
Signed-off-by: Janne Grunau <j@jannau.net>
Fixes: a6b9ede ("PCI: apple: Do not leak reset GPIO on unbind/unload/error")
Fixes: 1e33888 ("PCI: apple: Add initial hardware bring-up")1 parent 83f1139 commit a9f51a0
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
588 | 588 | | |
589 | 589 | | |
590 | 590 | | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
591 | 597 | | |
592 | | - | |
| 598 | + | |
593 | 599 | | |
594 | 600 | | |
595 | 601 | | |
| |||
0 commit comments