Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp1282889rdf; Sat, 4 Nov 2023 13:57:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEYLX1OHy9dLSiFPQJF0n+Q6p70OM+K93w1I8oXh9er7Rjtk02we64crO1Tumch3WDSFG5E X-Received: by 2002:a17:902:da91:b0:1cc:5674:9184 with SMTP id j17-20020a170902da9100b001cc56749184mr19643537plx.31.1699131422122; Sat, 04 Nov 2023 13:57:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1699131422; cv=none; d=google.com; s=arc-20160816; b=R4FppHnjmBpSA4MKA3E7NAJLwEd9eNoeJmGzejvYfF7yGUgX67EnzxuST0Jod9C/1q NlrT6xooeiGFQNxO5s8AE1LqeIygEUunkGMEvy2WGayVe2LsFQ4tvvMh+4V8WQBB2tMZ e6CGhKeZwNwo/mOe2lDFbikvHuXl1ADhyr2XrE2qSCSdS9UOi+WwhEvHFzoCkmBqfFD6 hYyo4QcLHkMd/UyTHBy73DMMgFO2NeyWekNqswEf9T5bwr65WcPQbX2HG3AHAYybef3D Jqe3rcZiJ5/+AyrEZRr+JXtO79mx7uq1z5Ia7Hm/LQCLxtdMdonmBqoJTfyezuhblVM4 WqHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:message-id:content-transfer-encoding :mime-version:subject:date:from:dkim-signature; bh=T7icGMbUiQy+im0g/40WS9gOLOWKvv5vy2jRH0rcsEI=; fh=jwv8adsn+kFSWWEbbeLiK58kb4rDOevErLgONGwovKU=; b=nkry1I060U2D9xPbibOhuwGKZtXHiQ5Vz0ZW1/cmRtDleTgNDTxe7NbgizqJ3pgrXX bG+iRZrjOJrlZ9mlxQTttIYGIOkNoTfgBqyoQbdK0ni4LIL+CUteSZOgINCcgEoBvCfj 3BkWFoEaf/zNCOhZiSKPU8dPzw3OhJJ8lWIRnc6pfBseOyVZLc3tUi9TPMOq6qEMHrdO TsCWghcVaMbqTzAjDCcY/knG5YkzXYwrwQf06y+ryTE6rYA02t+ntrUvkNWRdce1GGoB GGn39G0xVuWQcpx3g9od7+KCZBB98cqy2GGbEZwMjkstaBjTWXRei52tYPQW6f295Ohk NDjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XP9QZvbE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id lo13-20020a170903434d00b001c9d4d2460fsi4429137plb.30.2023.11.04.13.57.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Nov 2023 13:57:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XP9QZvbE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id CCCA88054D11; Sat, 4 Nov 2023 13:56:59 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229625AbjKDU4q (ORCPT + 99 others); Sat, 4 Nov 2023 16:56:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229522AbjKDU4o (ORCPT ); Sat, 4 Nov 2023 16:56:44 -0400 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F10DFD65 for ; Sat, 4 Nov 2023 13:56:41 -0700 (PDT) Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-5431614d90eso5211240a12.1 for ; Sat, 04 Nov 2023 13:56:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699131400; x=1699736200; darn=vger.kernel.org; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:from:to:cc:subject:date:message-id:reply-to; bh=T7icGMbUiQy+im0g/40WS9gOLOWKvv5vy2jRH0rcsEI=; b=XP9QZvbEq7LT4Cgmb65oHZtoOplKBje4/cgfPyjWwAvAfjhfeNjZWL3w/BWhFJCanf ++teN2u8J5zOHsuYpUz7HNHqwLVNZVOp6KwYHRwZBndhdpzvKnKGn/iC016RwUyuf+xi N5CANWLnUHVCXSfXOmhs++w0n6nubi9J1f3Z79cLoKP94Zj8ZYkLAIdIgaz8TWIWrfla k/PnhfRNYmki9pKLBEXVzh+x/g+dFeJ60NE23977zMERl1ibNLB4V46+54x788Qdz3T3 zDBcsI1WsHnA008ydyrPx5smEuvsiu9PTL1lLzEzsbY/QEjdGUbcueMiNLhNIJFVPTBv cxmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699131400; x=1699736200; h=cc:to:message-id:content-transfer-encoding:mime-version:subject :date:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=T7icGMbUiQy+im0g/40WS9gOLOWKvv5vy2jRH0rcsEI=; b=gD+Wm80TXpjTLgt4OmdJzMDJ2Xui9zA7fDAPTfOah7PB+BGgb4pspzoqevQkbdVCNY d1wZq3N3Ma+8EMGEerV3Cb47mqr4vwTxx+f4VS8PaBs96LVbHRuQbJWcqjA/LLoGWnPb lX/p3VT7nFIcugPwnPuNlAOI8GxT/TZh+U1dX1bs1I3Wn5z9t/HrUUx19W8DfdD9LPpH mWwyGiu5ZC+4PE7I8xElD9zfgzT9kDEKnYqeQfzyQ0B/vB/dyAC/9i3tsH2ywjDRvqnr E0Q6iLhyzx7O8k7h+GXAZ80TT1OrRDadKxqCTzq4LyLxZPZnETMd7Jml/ovYQ48KjCpc HoIg== X-Gm-Message-State: AOJu0Yz+SI4aiofNY2QigYZO1OVqbAyLtPNpu1QC6nZZ1iLvPlsoZD+e o9D6p7wY7jjG5HO94C1GWFWIUA== X-Received: by 2002:a17:907:928c:b0:9b2:b9ad:ddd1 with SMTP id bw12-20020a170907928c00b009b2b9adddd1mr8916181ejc.28.1699131400428; Sat, 04 Nov 2023 13:56:40 -0700 (PDT) Received: from [127.0.1.1] (178235177017.dynamic-4-waw-k-1-1-0.vectranet.pl. [178.235.177.17]) by smtp.gmail.com with ESMTPSA id u21-20020a170906655500b00985ed2f1584sm2295075ejn.187.2023.11.04.13.56.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Nov 2023 13:56:40 -0700 (PDT) From: Konrad Dybcio Date: Sat, 04 Nov 2023 21:56:35 +0100 Subject: [PATCH] arm64: dts: qcom: qrb4210-rb2: Enable MPSS and Wi-Fi MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20231104-topic-rb2_wifi-v1-1-fd45ae535d2f@linaro.org> X-B4-Tracking: v=1; b=H4sIAAKwRmUC/x3MQQqAIBBA0avIrBPSEqGrRETZTM2mZIwKwrsnL d/i/xcSCmOCTr0geHHiYy8wlYKwTfuKmpdisLVtjKlbfR6Rg5bZjjcTa5q8b4Ij5zBAiaIg8fM P+yHnDxPten1gAAAA To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Dmitry Baryshkov , Konrad Dybcio X-Mailer: b4 0.13-dev-0438c X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Sat, 04 Nov 2023 13:56:59 -0700 (PDT) Enable the remote processors and tighten up the regulators to enable Wi-Fi functionality on the RB2. For reference, the hw/sw identifies as: qmi chip_id 0x150 chip_family 0x4002 board_id 0xff soc_id 0x40670000 qmi fw_version 0x337302d3 fw_build_timestamp 2023-01-06 01:50 fw_build_id QC_IMAGE_VERSION_STRING=WLAN.HL.3.3.7.c2-00723-QCAHLSWMTPLZ-1 wcn3990 hw1.0 target 0x00000008 chip_id 0x00000000 sub 0000:0000 kconfig debug 0 debugfs 0 tracing 0 dfs 0 testmode 0 firmware ver api 5 features wowlan,mgmt-tx-by-reference,non-bmi crc32 b3d4b790 htt-ver 3.114 wmi-op 4 htt-op 3 cal file max-sta 32 raw 0 hwcrypto 1 Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/qrb4210-rb2.dts | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts b/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts index 9738c0dacd58..c2d7e3998d05 100644 --- a/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts +++ b/arch/arm64/boot/dts/qcom/qrb4210-rb2.dts @@ -280,6 +280,12 @@ &remoteproc_cdsp { status = "okay"; }; +&remoteproc_mpss { + firmware-name = "qcom/qrb4210/modem.mbn"; + + status = "okay"; +}; + &rpm_requests { regulators { compatible = "qcom,rpm-pm6125-regulators"; @@ -346,8 +352,8 @@ vreg_l7a_1p256: l7 { }; vreg_l8a_0p664: l8 { - regulator-min-microvolt = <400000>; - regulator-max-microvolt = <728000>; + regulator-min-microvolt = <640000>; + regulator-max-microvolt = <640000>; }; vreg_l9a_1p8: l9 { @@ -424,8 +430,8 @@ vreg_l22a_2p96: l22 { }; vreg_l23a_3p3: l23 { - regulator-min-microvolt = <3200000>; - regulator-max-microvolt = <3400000>; + regulator-min-microvolt = <3312000>; + regulator-max-microvolt = <3312000>; }; vreg_l24a_2p96: l24 { @@ -535,6 +541,16 @@ &usb_qmpphy { status = "okay"; }; +&wifi { + vdd-0.8-cx-mx-supply = <&vreg_l8a_0p664>; + vdd-1.8-xo-supply = <&vreg_l16a_1p3>; + vdd-1.3-rfa-supply = <&vreg_l17a_1p3>; + vdd-3.3-ch0-supply = <&vreg_l23a_3p3>; + qcom,ath10k-calibration-variant = "Thundercomm_RB2"; + + status = "okay"; +}; + &xo_board { clock-frequency = <19200000>; }; --- base-commit: e27090b1413ff236ca1aec26d6b022149115de2c change-id: 20231104-topic-rb2_wifi-fa773c5f55ec Best regards, -- Konrad Dybcio