Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp797772pxp; Wed, 9 Mar 2022 12:54:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJxYywzvyKgq2TY9enyXMLw8CYT6/+xQvxADC6srCpsuPpmVRGu5HsvC5pbQ96BzJQ2mXQDz X-Received: by 2002:a63:8843:0:b0:37c:8b85:5f5c with SMTP id l64-20020a638843000000b0037c8b855f5cmr1293039pgd.275.1646859275415; Wed, 09 Mar 2022 12:54:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646859275; cv=none; d=google.com; s=arc-20160816; b=PRO2GcNK3rUvFFXlMJDtg0rDNrTBdSgs61buLUTNlh5+/rM5qPxczMj2VgnkcWIsxe uSx7THfrJPukbmDzEMywZav/Z9DpKLHCM1H0mCFyWvbijDquvmn6Wd3S27T8gmjYM2Dc WCqmRfg8v08VgO7GD7rLZwFKPvI5gZ+Fpt8NIbb3R1dWpNIRMst2xtIsAEFM5IqeCYD/ oNbNm/uNGM2os0sp3otGj5iA8+A7rTbTRju2/0TFZnqRz442jIkmaSFwUnXssE5Ds+iH dkKHbEfl+M3B1BjK2FLT9DB2dr80oJDC2sMv/cu94JyAWC1g3N8yrUpcmcUsEYhr/+hT 34mA== 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=rRu2fVfjqxFslFwqFKYpAJD6XGUCMfHi7upTim4v3aA=; b=D5xuGeleA9sAoAJQvvw/ip0sI3isb+YuLNoxWfpAW93Zxqe6vwxvAWso9xjmimCOZu qdCEQuykdz5UfLiIY8cdp0VJ6OcXrIlktJpe+pglU9TBlmA7vN8LH9CpTTVFazY8KDnU gMz6R/ge6buHPgN92I9WFULrOYDouEhqv3qjvn2uBQT6neKJD/cNx5HaWkVNbx7YiLDw dznDiwirbyN9fqKTcbX9HGFQfBnb1XpRyTt5I7kR6ubzR1NF9l+H8m4Ox6Wvdw+mm0DC 8/TOW/6KK3foVMD8SG26XQ/6sv7Qzt1FURx4bL79xFTKIrwrkSt4RSILMnzjDkWK2qoi aq7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=eNLHSZpQ; 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 r138-20020a632b90000000b00364c646b08csi2788162pgr.184.2022.03.09.12.54.19; Wed, 09 Mar 2022 12:54:35 -0800 (PST) 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=20210112 header.b=eNLHSZpQ; 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 S235304AbiCITRb (ORCPT + 99 others); Wed, 9 Mar 2022 14:17:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237463AbiCITQk (ORCPT ); Wed, 9 Mar 2022 14:16:40 -0500 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0989A1107EA; Wed, 9 Mar 2022 11:15:41 -0800 (PST) Received: by mail-wm1-x336.google.com with SMTP id q20so1959843wmq.1; Wed, 09 Mar 2022 11:15:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=rRu2fVfjqxFslFwqFKYpAJD6XGUCMfHi7upTim4v3aA=; b=eNLHSZpQCbWRVgfrrQ6UKvljItS8PHo5ZE3j1rxa+c1fLPptZfw748/fXP2E00VZcL GbRm4+8sG4A7mtdaEaD97ZtSHP/e7t3W0umbVP4gmUR9Z79/V8Xw1bee0BLtbj07SUx2 +gerlCESid0a1WUR9S8cl8xsSpnoAy88j12lELxvcEpjVRfnTZfN/TFjCvr2vXVwKo6D /psOOzBrbGT3C90+5OcNljYqIWFju5mRTgWjVIIINkfJUmWobaWaG1YGWR+cPObiWu5w 4o2jOMlrP/LxgsHSZ1yiifIsm1eqz88gl1DbI4ANNCNf08RBeLe8pWLVBdL5sfOVARVJ /aIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=rRu2fVfjqxFslFwqFKYpAJD6XGUCMfHi7upTim4v3aA=; b=eG4Rtb90KUFs8CAUcDRauQYlMldIK3ukMcWBtG3OTClnfK90iFAl2tU17wP4r0PGUV mcpOSuY9j8ll+LBKV2FkwQ1/Jxpq2fzCn2Pn7Vb8NcJn6QogySvSrFfZo0aNNaipn9a7 VRUdta41QLxS2S3AzbyTiOxmI6eTx8SeB4WotYaySNYAE13+sBJz6sHClSnlJ6/SusCb A0P5FAneQFtQmTz6ldGrSUPEVyzAIfKH0CX5VIaoDyyJ8MmWgn3lN4gG4LDbwIH/4EQ5 KFJh1aaBb9U/rXugVskuvCMovvwuvmIwX3cICaHAOHg9fgpZFOLZq3iyV86f3CYUbAUJ +ziA== X-Gm-Message-State: AOAM532+w4lPVbX6Dpf8fVTCbqYGUAp0aGfgsXf9Or6VnxQSX9l9oXp3 q9iP9wqLcvnqgsKdvcRRFW4= X-Received: by 2002:a05:600c:4f86:b0:389:d5bf:a7f3 with SMTP id n6-20020a05600c4f8600b00389d5bfa7f3mr707822wmq.49.1646853339420; Wed, 09 Mar 2022 11:15:39 -0800 (PST) Received: from Ansuel-xps.localdomain (host-79-47-249-147.retail.telecomitalia.it. [79.47.249.147]) by smtp.googlemail.com with ESMTPSA id w6-20020a5d6806000000b002036515dda7sm2396699wru.33.2022.03.09.11.15.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Mar 2022 11:15:38 -0800 (PST) From: Ansuel Smith To: Andy Gross , Bjorn Andersson , Rob Herring , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Ansuel Smith , Jonathan McDowell Subject: [PATCH v3 17/18] ARM: dts: qcom: add ipq8064-v2.0 dtsi Date: Wed, 9 Mar 2022 20:01:51 +0100 Message-Id: <20220309190152.7998-18-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220309190152.7998-1-ansuelsmth@gmail.com> References: <20220309190152.7998-1-ansuelsmth@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_NONE,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 Many devices are based on the v2.0 of the ipq8064 SoC. Main difference is a change in the pci compatible and different way to configre the usb phy. Signed-off-by: Ansuel Smith Tested-by: Jonathan McDowell --- arch/arm/boot/dts/qcom-ipq8064-v2.0.dtsi | 70 ++++++++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 arch/arm/boot/dts/qcom-ipq8064-v2.0.dtsi diff --git a/arch/arm/boot/dts/qcom-ipq8064-v2.0.dtsi b/arch/arm/boot/dts/qcom-ipq8064-v2.0.dtsi new file mode 100644 index 000000000000..c082c3cd1a19 --- /dev/null +++ b/arch/arm/boot/dts/qcom-ipq8064-v2.0.dtsi @@ -0,0 +1,70 @@ +// SPDX-License-Identifier: GPL-2.0 +#include "qcom-ipq8064.dtsi" + +/ { + aliases { + serial0 = &gsbi4_serial; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + rsvd@41200000 { + reg = <0x41200000 0x300000>; + no-map; + }; + }; +}; + +&gsbi4 { + qcom,mode = ; + status = "okay"; + + serial@16340000 { + status = "okay"; + }; + /* + * The i2c device on gsbi4 should not be enabled. + * On ipq806x designs gsbi4 i2c is meant for exclusive + * RPM usage. Turning this on in kernel manifests as + * i2c failure for the RPM. + */ +}; + +&CPU_SPC { + status = "okay"; +}; + +&pcie0 { + compatible = "qcom,pcie-ipq8064-v2"; +}; + +&pcie1 { + compatible = "qcom,pcie-ipq8064-v2"; +}; + +&pcie2 { + compatible = "qcom,pcie-ipq8064-v2"; +}; + +&sata { + ports-implemented = <0x1>; +}; + +&ss_phy_0 { + qcom,rx-eq = <2>; + qcom,tx-deamp_3_5db = <32>; + qcom,mpll = <5>; +}; + +&ss_phy_1 { + qcom,rx-eq = <2>; + qcom,tx-deamp_3_5db = <32>; + qcom,mpll = <5>; +}; -- 2.34.1