Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp1258984rdb; Tue, 30 Jan 2024 12:48:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IGOS5c+VmNFpyAcxoAL/mnFxEzF+mClPnr5q4ccj8Xhavcbv7C26PxH744Klj8GnoIliidR X-Received: by 2002:a05:6a00:198a:b0:6db:b1f3:fb66 with SMTP id d10-20020a056a00198a00b006dbb1f3fb66mr2609969pfl.8.1706647682407; Tue, 30 Jan 2024 12:48:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706647682; cv=pass; d=google.com; s=arc-20160816; b=eslXc/0kwmtISeBP/09LGuqDbCLHqCSwMrBIhO1lD7n22nUZ0IFVuH845VtNcDwC4q bzukuUvh/FQmsmGFAs9LVuXnJO9MjbOB1ybVJDHEmLjwwKxeGd+UI/RmfcEd3RmTP/H0 06RsK7CHwazemebKGHZJy0o0eG4875w+u/tr+r3Z4NXgVcOWLg0UmtL41v+WOheWdOTx 8nslkNNSgFJc4mFJQT5Wh/uC3AVrXilq2LdFK/HIzqOnZKqp1DteOeaaKM8RhOfAFb1x VCdm/XWji8jmvegacNQLjWLM/FA7NhtDQOQTJb9PmaFzmgCmO+/VrEDruMePYLRvDI0z Y0Gg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :subject:date:from:dkim-signature; bh=vTXS7Usw65Bg+jTRdlumhmylOFlcOQdVX0MiGUHQrRc=; fh=4ceOEjQTtYijFmMtiVmwRjrcd5h7PQDKR7sxKmx18lg=; b=Szwghgv/rOiwr9lhdd8dgijXE5M2Zm58KG/UQNFATtoxMdpAWzz7FHM15AXGSZbKRJ ErDQ1oX9FDBUmICo87OLbSjrb08tGiurxWb4Y7z+hwgLVFgzREIWBfSgbgrmZ+v2bNAN yuEZrRNRPsIMNvJqxHbIaotjx2tHF/+OoFACGQTlgokBDR2kMh68k0zJYLs4KvM39c8w xY/joeMgqMIjAPXBEa27TuDWzePw6Xtnq4G+mDgpYG9fr4VXR1T2Skv11YaKGBpYmPdl uV3WvjT97UmZ3nKDMsUtzHf68vXhT+0ZSZhXgSVGcfXlTiDXnH/VJCpsQMXc14V5E3NI IPfg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@grimler.se header.s=key1 header.b=eUEbIOXw; arc=pass (i=1 spf=pass spfdomain=grimler.se dkim=pass dkdomain=grimler.se dmarc=pass fromdomain=grimler.se); spf=pass (google.com: domain of linux-kernel+bounces-45285-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45285-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=grimler.se Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id b6-20020aa78706000000b006dde28e0cc4si7847874pfo.0.2024.01.30.12.48.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Jan 2024 12:48:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-45285-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@grimler.se header.s=key1 header.b=eUEbIOXw; arc=pass (i=1 spf=pass spfdomain=grimler.se dkim=pass dkdomain=grimler.se dmarc=pass fromdomain=grimler.se); spf=pass (google.com: domain of linux-kernel+bounces-45285-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-45285-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=grimler.se Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id ABA7228B6DD for ; Tue, 30 Jan 2024 20:41:30 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B5A62762D2; Tue, 30 Jan 2024 20:41:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=grimler.se header.i=@grimler.se header.b="eUEbIOXw" Received: from out-189.mta0.migadu.com (out-189.mta0.migadu.com [91.218.175.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4DE3069E1A for ; Tue, 30 Jan 2024 20:41:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.189 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706647272; cv=none; b=HSm/9uFjvtrY6PELy53pTgDoph071hE34A4Axj1WNkoPuTdQdkPHIIVNCrm5YH5mrO/5dRozjTE/nxypJo6xGPWAzUMgltzTF/+9qL7q80TL39alog+tXXHbGWR36P+tasvJoPhHgafGIzA1JVARplWaWHevVL/vc6ZdMYztDbM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706647272; c=relaxed/simple; bh=mfgmfT6Y+yAecXwInwSg+9gDbzv0JiMuG/TNlfkMWgk=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=YixOss1rOmYxBODmHj8baIeP4HnfhhaRFeQnOJeRQ2P09LLu06oLmmpiazGnUMKCJlGLIxKN1NgCItGB5Ap1OkH0Uqi187YawKh63+YliOTfZSsUxSNWz0jnBjzjgkxjLycjuXRphOecp+lp+wDvVId2OURP/l6gwffHLYEkk+k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=grimler.se; spf=pass smtp.mailfrom=grimler.se; dkim=pass (1024-bit key) header.d=grimler.se header.i=@grimler.se header.b=eUEbIOXw; arc=none smtp.client-ip=91.218.175.189 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=grimler.se Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=grimler.se X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=grimler.se; s=key1; t=1706647269; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vTXS7Usw65Bg+jTRdlumhmylOFlcOQdVX0MiGUHQrRc=; b=eUEbIOXwpx3bESd6400bj0CueBq4EkqNUIn4+CAQHxnzj+pCWdJVzdiO+6JBEVu67DP7vj xi9ruFYxfbxFzNnvSzxwH9m+HzCQJupNGCP9GWgFh7kNnpm7A4etJFtwagDkeK4GC3zSKT l2Vhl4QCY0Ar3Evemit3F6m40LH47d4= From: Henrik Grimler Date: Tue, 30 Jan 2024 21:40:40 +0100 Subject: [PATCH 2/3] ARM: dts: samsung: exynos5420-galaxy-tab-common: add wifi node Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20240130-galaxy-tab-s-cleanup-v1-2-d4e17857241d@grimler.se> References: <20240130-galaxy-tab-s-cleanup-v1-0-d4e17857241d@grimler.se> In-Reply-To: <20240130-galaxy-tab-s-cleanup-v1-0-d4e17857241d@grimler.se> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , Marek Szyprowski Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht X-Developer-Signature: v=1; a=openpgp-sha256; l=1940; i=henrik@grimler.se; h=from:subject:message-id; bh=mfgmfT6Y+yAecXwInwSg+9gDbzv0JiMuG/TNlfkMWgk=; b=owEBbQGS/pANAwAKAbAHbkkLcWFrAcsmYgBluV7dB/oNjb2olhfimF3Ut6aoVaol0f9xBck7k +6PMKr9OpOJATMEAAEKAB0WIQQsfymul4kfZBmp4s2wB25JC3FhawUCZble3QAKCRCwB25JC3Fh a2vfCACruJQ/v12UuxMu3lSskVEmOzjYZP76TamvPfeO/Wrs8cS0DxTkx2RNSlN+IAs0XrsBlD+ MQ1/pzf8sK5UDUG+Uw47o9h4e5KfV8hkGXw7ZeYocEC2aOzKnHDqvFWlGyGPvLw/2K2MFk0CCZG XgqxhYk44tl/hW3Xq8vANBXEmpvZdieC7aLBkMeW/pAOrcNKfuqVwAur/HmNA/16G7jrNVRuB7y +4h8VIvtJTPnwGxOy4aa2TEUMpEyV4MMxim9O7ds3M539q5AKcSbPk/3lmSL1UyQN4nXDeo0gY1 U/EpOD65xG7vtSe/MlFGZ79Y78Be9Nb5swo9hlv86CfTdAbm X-Developer-Key: i=henrik@grimler.se; a=openpgp; fpr=2C7F29AE97891F6419A9E2CDB0076E490B71616B X-Migadu-Flow: FLOW_OUT By using brcm/brcmfmac4354-sdio.bin from linux-firmware together with nvram.txt from vendor firmware wifi works well on the chagall-wifi and klimt-lte. Signed-off-by: Henrik Grimler --- .../dts/samsung/exynos5420-galaxy-tab-common.dtsi | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/samsung/exynos5420-galaxy-tab-common.dtsi b/arch/arm/boot/dts/samsung/exynos5420-galaxy-tab-common.dtsi index 0c1aeafc025b..d569fac29b18 100644 --- a/arch/arm/boot/dts/samsung/exynos5420-galaxy-tab-common.dtsi +++ b/arch/arm/boot/dts/samsung/exynos5420-galaxy-tab-common.dtsi @@ -30,6 +30,7 @@ / { aliases { mmc0 = &mmc_0; + mmc1 = &mmc_1; mmc2 = &mmc_2; }; @@ -87,6 +88,13 @@ key-volume-down { linux,code = ; }; }; + + mmc1_pwrseq: pwrseq { + compatible = "mmc-pwrseq-simple"; + reset-gpios = <&gpy7 7 GPIO_ACTIVE_LOW>; + clocks = <&s2mps11_osc S2MPS11_CLK_BT>; + clock-names = "ext_clock"; + }; }; &cci { @@ -619,6 +627,25 @@ &mmc_0 { status = "okay"; }; +/* WiFi */ +&mmc_1 { + bus-width = <4>; + cap-sd-highspeed; + cap-sdio-irq; + card-detect-delay = <200>; + keep-power-in-suspend; + mmc-pwrseq = <&mmc1_pwrseq>; + non-removable; + pinctrl-0 = <&sd1_clk>, <&sd1_cmd>, <&sd1_int>, <&sd1_bus1>, + <&sd1_bus4>, <&wifi_en>; + pinctrl-names = "default"; + vqmmc-supply = <&ldo2_reg>; + samsung,dw-mshc-ciu-div = <1>; + samsung,dw-mshc-ddr-timing = <0 2>; + samsung,dw-mshc-sdr-timing = <0 1>; + status = "okay"; +}; + /* External sdcard */ &mmc_2 { bus-width = <4>; @@ -648,6 +675,11 @@ s2mps11_irq: s2mps11-irq-pins { samsung,pin-pud = ; samsung,pin-drv = ; }; + + wifi_en: wifi-en-pins { + samsung,pins = "gpy7-7"; + samsung,pin-pud = ; + }; }; &rtc { -- 2.30.2