This patch enables the Firefly Station M2 board dts build and fixes hardware issues: (#434)

1. Fixes GMAC1 clock hierarchy and adds phy-supply for stable networking.
2. Corrects RGMII delays (tx=0x4f, rx=0x24) to fix packet loss/CRC errors.
3. Assigns VOP2 ESMART0 layer to the cursor to fix rendering issues.

Signed-off-by: Gleb Shleikel <gl.schleikel@gmail.com>
This commit is contained in:
Gleb Shleikel 2025-12-01 11:58:34 +03:00 committed by GitHub
parent 78db2e0a6e
commit 1bbe4f2966
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 4 deletions

View file

@ -450,6 +450,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-tablet-rk806-single-v10.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-tablet-v10.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3588s-tablet-v11.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-luckfox-core3566.dtb
dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-roc-pc.dtb
subdir-y := $(dts-dirs) overlay

View file

@ -1542,8 +1542,9 @@
/* Reset time is 20ms, 100ms for rtl8211f */
snps,reset-delays-us = <0 20000 100000>;
assigned-clocks = <&cru SCLK_GMAC1_RX_TX>, <&cru SCLK_GMAC1>;
assigned-clock-parents = <&cru SCLK_GMAC1_RGMII_SPEED>, <&gmac1_clkin>;
assigned-clocks = <&cru SCLK_GMAC1_RX_TX>, <&cru SCLK_GMAC1_RGMII_SPEED>, <&cru SCLK_GMAC1>;
assigned-clock-parents = <&cru SCLK_GMAC1_RGMII_SPEED>, <&cru SCLK_GMAC1>, <&gmac1_clkin>;
phy-supply = <&vcc_3v3>;
pinctrl-names = "default";
pinctrl-0 = <&gmac1m0_miim
@ -1553,8 +1554,8 @@
&gmac1m0_rgmii_bus
&gmac1m0_clkinout>;
tx_delay = <0x4e>;
rx_delay = <0x2c>;
tx_delay = <0x4f>;
rx_delay = <0x24>;
phy-handle = <&rgmii_phy1>;
status = "okay";
@ -1595,3 +1596,7 @@
status = "okay";
connect = <&vp0_out_hdmi>;
};
&vp0 {
cursor-win-id = <ROCKCHIP_VOP2_ESMART0>;
};