Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7322493rwd; Tue, 6 Jun 2023 09:07:21 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7Im/fy/308tVBWPIYzTgQEANH+euWfAnRdmIj8FvDT+9RilssedePoC7vD8YBCWmrzpgSR X-Received: by 2002:a05:6a00:414d:b0:646:f971:b179 with SMTP id bv13-20020a056a00414d00b00646f971b179mr4321011pfb.16.1686067641504; Tue, 06 Jun 2023 09:07:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686067641; cv=none; d=google.com; s=arc-20160816; b=xSayCDm0Dg4KPUNe2s7RxP2DVaMmWUiOUIL8TfqYzcexu2GQrHjhOC92FfsdEbYBl3 PEbgpB9UMsnl8VfgPoHT2WlvO/yy8X4caJ2moWO/SvzqZmqXt0UvFdyWL85SSYaqwfND 6ZLTwNXRr5y8+l74GHV6TJd4BOAKekNDt5IpDt6upMXJKlZ3NUkofIYYoB/r+cXV239N /N0ExfPmookNP6aiy4AuD6rkycOPyu3MmfyCH0045K4UOO+3FSq0lio10+V6NOYMQByl qSq8WtOdvDYwgh+YAUzaYA6I1clFM3ynGJAUntrpC3M3Evzl7Z3cfbEeUEFoh+k5Ccsq H8pg== 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 :message-id:date:subject:cc:to:from; bh=/HXRZTtOXU7Q44Fx3oK4SsHQORJzl+JGe/CNAe9Undw=; b=aHp5j3o+x9A8vnlb+F/wMUXMBl1fhmA+lkcfT0GqCZN8OhnyVIxx6NWNM4CSzuQkBO enzewowClc5XKkHWY+IxtJnXJYf0o3k33EQ6oejIL7Sg3QiP43E4o/tn0LsoHrnhiahl wqJ7OMTAEqAj6xpKTiA2Qe0EsOYIkJBXCQ7gCUXd0CtHKdtNVs5VDnRU+ogAnj7H2Sl1 S+x3lZNhn/ej8W9N2624MMzjx6U7x3gY9JS0qApiPvZNAUnXwPl8lDY8BV8o4TWjj7oP HxEXflrxlL3ipuqjYkZKoS99wSM3qXbiVCtzhKcYzO55Cfw7N41uE/+j4jGCJIgzLe3g z8aQ== 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 w63-20020a638242000000b0053fb74c928csi7426761pgd.534.2023.06.06.09.07.07; Tue, 06 Jun 2023 09:07:21 -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 S238474AbjFFPeD (ORCPT + 99 others); Tue, 6 Jun 2023 11:34:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237456AbjFFPeC (ORCPT ); Tue, 6 Jun 2023 11:34:02 -0400 Received: from finn.localdomain (finn.gateworks.com [108.161.129.64]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E36AD1BD; Tue, 6 Jun 2023 08:34:00 -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 1q6Ygz-0067nf-4z; Tue, 06 Jun 2023 15:33:53 +0000 From: Tim Harvey To: linux-arm-kernel@lists.infradead.org Cc: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Li Yang , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Tim Harvey Subject: [PATCH] arm64: dts: imx8mm-venice-gw7901: add SDR50/SDR104 SDIO support for wifi Date: Tue, 6 Jun 2023 08:33:51 -0700 Message-Id: <20230606153351.1448596-1-tharvey@gateworks.com> X-Mailer: git-send-email 2.25.1 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 GW7901 has a Murata LBEE5H 802.11abgnac / BT5 module based on the Cypress CYW43455 which supports SDR50/SDR104. Add dt pinctrl for the 100mhz and 200mhz states to support SDR50/SDR104. While at it add the dt node for the CYW43455 wifi for the brcmfmac driver. Signed-off-by: Tim Harvey --- .../dts/freescale/imx8mm-venice-gw7901.dts | 33 ++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts index d022b5807a24..bb78c99c4fb4 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw7901.dts @@ -789,12 +789,21 @@ &usbotg2 { /* SDIO WiFi */ &usdhc1 { - pinctrl-names = "default"; + pinctrl-names = "default", "state_100mhz", "state_200mhz"; pinctrl-0 = <&pinctrl_usdhc1>; + pinctrl-1 = <&pinctrl_usdhc1_100mhz>; + pinctrl-2 = <&pinctrl_usdhc1_200mhz>; bus-width = <4>; non-removable; vmmc-supply = <®_wifi>; + #address-cells = <1>; + #size-cells = <0>; status = "okay"; + + wifi@0 { + compatible = "brcm,bcm43455-fmac"; + reg = <0>; + }; }; /* microSD */ @@ -1054,6 +1063,28 @@ MX8MM_IOMUXC_SD1_DATA3_USDHC1_DATA3 0x1d0 >; }; + pinctrl_usdhc1_100mhz: usdhc1-100mhzgrp { + fsl,pins = < + MX8MM_IOMUXC_SD1_CLK_USDHC1_CLK 0x194 + MX8MM_IOMUXC_SD1_CMD_USDHC1_CMD 0x1d4 + MX8MM_IOMUXC_SD1_DATA0_USDHC1_DATA0 0x1d4 + MX8MM_IOMUXC_SD1_DATA1_USDHC1_DATA1 0x1d4 + MX8MM_IOMUXC_SD1_DATA2_USDHC1_DATA2 0x1d4 + MX8MM_IOMUXC_SD1_DATA3_USDHC1_DATA3 0x1d4 + >; + }; + + pinctrl_usdhc1_200mhz: usdhc1-200mhzgrp { + fsl,pins = < + MX8MM_IOMUXC_SD1_CLK_USDHC1_CLK 0x196 + MX8MM_IOMUXC_SD1_CMD_USDHC1_CMD 0x1d6 + MX8MM_IOMUXC_SD1_DATA0_USDHC1_DATA0 0x1d6 + MX8MM_IOMUXC_SD1_DATA1_USDHC1_DATA1 0x1d6 + MX8MM_IOMUXC_SD1_DATA2_USDHC1_DATA2 0x1d6 + MX8MM_IOMUXC_SD1_DATA3_USDHC1_DATA3 0x1d6 + >; + }; + pinctrl_usdhc2: usdhc2grp { fsl,pins = < MX8MM_IOMUXC_SD2_CLK_USDHC2_CLK 0x190 -- 2.25.1