73 lines
1.3 KiB
Diff
73 lines
1.3 KiB
Diff
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts
|
||
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine-baseboard.dts
|
||
|
@@ -78,6 +78,11 @@
|
||
|
regulator-min-microvolt = <1800000>;
|
||
|
regulator-max-microvolt = <1800000>;
|
||
|
};
|
||
|
+
|
||
|
+ wifi_pwrseq: wifi_pwrseq {
|
||
|
+ compatible = "mmc-pwrseq-simple";
|
||
|
+ reset-gpios = <&r_pio 0 2 GPIO_ACTIVE_LOW>; /* PL2 */
|
||
|
+ };
|
||
|
};
|
||
|
|
||
|
&ac_power_supply {
|
||
|
@@ -138,6 +143,21 @@
|
||
|
reg = <1>;
|
||
|
};
|
||
|
};
|
||
|
+
|
||
|
+&mmc1 {
|
||
|
+ pinctrl-names = "default";
|
||
|
+ pinctrl-0 = <&mmc1_pins>;
|
||
|
+ vmmc-supply = <®_dldo4>;
|
||
|
+ vqmmc-supply = <®_eldo1>;
|
||
|
+ mmc-pwrseq = <&wifi_pwrseq>;
|
||
|
+ bus-width = <4>;
|
||
|
+ non-removable;
|
||
|
+ status = "okay";
|
||
|
+
|
||
|
+ rtl8723cs: wifi@1 {
|
||
|
+ reg = <1>;
|
||
|
+ };
|
||
|
+};
|
||
|
|
||
|
&mmc2 {
|
||
|
pinctrl-names = "default";
|
||
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
|
||
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pine64.dts
|
||
|
@@ -73,6 +73,11 @@
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
+
|
||
|
+ wifi_pwrseq: wifi_pwrseq {
|
||
|
+ compatible = "mmc-pwrseq-simple";
|
||
|
+ reset-gpios = <&r_pio 0 2 GPIO_ACTIVE_LOW>; /* PL2 */
|
||
|
+ };
|
||
|
};
|
||
|
|
||
|
&codec {
|
||
|
@@ -146,6 +151,21 @@
|
||
|
status = "okay";
|
||
|
};
|
||
|
|
||
|
+&mmc1 {
|
||
|
+ pinctrl-names = "default";
|
||
|
+ pinctrl-0 = <&mmc1_pins>;
|
||
|
+ vmmc-supply = <®_dldo4>;
|
||
|
+ vqmmc-supply = <®_eldo1>;
|
||
|
+ mmc-pwrseq = <&wifi_pwrseq>;
|
||
|
+ bus-width = <4>;
|
||
|
+ non-removable;
|
||
|
+ status = "okay";
|
||
|
+
|
||
|
+ rtl8723cs: wifi@1 {
|
||
|
+ reg = <1>;
|
||
|
+ };
|
||
|
+};
|
||
|
+
|
||
|
&ohci0 {
|
||
|
status = "okay";
|
||
|
};
|