Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp523417rwr; Thu, 20 Apr 2023 02:48:20 -0700 (PDT) X-Google-Smtp-Source: AKy350aGlaJsDrxqcyuYVGdjW0m83cBy/X/oNDsnKHWgMdLRE57sc9kjFjBA+QIGa5oT+663JBzc X-Received: by 2002:a05:6a00:114a:b0:63d:6744:8cae with SMTP id b10-20020a056a00114a00b0063d67448caemr982567pfm.2.1681984099895; Thu, 20 Apr 2023 02:48:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681984099; cv=none; d=google.com; s=arc-20160816; b=Jm6KNAYhYWaHvG6TTukKDzGjKTijJXDHiEo8MvxKKJ79dycCkxGeGC2G8Mr1jAPsZP mOIaZDLUIyIVRz/y/vbjVHny1bWkhU4XaTwU9nCes/2ck5hUiuaFnq5UZrg53TWNigPA XG0J6v8Y1K1ZOkSx63/gquol7WXvefmYJ71PwjV2TV8VesUvSVDXE+c0aluCKORCkr9j jg9WRJadua6cCLhz9TLTNu2KLO/RkhQn/rDDFwClxkCGC3/fEnYcrblS9mXPM6U8SwU9 WvsabYt9kOopfCnspgpvdqe22WFbt198g/7eSxjhsTGBktx065H9EEFS+1Cm4LgJQqcq mGKw== 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=FEZcgJkD2W6Tkr5VLp8EWp6C4I3JJnK453oFJFMsp1Y=; b=VFCSmS+UoDhH8iuqmn/+jaQeDI847jLMtR+ZZhR8lISeqMtTJGICRE9nHscherPd2q kzArvzBlS58mQTs7ZwV7y16a9SB9CobAZBtxH9yFnFAvhXRrTVLTnkoiOO0GUo6W6N1D UghwJn+spORzTZeU9riOP/WGt7iWRiRP15bqhKvd1ujUL+b/DixclpclPanUBh6fX46m tEdJKkn8ylYSTI2Dm2DoFxk4qnJ1Ko0JT4tRDC8d3gF00vWrW9Vo7hLbH1OUXzJ5Ckfa hl/InVOqxoeLk941WO0uKQJGWdjBiz08lt2e28XBqqSr1Jqp4u4hNm9j8XAJeUge6dFt hFxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=EPcMTMMT; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m9-20020a654389000000b00518580cb7b8si1253958pgp.269.2023.04.20.02.48.06; Thu, 20 Apr 2023 02:48:19 -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=@collabora.com header.s=mail header.b=EPcMTMMT; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234554AbjDTJqD (ORCPT + 99 others); Thu, 20 Apr 2023 05:46:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234354AbjDTJpS (ORCPT ); Thu, 20 Apr 2023 05:45:18 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D506C35BF; Thu, 20 Apr 2023 02:44:48 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (unknown [IPv6:2001:b07:2ed:14ed:c5f8:7372:f042:90a2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 24D7866032AA; Thu, 20 Apr 2023 10:44:47 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1681983887; bh=eTPRbfdJLpoEovWoX9DFmWEwQag9cVc/gZKE80xSx8o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=EPcMTMMTPEKj7UALYhV/RuKy/DVHmACu/w3/QLiIQtaLqq6cvKauICdVEvF9G9FXn zveAEUZ0Wcskp/hXOQMFDr4AmO08BIWq0XrFoEV11JxbP+75k3EFSgWJ++qqdTxYrP n4PNjHCh8QBxJ3JO9ncNmOyTwpVJDcHRDJ3EviNSJIylW1jka3q38n1xgBIojFWflo Zzs2nre7OU5BsDCzqgRyAs3bHjh1vGUXFO1d5uC60vLbFMMvvodhnMmRoJiFwU3RwT 4LhK52kfGdMpL4BdHREU+bUjxaQZBkyN+wH4HC2/Jnuo0cGssoMchkCmbVjMovwLWw hD2Tuy9PRyFkQ== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, kernel@collabora.com, AngeloGioacchino Del Regno Subject: [PATCH 4/5] arm64: dts: mediatek: cherry: Enable PCI-Express ports for WiFi Date: Thu, 20 Apr 2023 11:44:32 +0200 Message-Id: <20230420094433.42794-5-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230420094433.42794-1-angelogioacchino.delregno@collabora.com> References: <20230420094433.42794-1-angelogioacchino.delregno@collabora.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,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 On the Cherry platform, a MT7621 WiFi+Bluetooth combo is connected over PCI-Express (for WiFi) and USB (for BT): enable the PCIe ports to enable enumerating this chip. Signed-off-by: AngeloGioacchino Del Regno --- .../boot/dts/mediatek/mt8195-cherry.dtsi | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi b/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi index 46f1c8091498..9e2bc363c9cd 100644 --- a/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8195-cherry.dtsi @@ -567,6 +567,13 @@ flash@0 { }; }; +&pcie1 { + status = "okay"; + + pinctrl-names = "default"; + pinctrl-0 = <&pcie1_pins_default>; +}; + &pio { mediatek,rsel-resistance-in-si-unit; pinctrl-names = "default"; @@ -961,6 +968,24 @@ pins-vreg-en { }; }; + pcie0_pins_default: pcie0-default-pins { + pins-bus { + pinmux = , + , + ; + bias-pull-up; + }; + }; + + pcie1_pins_default: pcie1-default-pins { + pins-bus { + pinmux = , + , + ; + bias-pull-up; + }; + }; + pio_default: pio-default-pins { pins-wifi-enable { pinmux = ; -- 2.40.0