Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2032186rwb; Fri, 12 Aug 2022 10:39:51 -0700 (PDT) X-Google-Smtp-Source: AA6agR6FlFwi8ffMyAAKg9X52Cf5w3wEl9xTYstnKIICyNGplU43uRhHrhaTuo3z/uHksBg9qJNF X-Received: by 2002:a05:6402:450c:b0:443:6279:774f with SMTP id ez12-20020a056402450c00b004436279774fmr55543edb.11.1660325991189; Fri, 12 Aug 2022 10:39:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660325991; cv=none; d=google.com; s=arc-20160816; b=OrIiVUhXmprHIbqn8RHNgAk6fJKHUDNb+H9UncYl9CapDa3un3EamQKkDDopPDn96S cEKDheDQTWgu1g5SRCRmUrRBEO3yYFtgwOzLfBv7UhMqAAvMU0YTnSSnQAMz6vK3TxpA xyinY6875RbR6H9pKhSpEVASs/xUgGX2vM+cN+yxkhpS2EqmlBzVe7No+5JWODfJm43B rU9/V8bhc+NBaGla7e7yn+nO+kKMm8Bmemafbr2r4nU9Yh5GMig9R76L93M/+ttS2FJO rDhPd6wyqI9nRHO+dv2RRhOa5WaZBQ0CD/uRKCkWJ4VG7a3Fh5kf7vAkVpl830N2PBVl tz8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=sY1vgXbldwURSg+3j6RoBukcSmdmB2/Ki6V5VdyiWXI=; b=sNS7AWNMZszRXx56Dd+qTcqKfpHk+lyRnMV7Mm3Bh6ARFIqZ/IvfxNtxWB0W5T7oQ6 CvRB+JmYpq/w2RkSHPszgAi0yUS6YQWU8O6IylaXB6+M0C47mVd7hhRiKv1kEkHqLVdl lTB+ktdru61PZb4n2ZfklswZSj+kCYENANoA/6uwj4q0BzN2DS0+0eBW/ZOlrCOliiZd A71n3PYOZlftI8lIamgqgM+i5e8Z5YxwViy1qz/UAfnbUss0yrEaGcFTlVY8QONjfAff flMrF1agY05GYU6XhnaDo+aHF6SE5iuQ1N7XTH12QPVZWKJG18EKetNsWbK/fhrmXZ7P X8gg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nd23-20020a170907629700b00730a9a22287si2324309ejc.829.2022.08.12.10.39.26; Fri, 12 Aug 2022 10:39:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239539AbiHLRgY (ORCPT + 99 others); Fri, 12 Aug 2022 13:36:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238539AbiHLRfl (ORCPT ); Fri, 12 Aug 2022 13:35:41 -0400 Received: from finn.localdomain (finn.gateworks.com [108.161.129.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16BE5883FA; Fri, 12 Aug 2022 10:35:39 -0700 (PDT) Received: from 068-189-091-139.biz.spectrum.com ([68.189.91.139] helo=tharvey.pdc.gateworks.com) by finn.localdomain with esmtp (Exim 4.93) (envelope-from ) id 1oMYZJ-00FqKk-9A; Fri, 12 Aug 2022 17:35:33 +0000 From: Tim Harvey To: Shawn Guo , Fabio Estevam , NXP Linux Team , Sascha Hauer , Rob Herring , Krzysztof Kozlowski , Pengutronix Kernel Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Tim Harvey Subject: [PATCH 6/6] arm64: dts: imx8mp-venice-gw74xx: add WiFi/BT module support Date: Fri, 12 Aug 2022 10:35:26 -0700 Message-Id: <20220812173526.15537-6-tharvey@gateworks.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220812173526.15537-1-tharvey@gateworks.com> References: <20220812173526.15537-1-tharvey@gateworks.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The GW74xx supports an on-board Laird Connectivity Sterling LWB5+ module which uses a Cypress CYW4373W chip to provide 1x1 802.11 a/b/g/n/ac + Bluetooth 5.2. Add the proper device-tree nodes for it. Signed-off-by: Tim Harvey --- .../dts/freescale/imx8mp-venice-gw74xx.dts | 38 +++++++++++++++++-- 1 file changed, 35 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx.dts b/arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx.dts index bfc480aaf54d..47866d4e5444 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-venice-gw74xx.dts @@ -135,10 +135,10 @@ reg_wifi_en: regulator-wifi-en { compatible = "regulator-fixed"; regulator-name = "wl"; gpio = <&gpio3 9 GPIO_ACTIVE_HIGH>; - startup-delay-us = <100>; + startup-delay-us = <70000>; enable-active-high; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; }; }; @@ -577,6 +577,21 @@ &uart2 { status = "okay"; }; +/* bluetooth HCI */ +&uart3 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart3>, <&pinctrl_uart3_gpio>; + cts-gpios = <&gpio3 21 GPIO_ACTIVE_LOW>; + rts-gpios = <&gpio3 22 GPIO_ACTIVE_LOW>; + uart-has-rtscts; + status = "okay"; + + bluetooth { + compatible = "brcm,bcm4330-bt"; + shutdown-gpios = <&gpio3 8 GPIO_ACTIVE_HIGH>; + }; +}; + &uart4 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart4>; @@ -617,6 +632,23 @@ &usb_dwc3_1 { status = "okay"; }; +/* SDIO WiFi */ +&usdhc1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usdhc1>; + bus-width = <4>; + non-removable; + vmmc-supply = <®_wifi_en>; + #address-cells = <1>; + #size-cells = <0>; + status = "okay"; + + wifi@0 { + compatible = "cypress,cyw4373-fmac"; + reg = <0>; + }; +}; + /* eMMC */ &usdhc3 { assigned-clocks = <&clk IMX8MP_CLK_USDHC3>; -- 2.25.1