* [PATCH] arm64: dts: allwinner: h6: PineH64 model B: Add wifi
@ 2020-10-29 20:15 Jernej Skrabec
2020-10-30 2:26 ` [linux-sunxi] " Chen-Yu Tsai
0 siblings, 1 reply; 2+ messages in thread
From: Jernej Skrabec @ 2020-10-29 20:15 UTC (permalink / raw)
To: mripard, wens
Cc: robh+dt, devicetree, linux-arm-kernel, linux-kernel, linux-sunxi
PineH64 model B contains RTL8723CS wifi+bt combo module.
Since bluetooth support is not yet squared away, only wifi is enabled
for now.
Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
---
.../dts/allwinner/sun50i-h6-pine-h64-model-b.dts | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-model-b.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-model-b.dts
index f4c8966a6497..3f42b8b29b0f 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-model-b.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-model-b.dts
@@ -10,6 +10,12 @@ / {
compatible = "pine64,pine-h64-model-b", "allwinner,sun50i-h6";
/delete-node/ reg_gmac_3v3;
+
+ wifi_pwrseq: wifi_pwrseq {
+ compatible = "mmc-pwrseq-simple";
+ reset-gpios = <&r_pio 1 3 GPIO_ACTIVE_LOW>; /* PM3 */
+ post-power-on-delay-ms = <200>;
+ };
};
&hdmi_connector {
@@ -19,3 +25,11 @@ &hdmi_connector {
&emac {
phy-supply = <®_aldo2>;
};
+
+&mmc1 {
+ vmmc-supply = <®_cldo3>;
+ mmc-pwrseq = <&wifi_pwrseq>;
+ bus-width = <4>;
+ non-removable;
+ status = "okay";
+};
--
2.29.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [linux-sunxi] [PATCH] arm64: dts: allwinner: h6: PineH64 model B: Add wifi
2020-10-29 20:15 [PATCH] arm64: dts: allwinner: h6: PineH64 model B: Add wifi Jernej Skrabec
@ 2020-10-30 2:26 ` Chen-Yu Tsai
0 siblings, 0 replies; 2+ messages in thread
From: Chen-Yu Tsai @ 2020-10-30 2:26 UTC (permalink / raw)
To: Jernej Skrabec
Cc: Maxime Ripard, Rob Herring, devicetree, linux-arm-kernel,
linux-kernel, linux-sunxi
On Fri, Oct 30, 2020 at 4:10 AM Jernej Skrabec <jernej.skrabec@siol.net> wrote:
>
> PineH64 model B contains RTL8723CS wifi+bt combo module.
>
> Since bluetooth support is not yet squared away, only wifi is enabled
> for now.
>
> Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net>
> ---
> .../dts/allwinner/sun50i-h6-pine-h64-model-b.dts | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-model-b.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-model-b.dts
> index f4c8966a6497..3f42b8b29b0f 100644
> --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-model-b.dts
> +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-pine-h64-model-b.dts
> @@ -10,6 +10,12 @@ / {
> compatible = "pine64,pine-h64-model-b", "allwinner,sun50i-h6";
>
> /delete-node/ reg_gmac_3v3;
> +
> + wifi_pwrseq: wifi_pwrseq {
> + compatible = "mmc-pwrseq-simple";
> + reset-gpios = <&r_pio 1 3 GPIO_ACTIVE_LOW>; /* PM3 */
> + post-power-on-delay-ms = <200>;
> + };
> };
>
> &hdmi_connector {
> @@ -19,3 +25,11 @@ &hdmi_connector {
> &emac {
> phy-supply = <®_aldo2>;
> };
> +
> +&mmc1 {
> + vmmc-supply = <®_cldo3>;
Please add vqmmc-supply, which according to the schematic is supplied by ALDO1.
After that,
Acked-by: Chen-Yu Tsai <wens@csie.org>
> + mmc-pwrseq = <&wifi_pwrseq>;
> + bus-width = <4>;
> + non-removable;
> + status = "okay";
> +};
> --
> 2.29.1
>
> --
> You received this message because you are subscribed to the Google Groups "linux-sunxi" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscribe@googlegroups.com.
> To view this discussion on the web, visit https://groups.google.com/d/msgid/linux-sunxi/20201029201537.598182-1-jernej.skrabec%40siol.net.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-10-30 2:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-29 20:15 [PATCH] arm64: dts: allwinner: h6: PineH64 model B: Add wifi Jernej Skrabec
2020-10-30 2:26 ` [linux-sunxi] " Chen-Yu Tsai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).