Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp773571rwl; Fri, 31 Mar 2023 02:05:10 -0700 (PDT) X-Google-Smtp-Source: AKy350aOC1Am+nsebGUN2rti5F8yT1gRl9ums9609iiYGA/Zi4NMnjpAvP9eGWPkdAHHJR8uX+G0 X-Received: by 2002:a17:906:208:b0:931:5145:c51d with SMTP id 8-20020a170906020800b009315145c51dmr4890543ejd.0.1680253510313; Fri, 31 Mar 2023 02:05:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680253510; cv=none; d=google.com; s=arc-20160816; b=VImxniWw8cipz/71v4VF6ojo77Fjr8kwCD7DEurFdabSQ2DgNz694uRgqdSWTGtyXB uogEl34ARCBxqiG9fbI3tQxBMajsN7nJT7d4v1yyP5WoYqtYenfmbsnVOk8SXizYXrI6 f2nf6gqxUmRogZUs2Q5ceJ2QOR/imU7UoSgQ+TFJn9R9URvcTYklpSIhxM/DoIBKK0pp TMPRzH+chT/DDxL4JXfYViZFYiNY/UecGUoUdCdJbhj5Bgkrgek1seHduHuVeW0VzfCw X51GCJPvPyJe5MxcvQb3CCrcMHstpHhZppH0zskCg0rPjL3JIS+/lE+oHcdsJksatE2v m4/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=L+YT4HW3+rQHWR3P1Mx8yYExeD+X19djBY6Djc6sRQ8=; b=vMZjhiTKFsO/OQwOg62HpK8y0gNLHRbcc13z4k4DWSWCAXN4DF7ZM9Ywjm1IUT1/Ad ggzOi8KV72k8c12lHOPTnCN9qAE/Pytbtbfe6YfJda10GwLPeYK32uCGVQ/ACzbiVz+D b4cLBAwbSfU1Qf+2C2bYnzxHcVzsuIu1yzGzx6ykrlnhc6iPOlTz54qr2bJGZT3BIerd mPD4pwk+NeTEKkMjbXsEdH5qSKPen6g/tUyn/JvS0M6fs2psjT4tIE5g8Q3gmdcEVlp/ SIyGYp/AsCYHHq7pCDntrIn/Vw/nCNgamUJxw4zQlA9oAXRQiY6ghhAR9smcxxLlduzW 8PZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=XshnnQUd; 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=NONE dis=NONE) header.from=ti.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t17-20020a1709060c5100b009333192e440si1562975ejf.288.2023.03.31.02.04.45; Fri, 31 Mar 2023 02:05:10 -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=@ti.com header.s=ti-com-17Q1 header.b=XshnnQUd; 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=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230292AbjCaJBw (ORCPT + 99 others); Fri, 31 Mar 2023 05:01:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229529AbjCaJBO (ORCPT ); Fri, 31 Mar 2023 05:01:14 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3BF01E717; Fri, 31 Mar 2023 02:01:08 -0700 (PDT) Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 32V90weg005842; Fri, 31 Mar 2023 04:00:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1680253258; bh=L+YT4HW3+rQHWR3P1Mx8yYExeD+X19djBY6Djc6sRQ8=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=XshnnQUda6e7he8ca0/zIrtm80eFPmDgHP+0GZsCa70xDlPLHA2sfL3WuyyndgeBc Zy0hO1td4AG9YuTlv+IyP5vOXNmmkHfoORGZyfGOaVtkRYMuH8pNVsnPv4KQ532APC L7YtrndkWoF+VXRxQuFrm2eZF8DI6qAFOvnoD4xM= Received: from DLEE113.ent.ti.com (dlee113.ent.ti.com [157.170.170.24]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 32V90wtF029997 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 31 Mar 2023 04:00:58 -0500 Received: from DLEE106.ent.ti.com (157.170.170.36) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Fri, 31 Mar 2023 04:00:58 -0500 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE106.ent.ti.com (157.170.170.36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Fri, 31 Mar 2023 04:00:58 -0500 Received: from uda0500640.dal.design.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 32V90Suf125579; Fri, 31 Mar 2023 04:00:55 -0500 From: Ravi Gunasekaran To: , , , , , , , , CC: , , Subject: [PATCH v14 7/8] arm64: dts: ti: k3-j721s2-main: Add PCIe device tree node Date: Fri, 31 Mar 2023 14:30:27 +0530 Message-ID: <20230331090028.8373-8-r-gunasekaran@ti.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230331090028.8373-1-r-gunasekaran@ti.com> References: <20230331090028.8373-1-r-gunasekaran@ti.com> MIME-Version: 1.0 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, SPF_PASS autolearn=unavailable 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 From: Aswath Govindraju Add PCIe1 RC device tree node for the single PCIe instance present on the J721S2. Reviewed-by: Siddharth Vadapalli Signed-off-by: Aswath Govindraju Signed-off-by: Vignesh Raghavendra Signed-off-by: Matt Ranostay Signed-off-by: Ravi Gunasekaran --- Changes from v13: * No changes. Only rebased on top of linux-next Changes from v12: * No change Changes from v11: * Cleaned up comments Changes from v10: * Removed Link tag from commit message Changes from v9: * No change Changes from v8: * No change Changes from v7: * No change Changes from v6: * Remove the pcie_ep node as device cannot act as RC and EP at the same time Changes from v5: * No change Changes from v4: * No change Changes from v3: * No change Changes from v2: * Patch newly added to the series arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi index 931263919086..6629b2989180 100644 --- a/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi +++ b/arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi @@ -847,6 +847,49 @@ }; }; + pcie1_rc: pcie@2910000 { + compatible = "ti,j7200-pcie-host", "ti,j721e-pcie-host"; + reg = <0x00 0x02910000 0x00 0x1000>, + <0x00 0x02917000 0x00 0x400>, + <0x00 0x0d800000 0x00 0x800000>, + <0x00 0x18000000 0x00 0x1000>; + reg-names = "intd_cfg", "user_cfg", "reg", "cfg"; + interrupt-names = "link_state"; + interrupts = ; + device_type = "pci"; + ti,syscon-pcie-ctrl = <&scm_conf 0x074>; + max-link-speed = <3>; + num-lanes = <4>; + power-domains = <&k3_pds 276 TI_SCI_PD_EXCLUSIVE>; + clocks = <&k3_clks 276 41>; + clock-names = "fck"; + #address-cells = <3>; + #size-cells = <2>; + bus-range = <0x0 0xff>; + vendor-id = <0x104c>; + device-id = <0xb013>; + msi-map = <0x0 &gic_its 0x0 0x10000>; + dma-coherent; + ranges = <0x01000000 0x0 0x18001000 0x00 0x18001000 0x0 0x0010000>, + <0x02000000 0x0 0x18011000 0x00 0x18011000 0x0 0x7fef000>; + dma-ranges = <0x02000000 0x0 0x0 0x0 0x0 0x10000 0x0>; + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 7>; + interrupt-map = <0 0 0 1 &pcie1_intc 0>, /* INT A */ + <0 0 0 2 &pcie1_intc 0>, /* INT B */ + <0 0 0 3 &pcie1_intc 0>, /* INT C */ + <0 0 0 4 &pcie1_intc 0>; /* INT D */ + + status = "disabled"; /* Needs gpio and serdes info */ + + pcie1_intc: interrupt-controller { + interrupt-controller; + #interrupt-cells = <1>; + interrupt-parent = <&gic500>; + interrupts = ; + }; + }; + main_mcan0: can@2701000 { compatible = "bosch,m_can"; reg = <0x00 0x02701000 0x00 0x200>, -- 2.17.1