From patchwork Mon Mar 13 12:57:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Komal Bajaj X-Patchwork-Id: 68826 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1174472wrd; Mon, 13 Mar 2023 06:08:02 -0700 (PDT) X-Google-Smtp-Source: AK7set+XL0GpTwpE/6ygJakoevnbCQt1K21woIrDEZLROAc9CukyD6RvnKAMqAtX9bWQjGyZu7KX X-Received: by 2002:a05:6a20:3cab:b0:cd:3bca:cfa2 with SMTP id b43-20020a056a203cab00b000cd3bcacfa2mr36613142pzj.23.1678712882298; Mon, 13 Mar 2023 06:08:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678712882; cv=none; d=google.com; s=arc-20160816; b=qpdSAJHIvPiwRecjwFTrmnECmzM2MjPthoohMOXZEy+bMxZ2HP3UIr7D5UnHvlZLhW XcGGKpDHuRCa/v5eJYMK2FenLl5XC3AAchvJMFRwBAFTIzzSVaAO/dqA0fswQeWg40lq 2yDaJChB0UQl0iazTCMbYdFvkZDlvQqL+vPt77NicL68PyaRg6PE6v7F/3YT0/n32+UL S83yCA3IEBnE+d00JcLeCUAtYrlqskRynBGAk8TeaVNHwRzY72ChU0m7yDgL1sbPAwLa 3BwJcHyQZZnV8oRFCSio9rObfEDbl7U5gdVycie4MKrGpZd5r8uu3D+sX8K0v1RLufbx wvrQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=HDQp2b5uqh7ehDZreaIYJ+Damoh+IwYWk+HSjpcxgkY=; b=NkiJ0287iUJ80WtjDtNpvQusplQkckc6agqZiF6hUmikI8CiJIh9ETrN2XvV2RM6wo omVMCevJAjL6xjDxE18Kd5G4X/W/c68aF8U6WGHA67NN4OuZjB2PoJAMPP+qSdYTgzVF ICCPInTYEdvOT8eSpTISAm94kvy9fQ1YlerVXL3WR9VEUpgJ7ecmuIy2xR4alutyH/j/ OXMyZJ/nmstPp/Ia6ggR9rnD7iC7otiCz4SCPKCUpaBNSQ72Cyjz3V2l4VHgXebVhU3W gq7/amODOi2niee8NEQ7L53F7hwVxdX8oFTB3rxiK6xwc+apC+uBd2OZmDA55nap+g/T YkWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=oLzgmbv1; 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=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w186-20020a627bc3000000b0062493e8314esi2488376pfc.359.2023.03.13.06.07.46; Mon, 13 Mar 2023 06:08: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=@quicinc.com header.s=qcppdkim1 header.b=oLzgmbv1; 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=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230117AbjCMM5y (ORCPT + 99 others); Mon, 13 Mar 2023 08:57:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46862 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230063AbjCMM5w (ORCPT ); Mon, 13 Mar 2023 08:57:52 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B48569067; Mon, 13 Mar 2023 05:57:41 -0700 (PDT) Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32DCkT7U002659; Mon, 13 Mar 2023 12:57:38 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding; s=qcppdkim1; bh=HDQp2b5uqh7ehDZreaIYJ+Damoh+IwYWk+HSjpcxgkY=; b=oLzgmbv1taKJKIfdE62I+hpuLEnXOCSodAkPA8VVFDtgxG8rzw0ctdRqbitE0v1JDoFz cmrxAdFCy/+ihSBPHgZ7OoR4iIoj+qgcONaeG1045e6+5X1HDAFbKzpS1yKkUO04kNew wtrOG399aDG+SsOBcL/3xZMk7b+dS/wlEvJzx+71zGq0CFMWuQfCfhPVXICSJYE9kXrY G+pXf5CdiprqE0xhVeALIEK2nrd/X11mK16Aor/B1a6GkakwbSCdGCsilUx31N8/3C4J //all9+e68feqxXL6zf2095EC2rMo+m+Qs0naTtykWXgJf9AWeYmVGRI0HfjSAd5D/ji jA== Received: from apblrppmta01.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3pa44br103-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Mar 2023 12:57:38 +0000 Received: from pps.filterd (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 32DCvYgM006563; Mon, 13 Mar 2023 12:57:34 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 3p8jqknch7-1; Mon, 13 Mar 2023 12:57:34 +0000 Received: from APBLRPPMTA01.qualcomm.com (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 32DCvY80006558; Mon, 13 Mar 2023 12:57:34 GMT Received: from kbajaj-linux.qualcomm.com (kbajaj-linux.qualcomm.com [10.214.66.129]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 32DCvYXc006557; Mon, 13 Mar 2023 12:57:34 +0000 Received: from kbajaj-linux.qualcomm.com (localhost [127.0.0.1]) by kbajaj-linux.qualcomm.com (Postfix) with ESMTP id 15BD02B7; Mon, 13 Mar 2023 18:27:33 +0530 (IST) From: Komal Bajaj To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: Komal Bajaj , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] arm64: dts: qcom: qdu1000: Add LLCC/system-cache-controller Date: Mon, 13 Mar 2023 18:27:31 +0530 Message-Id: <20230313125731.17745-1-quic_kbajaj@quicinc.com> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: k0A4yOtqILDURNgY9cWkIvJJqxSgYfKs X-Proofpoint-ORIG-GUID: k0A4yOtqILDURNgY9cWkIvJJqxSgYfKs X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-13_05,2023-03-13_02,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 clxscore=1015 bulkscore=0 lowpriorityscore=0 priorityscore=1501 mlxscore=0 suspectscore=0 malwarescore=0 adultscore=0 phishscore=0 mlxlogscore=785 impostorscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303130105 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760258039308585271?= X-GMAIL-MSGID: =?utf-8?q?1760258039308585271?= Add a DT node for Last level cache (aka. system cache) controller which provides control over the last level cache present on QDU1000 and QRU1000 SoCs. Changes in v2: - Addressing comments from Konrad. Signed-off-by: Komal Bajaj --- arch/arm64/boot/dts/qcom/qdu1000.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qdu1000.dtsi b/arch/arm64/boot/dts/qcom/qdu1000.dtsi index f234159d2060..911ade2faa19 100644 --- a/arch/arm64/boot/dts/qcom/qdu1000.dtsi +++ b/arch/arm64/boot/dts/qcom/qdu1000.dtsi @@ -1320,6 +1320,18 @@ gem_noc: interconnect@19100000 { qcom,bcm-voters = <&apps_bcm_voter>; #interconnect-cells = <2>; }; + + system-cache-controller@19200000 { + compatible = "qcom,qdu1000-llcc"; + reg = <0 0x19200000 0 0xd80000>, + <0 0x1a200000 0 0x80000>, + <0 0x221c8128 0 0x4>; + reg-names = "llcc_base", + "llcc_broadcast_base", + "multi_channel_register"; + interrupts = ; + multi-ch-bit-off = <24 2>; + }; }; timer {