Re: [PATCH 5/6] arm64: dts: allwinner: pinephone: Add WiFi support
From: Maxime Ripard
Date: Thu Nov 05 2020 - 06:24:13 EST
On Wed, Nov 04, 2020 at 11:41:34PM -0600, Samuel Holland wrote:
> From: Ondrej Jirman <megous@xxxxxxxxxx>
>
> The PinePhone has a Realtek rtl8723cs WiFi module.
>
> On mainboard revisions 1.0 and 1.1, the reset input is always pulled
> high, so no power sequence is needed. On mainboard revision 1.2, the
> reset input is connected to PL2.
>
> Signed-off-by: Ondrej Jirman <megous@xxxxxxxxxx>
> Signed-off-by: Samuel Holland <samuel@xxxxxxxxxxxx>
> ---
> .../allwinner/sun50i-a64-pinephone-1.2.dts | 9 ++++++++
> .../dts/allwinner/sun50i-a64-pinephone.dtsi | 22 +++++++++++++++++++
> 2 files changed, 31 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone-1.2.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone-1.2.dts
> index 94e4f11e0215..e7cf9d8577c1 100644
> --- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone-1.2.dts
> +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone-1.2.dts
> @@ -8,6 +8,11 @@
> / {
> model = "Pine64 PinePhone (1.2)";
> compatible = "pine64,pinephone-1.2", "allwinner,sun50i-a64";
> +
> + wifi_pwrseq: wifi_pwrseq {
> + compatible = "mmc-pwrseq-simple";
> + reset-gpios = <&r_pio 0 2 GPIO_ACTIVE_LOW>; /* PL2 */
> + };
Underscores are not valid in node names. I've fixed it while applying
Maxime
Attachment:
signature.asc
Description: PGP signature