Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3172893yba; Sat, 18 May 2019 10:45:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqwgqrDoDFDPfqXZ/VFPwzmEoUcTT5lXdiQRtu0MDBPraa6LjnIP+yswxQSCNgFGQ5FZZ6VJ X-Received: by 2002:a17:902:29e6:: with SMTP id h93mr40087454plb.111.1558201517318; Sat, 18 May 2019 10:45:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558201517; cv=none; d=google.com; s=arc-20160816; b=LW6imAIuaWpfHSAw56sswsBYDCUDJdGiKFa6l2heOvx+ew2xVCGy+JMDYWltre0yzf PcMiuOhSSd/Kf1E2/3YA+U9sFeBco5QSKXcONFM9+oKhWJZJZwe/W5tUfYG415dKEOcY G0HU/LKXO8oYb3OWjULFxuOZZ/JtksbiYqcIAQoTyxrWi+Enl3GCpKyJNlxtY7IEy1ym pdZAdTlZLLJu0AuBNoZMCg48+Wt4OizcdYQrUYD2Ei4pFDQwrKQFDLyVztlS7UDJ90Ha n1xiMLRcg3vniY8g9VviDWfmuN8Mj7xpWWyUCWJo0DmbuXsg2mXCtA53kCZr0BhI3vRl Pjtw== 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=qeMD5u3PBxklMOKBTCAtsg0Bsjj/qi2VAiNOX6vVEXA=; b=rL9tkfFCjl4CCp+v7sgLZmZM9Z9HJRJlK0mCCDOs/YjXpNLP51Mxfot9eYoLNNf9vh +QbAaiHfqSvUmJsrRzlW4l5VrYC32sEJRBKpqEYPuOFPfagZdaZGdl/B6XpmJzWzCf6c WA+eYrvOuKVxdzhQjd2NZ0M/WqFoS4MB9oSf2zHlyoVqnqvTB3I3oVi4kquuARy6pQjE yUqeVeURUweJz1KIfoN4wU6kMh3qELU98XCbCB590tZ4VY8c9UoH0iWZ1DQ/ol9JMEcp aRZe2QyCoZGsOxDHMlnPfbumFFjvCKzjnYhSN6fbcbkDNM1N8CY3FJ2O84GFnRQ0Fn+i Wh3g== 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 h15si12709659pfn.96.2019.05.18.10.44.58; Sat, 18 May 2019 10:45:17 -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 S1728850AbfERPkW (ORCPT + 99 others); Sat, 18 May 2019 11:40:22 -0400 Received: from mailoutvs56.siol.net ([185.57.226.247]:48283 "EHLO mail.siol.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727594AbfERPkW (ORCPT ); Sat, 18 May 2019 11:40:22 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.siol.net (Zimbra) with ESMTP id 102F7520B82; Sat, 18 May 2019 17:40:20 +0200 (CEST) X-Virus-Scanned: amavisd-new at psrvmta12.zcs-production.pri Received: from mail.siol.net ([127.0.0.1]) by localhost (psrvmta12.zcs-production.pri [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id PuM_LcnyTvqU; Sat, 18 May 2019 17:40:19 +0200 (CEST) Received: from mail.siol.net (localhost [127.0.0.1]) by mail.siol.net (Zimbra) with ESMTPS id BB40A520BDC; Sat, 18 May 2019 17:40:19 +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 (Zimbra) with ESMTPSA id 65006520B82; Sat, 18 May 2019 17:40:19 +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 v2] ARM: dts: sun8i-h3: Fix wifi in Beelink X2 DT Date: Sat, 18 May 2019 17:40:14 +0200 Message-Id: <20190518154014.28998-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 --- Changes from v1: - removed unneeded pinctrl-names node arch/arm/boot/dts/sun8i-h3-beelink-x2.dts | 4 ++++ 1 file changed, 4 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..ac9e26b1d906 100644 --- a/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts +++ b/arch/arm/boot/dts/sun8i-h3-beelink-x2.dts @@ -90,6 +90,8 @@ wifi_pwrseq: wifi_pwrseq { compatible =3D "mmc-pwrseq-simple"; 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 +157,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