Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp809321yba; Thu, 16 May 2019 09:13:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqz/3PPtcSq+9xQBOgwgMOSq0dWUQCCsYCXJ9hpncVX4M/ty6auDjMUz9DPPRE+HpzFFE9so X-Received: by 2002:a17:902:7609:: with SMTP id k9mr52506310pll.335.1558023194842; Thu, 16 May 2019 09:13:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558023194; cv=none; d=google.com; s=arc-20160816; b=aS9aqEl0PNI/Xza7/0ucfxuQ+fGU6PVCkEFU/kd+mYn/yR/jhxislRgVVyprweVGbw ue3OFNjB9ST/SsbuTAxkx6jqOTd0afVyZZIgFAlxmsyubQQUaBRcK4tAQskLRqGolfa5 47tEkez4mK1XiC5J1IzbuYlRUWOHPLjNSuvIKUcxFUYsFuSilkmlpF9SZdXze2mlKckD jobDxxs4zErq8eINz9f89oaWUkuTzTTRfG0pVCKf0fewcz2RWoftIAmqm7YKb5ugH6aJ bYMLg/dSeTqYXrwW4EjKSbftVdv6diQu6L/+7CqfOsDHSd67uJqY6a5RnFQaEiqBaiPJ enkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=nZtMlRh1F/C7LxaidLUfFQAo2rJhm68621gTxQ/2XYQ=; b=hKIF4veQcSnLeF9J9Wx3CiUOMNrKnL0hUe1efv7IjkMepQ1kTGhsbSVxTFvgNSKpxo z8RnS6HZfjFkT/LE3VIm/JY6/9DBwnlc/bPaZ9GTysdPA18S/sJhXr8tXSUShGpk2asE zTqvXkz5LCsNT/aXEKCUrU20+Le12eFijm798qtcSCts0TKj0EjjmugHVXyuWdwaSl7c tLqUXJHaukDOmYxDiO8tORa1GBkFUu26OaC1IklDAfWszpxeZxYDqhFxfBGTzFqZqtWd VQuhWbnqi87bv454eSTj1lIFydP2WkoXEEg/AyJmNIf5hkSytH4gMnDKcRSBmUx9nmWy rb/g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=siol.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m12si5174934pgv.586.2019.05.16.09.12.57; Thu, 16 May 2019 09:13:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=siol.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726966AbfEPQKv (ORCPT + 99 others); Thu, 16 May 2019 12:10:51 -0400 Received: from mailoutvs7.siol.net ([185.57.226.198]:37940 "EHLO mail.siol.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726715AbfEPQKv (ORCPT ); Thu, 16 May 2019 12:10:51 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.siol.net (Postfix) with ESMTP id 933F1521DFA; Thu, 16 May 2019 18:10:48 +0200 (CEST) X-Virus-Scanned: amavisd-new at psrvmta11.zcs-production.pri Received: from mail.siol.net ([127.0.0.1]) by localhost (psrvmta11.zcs-production.pri [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id R4UBf8dj79kQ; Thu, 16 May 2019 18:10:48 +0200 (CEST) Received: from mail.siol.net (localhost [127.0.0.1]) by mail.siol.net (Postfix) with ESMTPS id 46AA8522084; Thu, 16 May 2019 18:10:48 +0200 (CEST) Received: from localhost.localdomain (cpe-86-58-52-202.static.triera.net [86.58.52.202]) (Authenticated sender: 031275009) by mail.siol.net (Postfix) with ESMTPSA id BEFCC521DFA; Thu, 16 May 2019 18:10:46 +0200 (CEST) From: Jernej Skrabec To: maxime.ripard@bootlin.com, wens@csie.org Cc: robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: dts: sun8i-h3: Fix wifi in Beelink X2 DT Date: Thu, 16 May 2019 18:10:39 +0200 Message-Id: <20190516161039.18534-1-jernej.skrabec@siol.net> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org mmc1 node where wifi module is connected doesn't have properly defined power supplies so wifi module is never powered up. Fix that by specifying additional power supplies. Additionally, this STB may have either Realtek or Broadcom based wifi module. One based on Broadcom module also needs external clock to work properly. Fix that by adding clock property to wifi_pwrseq node. Fixes: e582b47a9252 ("ARM: dts: sun8i-h3: Add dts for the Beelink X2 STB"= ) Signed-off-by: Jernej Skrabec --- arch/arm/boot/dts/sun8i-h3-beelink-x2.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts b/arch/arm/boot/dt= s/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 @@ =20 wifi_pwrseq: wifi_pwrseq { compatible =3D "mmc-pwrseq-simple"; + pinctrl-names =3D "default"; reset-gpios =3D <&r_pio 0 7 GPIO_ACTIVE_LOW>; /* PL7 */ + clocks =3D <&rtc 1>; + clock-names =3D "ext_clock"; }; =20 sound_spdif { @@ -155,6 +158,8 @@ =20 &mmc1 { vmmc-supply =3D <®_vcc3v3>; + vqmmc-supply =3D <®_vcc3v3>; + mmc-pwrseq =3D <&wifi_pwrseq>; bus-width =3D <4>; non-removable; status =3D "okay"; --=20 2.21.0