[PATCH 0/3] arm64: dts: rockchip: Orange Pi 5/5B ethernet, SPI NOR supply and USB-C DP
Arun Iyengar via B4 Relay
devnull+aiyengar1990.gmail.com at kernel.org
Mon Nov 9 23:19:32 PST 2026
Three device tree changes for the Orange Pi 5 and 5B:
1. The YT8531C PHY on gmac1 is described as "rgmii-rxid" with a MAC TX
delay copied from the vendor kernel; the PCB adds no delay, so the
correct description is "rgmii-id" (as the Orange Pi CM5 already
uses), with both delays in the PHY.
2. The SPI NOR flash gets its real 1.8 V supply instead of a dummy
regulator.
3. The USB-C port gets DP Alt Mode: the FUSB302 connector advertises
the DisplayPort alternate mode and the graph links the connector,
the USBDP PHY and the DP0 controller. It uses only bindings already
in mainline.
Tested on an Orange Pi 5 (RK3588S, PCB v1.2): with "rgmii-id" the link
comes up at 1000/Full and receives at 940 Mbit/s with no errors (with
"net: stmmac: dwmac-rk: only read the delays the MAC applies", sent
separately, the "Can not read property" warnings are gone too); the
regulator summary lists the flash supply under vcc_1v8_s3 and the dummy
regulator message is gone. With patch 3, a USB-C dock (DP-to-HDMI
converter, USB3 hub) enters DP Alt Mode in pin assignment D (2 lanes
HBR2) and its monitor runs at 3840x2160 at 30 next to HDMI at 4K60, pin
assignment D -> C -> D switches work, 100 of 100 attach cycles
configured DP Alt Mode, and the dock's USB3 devices keep working. The
driver stack used for that test carried the pending "USBDP PHY cleanup
part 3" and dw-dp HPD/Alt Mode patches; the description itself does
not depend on them. CHECK_DTBS is clean for both boards. The Orange
Pi 5B was not tested (no board at hand); it shares the changed .dtsi.
This series was developed with Claude (Anthropic) as a coding assistant:
it wrote the code and the commit messages, and I reviewed and tested
every change as described above.
Signed-off-by: Arun Iyengar <aiyengar1990 at gmail.com>
---
Arun Iyengar (3):
arm64: dts: rockchip: use rgmii-id for the Orange Pi 5/5B ethernet PHY
arm64: dts: rockchip: add the SPI NOR flash supply on Orange Pi 5
arm64: dts: rockchip: Add USB-C DP AltMode for Orange Pi 5/5B
.../boot/dts/rockchip/rk3588s-orangepi-5-5b.dtsi | 92 +++++++++++++++++++---
.../arm64/boot/dts/rockchip/rk3588s-orangepi-5.dts | 4 +
2 files changed, 83 insertions(+), 13 deletions(-)
---
base-commit: c3baae5f1a15645cddadcb2b9abddef5df291f59
change-id: 20261110-opi5-dts-4b83491c6706
Best regards,
--
Arun Iyengar <aiyengar1990 at gmail.com>
More information about the Linux-rockchip
mailing list