]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
arm64: dts: allwinner: a133-liontron-h-a133l: Add Ethernet support
authorPaul Kocialkowski <paulk@sys-base.io>
Mon, 7 Jul 2025 16:51:55 +0000 (18:51 +0200)
committerChen-Yu Tsai <wens@csie.org>
Sat, 12 Jul 2025 07:44:27 +0000 (15:44 +0800)
commit8f128f357dfe5907a6f3432ffb1f444e93f1fbf2
treec03ae394835d8ad363aa4a620d565719012693de
parent4e3be5629f1f6de30d3fbcdc357e7da948ccf698
arm64: dts: allwinner: a133-liontron-h-a133l: Add Ethernet support

The Liontron H-A133L board features an Ethernet controller with a
JLSemi JL1101 PHY. Its reset pin is tied to the PH12 GPIO.

Note that the reset pin must be handled as a bus-wide reset GPIO in
order to let the MDIO core properly reset it before trying to read
its identification registers. There's no other device on the MDIO bus.

The datasheet of the PHY mentions that the reset signal must be held
for 1 ms to take effect. Make it 2 ms (and the same for post-delay) to
be on the safe side without wasting too much time during boot.

Signed-off-by: Paul Kocialkowski <paulk@sys-base.io>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Tested-by: Andre Przywara <andre.przywara@arm.com>
Link: https://patch.msgid.link/20250707165155.581579-5-paulk@sys-base.io
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
arch/arm64/boot/dts/allwinner/sun50i-a133-liontron-h-a133l.dts