linux (Allwinner): OrangePi 3 LTS support

This commit is contained in:
Jernej Skrabec 2023-04-18 21:33:57 +00:00 committed by Rudi Heitbaum
parent 27d4acb2da
commit 515a03406d

View File

@ -27,7 +27,7 @@ new file mode 100644
index 000000000000..6a5df1103a90
--- /dev/null
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi-3-lts.dts
@@ -0,0 +1,313 @@
@@ -0,0 +1,315 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+// Copyright (C) 2023 Jernej Skrabec <jernej.skrabec@gmail.com>
+// Based on sun50i-h6-orangepi-3.dts, which is:
@ -133,8 +133,8 @@ index 000000000000..6a5df1103a90
+ phy-mode = "rgmii";
+ phy-handle = <&ext_rgmii_phy>;
+ phy-supply = <&reg_gmac_3v3>;
+ allwinner,rx-delay-ps = <200>;
+ allwinner,tx-delay-ps = <300>;
+ allwinner,rx-delay-ps = <1500>;
+ allwinner,tx-delay-ps = <700>;
+ status = "okay";
+};
+
@ -159,6 +159,8 @@ index 000000000000..6a5df1103a90
+ compatible = "ethernet-phy-ieee802.3-c22";
+ reg = <1>;
+
+ motorcomm,clk-out-frequency-hz = <125000000>;
+
+ reset-gpios = <&pio 3 14 GPIO_ACTIVE_LOW>; /* PD14 */
+ reset-assert-us = <15000>;
+ reset-deassert-us = <40000>;