[PATCH 3/3] arm64: dts: rockchip: Add rk3588s-orangepi-cm5-base device tree
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Mon Oct 6 09:24:20 PDT 2025
On Mon, Oct 06, 2025 at 06:06:21PM +0200, Andrew Lunn wrote:
> > +&gmac1 {
> > + clock_in_out = "output";
> > + phy-handle = <&rgmii_phy>;
> > + phy-mode = "rgmii-id";
> > + phy-supply = <&vcc_3v3>;
> > + pinctrl-names = "default";
> > + pinctrl-0 = <&gmac1_miim
> > + &gmac1_rx_bus2
> > + &gmac1_tx_bus2
> > + &gmac1_rgmii_clk
> > + &gmac1_rgmii_bus>;
> > + tx_delay = <0x42>;
>
> Nice to see phy-mode 'rgmii-id', but 0x42 is pretty high in comparison
> to other boards correctly using 'rgmii-id', and is asymmetric with no
> rx_delay value.
>
> I cannot say this is wrong, it is just odd, not what i would expect.
I copied it blindly from the BSP. Dropping the property, I can still
ping the board, so I removed it in v2. There's more that will need to be
investigated there, as clock_in_out should likely be "input", but I
couldn't get that to work. I'd like to leave this to someone else as I'm
lacking time to fix it (and ethernet is also not my strongest
expertise). I could drop the gmac1 completely, but I think the starting
point is valuable.
--
Regards,
Laurent Pinchart
More information about the Linux-rockchip
mailing list