Skip to content

Commit e261bd7

Browse files
aiamadeusmmind
authored andcommitted
arm64: dts: rockchip: fixes PHY reset for Lunzn Fastrhino R68S
Fixed the PHY address and reset GPIOs (does not match the corresponding pinctrl) for gmac0 and gmac1. Fixes: b9f8ca6 ("arm64: dts: rockchip: Add Lunzn Fastrhino R68S") Signed-off-by: Chukun Pan <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
1 parent 2bf5d44 commit e261bd7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r68s.dts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
&gmac0_rx_bus2
4040
&gmac0_rgmii_clk
4141
&gmac0_rgmii_bus>;
42-
snps,reset-gpio = <&gpio0 RK_PB0 GPIO_ACTIVE_LOW>;
42+
snps,reset-gpio = <&gpio1 RK_PB0 GPIO_ACTIVE_LOW>;
4343
snps,reset-active-low;
4444
/* Reset time is 15ms, 50ms for rtl8211f */
4545
snps,reset-delays-us = <0 15000 50000>;
@@ -61,7 +61,7 @@
6161
&gmac1m1_rx_bus2
6262
&gmac1m1_rgmii_clk
6363
&gmac1m1_rgmii_bus>;
64-
snps,reset-gpio = <&gpio0 RK_PB1 GPIO_ACTIVE_LOW>;
64+
snps,reset-gpio = <&gpio1 RK_PB1 GPIO_ACTIVE_LOW>;
6565
snps,reset-active-low;
6666
/* Reset time is 15ms, 50ms for rtl8211f */
6767
snps,reset-delays-us = <0 15000 50000>;
@@ -71,18 +71,18 @@
7171
};
7272

7373
&mdio0 {
74-
rgmii_phy0: ethernet-phy@0 {
74+
rgmii_phy0: ethernet-phy@1 {
7575
compatible = "ethernet-phy-ieee802.3-c22";
76-
reg = <0>;
76+
reg = <0x1>;
7777
pinctrl-0 = <&eth_phy0_reset_pin>;
7878
pinctrl-names = "default";
7979
};
8080
};
8181

8282
&mdio1 {
83-
rgmii_phy1: ethernet-phy@0 {
83+
rgmii_phy1: ethernet-phy@1 {
8484
compatible = "ethernet-phy-ieee802.3-c22";
85-
reg = <0>;
85+
reg = <0x1>;
8686
pinctrl-0 = <&eth_phy1_reset_pin>;
8787
pinctrl-names = "default";
8888
};

0 commit comments

Comments
 (0)