Skip to content

Commit bdfe4ce

Browse files
Icenowymripard
authored andcommitted
arm64: allwinner: a64: add Ethernet PHY regulator for several boards
On several A64 boards the Ethernet PHY is powered by the DC1SW regulator on the AXP803 PMIC. Add phy-handle property to these boards' emac node. Signed-off-by: Icenowy Zheng <icenowy@aosc.io> Acked-by: Corentin LABBE <clabbe.montjoie@gmail.com> Tested-by: Corentin LABBE <clabbe.montjoie@gmail.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
1 parent 4fbd8d1 commit bdfe4ce

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

arch/arm64/boot/dts/allwinner/sun50i-a64-bananapi-m64.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
pinctrl-0 = <&rgmii_pins>;
7676
phy-mode = "rgmii";
7777
phy-handle = <&ext_rgmii_phy>;
78+
phy-supply = <&reg_dc1sw>;
7879
status = "okay";
7980
};
8081

arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@
7777
pinctrl-0 = <&rmii_pins>;
7878
phy-mode = "rmii";
7979
phy-handle = <&ext_rmii_phy1>;
80+
phy-supply = <&reg_dc1sw>;
8081
status = "okay";
8182

8283
};

arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
pinctrl-0 = <&rgmii_pins>;
8383
phy-mode = "rgmii";
8484
phy-handle = <&ext_rgmii_phy>;
85+
phy-supply = <&reg_dc1sw>;
8586
status = "okay";
8687
};
8788

0 commit comments

Comments
 (0)