Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp4960394rwp; Sun, 16 Jul 2023 15:30:02 -0700 (PDT) X-Google-Smtp-Source: APBJJlExlgtU2Xdz5pxboy0NY39it8piiJe64/dCwcJAIztOSDP4wRCZss04Cur+EWdJYhgAKRa/ X-Received: by 2002:a05:6a00:2383:b0:675:8627:a291 with SMTP id f3-20020a056a00238300b006758627a291mr7292084pfc.3.1689546602217; Sun, 16 Jul 2023 15:30:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689546602; cv=none; d=google.com; s=arc-20160816; b=zren+5q1sL5PdADtlB9EdIv6NC5sApliS8eBVX0C/tCdO1CZjr5n2q/mFXHxlIdlTz KmwvUCt2K2gZKB6i7QZBS3Q7cIq1cSL+DVSM5EuplZPMjVmxSj+KGQmzeRcOxz5UrMz9 6nyWMCHo/DDiBtGfQ919pjP3BE8HNywRFynhM9TMaNQpliR83BllBpUxUqsGDApgkufH j4klXbzpY2BZMHPB2Tvw9429U46z1ac18EtQ4TZjN4NDKC7VLf+JFqeN7/vMRChaVmjU LqYuAkiT5IiVLD2yLf3BYcn6zbXcqa9zY1I21zgWJ/hJCGWeEjI6OS9Mt9+USNHX4oh0 9DxQ== 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 :dkim-signature; bh=Kbi4z5OwpHmDw3fNzdltzwmv9tZsIUUsK9ON0f/StLE=; fh=L9rkHmdJ2HM7CiSRaRHi0ZevkH/6O2DXN6Mple64bPs=; b=ExOaVgtiA5LOZAH6rEVchz3e5TVKIXIc3bKHSW9dyAhZFCfhLwpFrH6Bf+gCdWYDl1 IIZHdxqF6TEnWhyNgDc6xZ5+tpkzi1iPNexT3PVM3YawI7W2NwilySrXTd0Vcidwf8e8 x/4svNURPysuKCsIJ9uRWZ4DAFBL8doHRTvKqJ/ZuHdahNf1SG1JJX4C6e3BJtf+WULL CMQs7jxYt/mxdhr1W+ugMudD3xfRy8xmHzlZIDllRa2fsaWhZyQQoURx/dKlqVuT8mBU gc00YBJx/AXBNWD3r5OSQXWWCrYtQErBLfEvsoY0v268Ax12BTuBt/xAxl/0W3IiXQoB DKyA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=MHjtVot+; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b17-20020a056a000cd100b0066767d61b7esi11063574pfv.331.2023.07.16.15.29.49; Sun, 16 Jul 2023 15:30:02 -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; dkim=pass header.i=@gmail.com header.s=20221208 header.b=MHjtVot+; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230466AbjGPWIV (ORCPT + 99 others); Sun, 16 Jul 2023 18:08:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35980 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230509AbjGPWIE (ORCPT ); Sun, 16 Jul 2023 18:08:04 -0400 Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5451EE1; Sun, 16 Jul 2023 15:08:02 -0700 (PDT) Received: by mail-lj1-x233.google.com with SMTP id 38308e7fff4ca-2b701e41cd3so57737791fa.3; Sun, 16 Jul 2023 15:08:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689545280; x=1692137280; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Kbi4z5OwpHmDw3fNzdltzwmv9tZsIUUsK9ON0f/StLE=; b=MHjtVot+MLxS37P81JK1IL9KQsTVRv6tY+PcdA0A/HKUWOjaCSAB0zOPn2r1RnVPrs OshoTuSqtqQqH90Ez21GbQ3xnOeq52WhtuYd8jdtRcq3kHG5/UCOY8EhzmU+JfGXVNRQ sd9LzwNqgLm3kqLNQMDYX4f3UWzh+Vu5kpQdJxlOEGvUoMXp5bcmvQ0CDb6HRRHS2OOD zdj3fsNOAdAledXRqrjM3GbU+m91OUZQrz83mZJxyfJXq2yihpktPMquqqrEXFafQWvz OZHiaGS2MX5dd92AexqXOzNm/Rxc8Oo9oZYqPbnI/lZl8j7c6nrBlH+232GJhfZgzOuu TQmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689545280; x=1692137280; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Kbi4z5OwpHmDw3fNzdltzwmv9tZsIUUsK9ON0f/StLE=; b=DhWyBIwQYcn3Wdt3WfDLWRQ6EA7cRLAZt8Kmjso8MlPiIi9Wfe9eyM+maLkKt2tgKe PBbyP1sena6eV6qTngx52BuEX3wYMP+dexG4v6yo7ZwMEzN8j7plRAEjb1dHD690Rtud C2J8Qew4mWwQyOuLJdXtPXicXrDorT9YUQ5Xly3GYORGcFQV1d9riYROe1OaY5dpIA1a 2ggT5S8OLK9i41aR+oGbT0yBPR2yWIe9GYm1NoDQEdmqL9Fo1ex2yZ4tusxE/Fd49qQA 2j/PWPXXGv+if7jncoVsWvDxV4V/CBWOEqZNHfjTGjsI4aXMso8BeqZY14Z4IvQjY1Kl 990A== X-Gm-Message-State: ABy/qLZ/6mfHWttcNKOM1qibuzQhpZid6rhm7imIvyhHo6PB7MDYGK2r VVEL3HtIX5/EwyoFUwERu1I= X-Received: by 2002:a05:6512:b9b:b0:4fb:8680:138a with SMTP id b27-20020a0565120b9b00b004fb8680138amr7492520lfv.22.1689545280210; Sun, 16 Jul 2023 15:08:00 -0700 (PDT) Received: from localhost.localdomain ([62.122.67.26]) by smtp.gmail.com with ESMTPSA id h24-20020a197018000000b004fb9c625b4asm2464091lfc.210.2023.07.16.15.07.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Jul 2023 15:07:59 -0700 (PDT) From: Markuss Broks To: Krzysztof Kozlowski Cc: Markuss Broks , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alim Akhtar , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/7] ARM: dts: exynos: k3g: Add WiFi card support Date: Mon, 17 Jul 2023 01:05:02 +0300 Message-ID: <20230716220644.22158-2-markuss.broks@gmail.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230716220644.22158-1-markuss.broks@gmail.com> References: <20230716220644.22158-1-markuss.broks@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,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 This device has Broadcom BCM4354 WiFi card installed, which uses SDIO interface. Signed-off-by: Markuss Broks --- arch/arm/boot/dts/exynos5422-samsung-k3g.dts | 29 ++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/arch/arm/boot/dts/exynos5422-samsung-k3g.dts b/arch/arm/boot/dts/exynos5422-samsung-k3g.dts index c35261a338ff..1a11a6993ba7 100644 --- a/arch/arm/boot/dts/exynos5422-samsung-k3g.dts +++ b/arch/arm/boot/dts/exynos5422-samsung-k3g.dts @@ -48,6 +48,13 @@ tsp_vdd: regulator-tsp-vdd-en { gpio = <&gpy3 5 GPIO_ACTIVE_HIGH>; enable-active-high; }; + + wlan_pwrseq: wlan-pwrseq { + compatible = "mmc-pwrseq-simple"; + reset-gpios = <&gpy7 7 GPIO_ACTIVE_LOW>; /* WIFI_EN */ + clocks = <&s2mps11_osc S2MPS11_CLK_BT>; /* Used not only for Bluetooth */ + clock-names = "ext_clock"; + }; }; &cpu0 { @@ -616,6 +623,23 @@ &mmc_0 { bus-width = <8>; }; +/* WiFi SDIO module */ +&mmc_1 { + status = "okay"; + cap-sdio-irq; + cap-sd-highspeed; + non-removable; + samsung,dw-mshc-ciu-div = <1>; + samsung,dw-mshc-sdr-timing = <0 1>; + samsung,dw-mshc-ddr-timing = <0 2>; + pinctrl-names = "default"; + pinctrl-0 = <&sd1_clk>, <&sd1_cmd>, <&sd1_int>, <&sd1_bus1>, + <&sd1_bus4>, <&wlan_reset>; + bus-width = <4>; + vqmmc-supply = <&ldo3_reg>; + mmc-pwrseq = <&wlan_pwrseq>; +}; + &pinctrl_0 { s2mps11_irq: s2mps11-irq-pins { samsung,pins = "gpx0-7"; @@ -628,6 +652,11 @@ touch_irq: touch-irq-pins { samsung,pins = "gpx1-6"; samsung,pin-pud = ; }; + + wlan_reset: wlan-reset { + samsung,pins = "gpy7-7"; + samsung,pin-pud = ; + }; }; &rtc { -- 2.41.0