Skip to content

Commit

Permalink
Recore A5 and A6 has DDR3, while A7 has DDR3L
Browse files Browse the repository at this point in the history
  • Loading branch information
eliasbakken committed Apr 13, 2024
1 parent 7b972b5 commit 4dcf843
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions userpatches/kernel/archive/sunxi-6.6/add-recore.patch
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ new file mode 100644
index 000000000000..b99cc90ff099
--- /dev/null
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-recore-a5.dts
@@ -0,0 +1,69 @@
@@ -0,0 +1,73 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+
+/dts-v1/;
Expand Down Expand Up @@ -78,6 +78,10 @@ index 000000000000..b99cc90ff099
+ regulator-name = "vcc-vref-e3";
+};
+
+&reg_dcdc5 {
+ regulator-min-microvolt = <1500000>;
+ regulator-max-microvolt = <1500000>;
+};
+/* STM32 */
+&uart4 {
+ pinctrl-names = "default";
Expand All @@ -94,7 +98,7 @@ new file mode 100644
index 000000000000..6ecfe538e9b5
--- /dev/null
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-recore-a6.dts
@@ -0,0 +1,26 @@
@@ -0,0 +1,30 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+
+/dts-v1/;
Expand All @@ -112,6 +116,10 @@ index 000000000000..6ecfe538e9b5
+ regulator-max-microvolt = <3300000>;
+ regulator-name = "vcc-ext";
+};
+&reg_dcdc5 {
+ regulator-min-microvolt = <1500000>;
+ regulator-max-microvolt = <1500000>;
+};
+&uart4 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart4_pins>;
Expand Down

0 comments on commit 4dcf843

Please sign in to comment.