]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
arm64: dts: rockchip: Add overlay for the PCIe slot on RK3576 EVB1
authorAlexey Charkov <alchark@gmail.com>
Tue, 2 Dec 2025 09:54:31 +0000 (13:54 +0400)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 15 Dec 2025 11:25:36 +0000 (12:25 +0100)
commit47b5d3697f6b9f53a0db30a99656a2f8f919e246
treeb49fe0ec6f6a16295409b30ffc601b1bd0769f17
parent8f0b4cce4481fb22653697cced8d0d04027cb1e8
arm64: dts: rockchip: Add overlay for the PCIe slot on RK3576 EVB1

Rockchip RK3576 EVB1 has an onboard PCIe slot (PCIe 2.1, x4 mechanically,
x1 electrically), but it shares pins and PHY with the only USB3 Type-A
port.

There is a physical switch next to the slot to transfer respective pins
connection from the USB3 port to the PCIe slot, but apart from flipping
the switch one must also disable the USB3 host controller to prevent it
from claiming the PHY before the PCIe slot can become usable.

Add an overlay to disable the USB3 host port and instead enable the
PCIe slot, along with its pin configs. The physical switch must still be
flipped to the "ON - PCIe1" position for this to work.

Signed-off-by: Alexey Charkov <alchark@gmail.com>
Link: https://patch.msgid.link/20251202-evb1-pcie1-v2-1-810693b1b72f@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/Makefile
arch/arm64/boot/dts/rockchip/rk3576-evb1-v10-pcie1.dtso [new file with mode: 0644]