Skip to content

Commit

Permalink
Allwinner: Fix wifi on Beelink X2
Browse files Browse the repository at this point in the history
  • Loading branch information
jernejsk committed May 13, 2019
1 parent d60c746 commit 045342f
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions projects/Allwinner/devices/H3/patches/linux/beelink_x2_wifi.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
diff --git a/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts b/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts
index 6277f13f3eb3..6a0ac85b4616 100644
--- a/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts
+++ b/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts
@@ -89,7 +89,10 @@

wifi_pwrseq: wifi_pwrseq {
compatible = "mmc-pwrseq-simple";
+ pinctrl-names = "default";
reset-gpios = <&r_pio 0 7 GPIO_ACTIVE_LOW>; /* PL7 */
+ clocks = <&rtc 1>;
+ clock-names = "ext_clock";
};

sound_spdif {
@@ -155,6 +158,8 @@

&mmc1 {
vmmc-supply = <&reg_vcc3v3>;
+ vqmmc-supply = <&reg_vcc3v3>;
+ mmc-pwrseq = <&wifi_pwrseq>;
bus-width = <4>;
non-removable;
status = "okay";

0 comments on commit 045342f

Please sign in to comment.