Bugfix for nanopi A64 dts

Dietmar Kling baldur at email.de
Thu Apr 15 08:02:26 CEST 2021


Hi Guys,
 
I have created a branch on github regarding two bugfixes which allow my 5 nanpoi a64 to connect to network again and also again use the second usb port, when booting, when using the latest (v2021.04) u-boot.
 
https://github.com/DirkTheDaring/u-boot/tree/bugfix/nanopi-a64
 
The patch is attached to this text email.

Please include into u-boot official.

Kind Regards
Dietmar
 
 

diff --git a/arch/arm/dts/sun50i-a64-nanopi-a64.dts b/arch/arm/dts/sun50i-a64-nanopi-a64.dts
index e58db8a6ca..a5c78bdb81 100644
--- a/arch/arm/dts/sun50i-a64-nanopi-a64.dts
+++ b/arch/arm/dts/sun50i-a64-nanopi-a64.dts
@@ -80,7 +80,7 @@
 &emac {
        pinctrl-names = "default";
        pinctrl-0 = <&rgmii_pins>;
-       phy-mode = "rgmii";
+       phy-mode = "rgmii-id";
        phy-handle = <&ext_rgmii_phy>;
        phy-supply = <&reg_dcdc1>;
        status = "okay";
@@ -258,6 +258,11 @@
        status = "okay";
 };
+&usb_otg {
+       dr_mode = "host";
+       status = "okay";
+};
+
 &usbphy {
        status = "okay";
 };
 
 
 


More information about the U-Boot mailing list