* Bugfix for nanopi A64 dts
[not found] <trinity-75111755-6f9b-4de9-82d0-ae1ec40a6b7b-1618465486954@3c-app-webde-bs05>
@ 2021-04-15 6:02 ` Dietmar Kling
2021-04-21 9:29 ` André Przywara
0 siblings, 1 reply; 2+ messages in thread
From: Dietmar Kling @ 2021-04-15 6:02 UTC (permalink / raw)
To: u-boot
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 = <®_dcdc1>;
? ? ? ? status = "okay";
@@ -258,6 +258,11 @@
? ? ? ? status = "okay";
?};
+&usb_otg {
+ ? ? ? dr_mode = "host";
+ ? ? ? status = "okay";
+};
+
?&usbphy {
? ? ? ? status = "okay";
?};
?
?
?
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Bugfix for nanopi A64 dts
2021-04-15 6:02 ` Bugfix for nanopi A64 dts Dietmar Kling
@ 2021-04-21 9:29 ` André Przywara
0 siblings, 0 replies; 2+ messages in thread
From: André Przywara @ 2021-04-21 9:29 UTC (permalink / raw)
To: u-boot
On 15/04/2021 07:02, Dietmar Kling wrote:
> Hi Guys,
Hi Dietmar,
?
> 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.
Thanks for sharing this.
Please include the sunxi maintainers in your email, for improved
response time.
?
> 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
Please note that patches need your Signed-off-by:, to be eligible for
inclusion.
In general we don't take DT patches straight to U-Boot, they need to go
via the kernel tree first, then get synced back from time to time.
I just sent an update for all A64s, that should fix your network problem
already.
For the USB part: The sunxi Wiki is a bit controversial on this topic
(talking about a hub at some point), so can you clarify the USB
situation on the board?
Is controller 0 connected to the micro-USB socket, and the two type-A
receptables are connected via a hub?
Or is it like the Pine64: the two type-A receptables are connected to
controller 0 and 1, and the micro-USB is just for power?
If it is the latter, I wonder how this patch works for you? I need
another U-Boot patch [1] (which I want to send out shortly) to actually
enable this port 0 as a host port, and also rely on a DT change (now
merged in mainline Linux).
Cheers,
Andre
>
> 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 = <®_dcdc1>;
> ? ? ? ? status = "okay";
> @@ -258,6 +258,11 @@
> ? ? ? ? status = "okay";
> ?};
> +&usb_otg {
> + ? ? ? dr_mode = "host";
> + ? ? ? status = "okay";
> +};
> +
> ?&usbphy {
> ? ? ? ? status = "okay";
> ?};
> ?
> ?
> ?
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-04-21 9:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <trinity-75111755-6f9b-4de9-82d0-ae1ec40a6b7b-1618465486954@3c-app-webde-bs05>
2021-04-15 6:02 ` Bugfix for nanopi A64 dts Dietmar Kling
2021-04-21 9:29 ` André Przywara
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.