Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 85C6EC433FE for ; Thu, 20 Oct 2022 18:20:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=HBqROGa0MYjuptJ3kqWYeWmqPmOX18O3SYY59xF5gcE=; b=YawyCZr7yqUWvt 0XZkDt8FSATWt3Iq7k3ojIk46ESSuSy9tAs9KdU1dyCzP/FDedZE2Ken39tJzeGGZDeouEkJZpOJr C+SPcnAwegNlSFnvlx0VL71PYAjiRasi/tsSeB4SYGgc/jWhmJRa0qxfMrgUdut1S1FWHV39wSIOW dXUHtKfHWcafqN82WjhtAsnZalHTS74xE4TTRHQNabhIYfALFVnH1MgSq6lC7GwhgWdIEPiRxC1Uv RNz/0F5GTPEQhd8mv2IbrKMNiOANIsGcFKhHoS2uCIlwNS8g4ydh4kK0myz3DAuU1eM5jJYlTiSjd vyu5EJGOgA/4WB6rxrOg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ola8D-0015V5-F7; Thu, 20 Oct 2022 18:19:01 +0000 Received: from box.stevenhay.com ([2a01:7e01:e001:325::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ola8A-0015UJ-7L for linux-arm-kernel@lists.infradead.org; Thu, 20 Oct 2022 18:18:59 +0000 Received: from authenticated-user (box.stevenhay.com [172.104.133.13]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by box.stevenhay.com (Postfix) with ESMTPSA id 37FCC2033E; Thu, 20 Oct 2022 14:18:56 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=stevenhay.com; s=mail; t=1666289936; bh=JPyyu2UXCqzYalIH1Pv9p7T/bxjyPyQK3whW5GnZ4J0=; h=From:To:Cc:Subject:Date:From; b=eFtxG1I2p3s+8q2ogF/WyM8azwANyxYOq718XlcapQMguPv4jYU1/fmqKCZ3jo9qT y1gAOIWnaQ41e9TnuJ80qPwY1akqbYIHGIXKxAyyEdcew7SVVvlqQuRRoXyUuuErlM VlcDx8f4lXh6jNYVtZqTp5zLSwDy5gAU0CF6YnYJyt95Tv7DDTXfTMcjNzbZzEK/Bn A8twKB+uL7UujvVHuK5AKzNF7Ngac27r3l07qlzPEPLqjHCMH5FKEZHgQlXP2xXCZ4 CLGyvBlLGmAWJuGs4wR9eQrun4ADF47hdYL/PjxZsSFx7Pp+kGbIAuOxFfwwVe8AeH xJo226SQ1Ww5w== From: Steven To: gregory.clement@bootlin.com Cc: linux-arm-kernel@lists.infradead.org, me@stevenhay.com Subject: [PATCH] ARM: dts: espressobin-ultra: Fix wifi not working, enable USB3, and change SPI frequency Date: Thu, 20 Oct 2022 14:18:42 -0400 Message-Id: <20221020181842.160207-1-me@stevenhay.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221020_111858_428937_0E382D35 X-CRM114-Status: GOOD ( 13.09 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org These commits originate from the Globalscale public Github repository and fix an issue with the device tree where the wifi chip is turned off. https://github.com/globalscaletechnologies/linux commit c31340f15dfbea272bc8fda1b1640095aadaa288 dts: espressobin_ultra: fix wifi 8997 not working issue the espressobin ultra board is inherit from espressobin board, so the espressobin_ultra.dts includes espressobin.dtsi, but MPP1_4 is use to control wifi(88w8997) power down pin, not supply voltage switch of sdcard (the 'vcc_sd1' regulator is for espressobin, not espressobin ultra), it causes wifi(88w8997) power shutdown after turn off vqmmc-supply, so remove the 'vcc_sd_reg1' regulator and vqmmc-supply settings from espressobin_ultra.dts to make the wifi (88w8997) working correctly. commit c31340f15dfbea272bc8fda1b1640095aadaa288 dts: espressobin_ultra: enable usb3 and change spi frequency enable usb3 setting and change spi-max-frequency to 20MHz. --- .../dts/marvell/armada-3720-espressobin-ultra.dts | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/marvell/armada-3720-espressobin-ultra.dts b/arch/arm64/boot/dts/marvell/armada-3720-espressobin-ultra.dts index 1b2ed63ae6a2..09cd3cf1d263 100644 --- a/arch/arm64/boot/dts/marvell/armada-3720-espressobin-ultra.dts +++ b/arch/arm64/boot/dts/marvell/armada-3720-espressobin-ultra.dts @@ -12,8 +12,8 @@ / { model = "Globalscale Marvell ESPRESSOBin Ultra Board"; - compatible = "globalscale,espressobin-ultra", "globalscale,espressobin", - "marvell,armada3720", "marvell,armada3710"; + compatible = "globalscale,espressobin-ultra", "marvell,armada3720", + "marvell,armada3710"; aliases { /* ethernet1 is WAN port */ @@ -24,6 +24,8 @@ aliases { ethernet5 = &switch0port4; }; + /delete-node/ regulator; + reg_usb3_vbus: usb3-vbus { compatible = "regulator-fixed"; regulator-name = "usb3-vbus"; @@ -66,11 +68,15 @@ &sdhci0 { }; &sdhci1 { + /delete-property/ vqmmc-supply; status = "disabled"; }; &spi0 { flash@0 { + spi-max-frequency = <20000000>; + m25p,fast-read; + partitions { compatible = "fixed-partitions"; #address-cells = <1>; @@ -108,21 +114,18 @@ rtc@51 { &usb3 { usb-phy = <&usb3_phy>; + status = "okay"; }; &mdio { extphy: ethernet-phy@1 { reg = <1>; - - reset-gpios = <&gpionb 2 GPIO_ACTIVE_LOW>; }; }; &switch0 { reg = <3>; - reset-gpios = <&gpiosb 23 GPIO_ACTIVE_LOW>; - ports { switch0port1: port@1 { reg = <1>; -- 2.35.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel