From patchwork Mon Mar 13 07:17:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Komal Bajaj X-Patchwork-Id: 68649 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1047781wrd; Mon, 13 Mar 2023 00:36:17 -0700 (PDT) X-Google-Smtp-Source: AK7set8fq2EcfXly1cSBzIvb5qeim86qkpsoEovrp9Pd86WHJmFCMTTqxN3jQYzBX3xe1/wIxjB2 X-Received: by 2002:a62:7905:0:b0:625:2a96:2f3d with SMTP id u5-20020a627905000000b006252a962f3dmr808558pfc.25.1678692977381; Mon, 13 Mar 2023 00:36:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1678692977; cv=none; d=google.com; s=arc-20160816; b=wAHCwCvYLP5Ocou8c+gbz0JMEodTCqmoMdtIp+C6v4DYew9x0x3rayPPDH7mucZ5VD zvks3AgeMo+RiRcINrRFpVaXqFgdiCAXxZbflctNjCEs2Gh3JcS7DoVmrbuBN/RoFE1O Z7LSiRQ4MXVDJeOFXjxi7vIiNJNW5fbaEJePRCRwczI8K74h4Rvz9R+CNkH6qn0WL3kC FoeZSFPE+gdYJn28+whf/iDZakfHP0BbNizPcJcotOSBICVY/ZfKz2eKTujV0qv/YHc+ 8qkPqV/sR/6i0cCUCyQsqnzhL/gFnl/82t05w7+l2SIzsm3e/8D4dgcWUDeWrO075NIw dRKw== 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=nArh0NQh1TsaLTW8jIsifogT51yJv/pml3b0qmRRGAU=; b=D9Nu/cpAAsBh+IpQwNfAoarlxuJ0Sj+ZBnpPVTOwVJhv3Ek+XPDdASvynWotIT2nnU bN41BT8x6K4kJ8lt3nkP8k3lVzJbULa4WgHj/0imW1hnJ61boFX+bFaIAmPj8u0ifCq0 3mZPgPdnP51OXNH/ym5hD9YJN0obgo8OLQXYzxZbloPHuJX5mno9FvfMdkvfg0rxz1/g 0UeU99ZWSttkumzRT9J70rGSGO6n6GX+7tXpP8+eFq689PQp5Ggo4sZglqIvruiooeCU tW/zy84BahT7DEQrV5UyhChD63Bf7Y2tXtlfVhVO61U+E+ukAN6jpjAxCBc59cw3+MMC Ne6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=j1MCt1nM; 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 199-20020a6303d0000000b004dea53e52e5si5957429pgd.128.2023.03.13.00.36.04; Mon, 13 Mar 2023 00:36:17 -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=j1MCt1nM; 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 S229621AbjCMHSL (ORCPT + 99 others); Mon, 13 Mar 2023 03:18:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229535AbjCMHSJ (ORCPT ); Mon, 13 Mar 2023 03:18:09 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 281ADA27B; Mon, 13 Mar 2023 00:18:08 -0700 (PDT) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32D2xMwQ027854; Mon, 13 Mar 2023 07:18:05 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=nArh0NQh1TsaLTW8jIsifogT51yJv/pml3b0qmRRGAU=; b=j1MCt1nMjlIqciSZ+KV5MWF+L/HUaDmuKsQUIcbZWgm14S5PHYP8AE+fcGkOAKQMTXlE j2Frw6yE/oQWtVGcIoCoxkqAWDzoRAxAbUYNdPbas4fynxUwx86aUnHmEiT7rfKYaUWJ ncldFQJ7q70qB2FTjLqpL/ONvaWhvxxwr8zfi9/X/k+yfU+M+cKyfa0UjyYA2Jd2Nd/h u6H96Y6pjMsdoRUO3dV3c8qP+vbyZDg7B8TXOw0lbrXedqGZV6hix09HirarkIRSdnDc DoDxkyBQ2ywqzwy+9kriMZF/SqsnqjsbY7Qt/w/lDm+r4E4jAXse6EEGZBtHqXOvmybr iw== Received: from apblrppmta02.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3p8gysuyvj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Mar 2023 07:18:04 +0000 Received: from pps.filterd (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 32D7I1WF016606; Mon, 13 Mar 2023 07:18:01 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 3p8jqkeyw9-1; Mon, 13 Mar 2023 07:18:01 +0000 Received: from APBLRPPMTA02.qualcomm.com (APBLRPPMTA02.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 32D7I0Df016599; Mon, 13 Mar 2023 07:18:00 GMT Received: from kbajaj-linux.qualcomm.com (kbajaj-linux.qualcomm.com [10.214.66.129]) by APBLRPPMTA02.qualcomm.com (PPS) with ESMTP id 32D7I08Z016598; Mon, 13 Mar 2023 07:18:00 +0000 Received: from kbajaj-linux.qualcomm.com (localhost [127.0.0.1]) by kbajaj-linux.qualcomm.com (Postfix) with ESMTP id E2257252; Mon, 13 Mar 2023 12:47:59 +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] arm64: dts: qcom: qdu1000: Add LLCC/system-cache-controller node Date: Mon, 13 Mar 2023 12:47:57 +0530 Message-Id: <20230313071757.31533-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: 9dyy_A4dA22nUz8yYlasHGnG-qw15OPC X-Proofpoint-ORIG-GUID: 9dyy_A4dA22nUz8yYlasHGnG-qw15OPC 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-12_10,2023-03-10_01,2023-02-09_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 mlxscore=0 impostorscore=0 lowpriorityscore=0 malwarescore=0 bulkscore=0 suspectscore=0 adultscore=0 phishscore=0 priorityscore=1501 clxscore=1015 mlxlogscore=769 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2303130058 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 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?1760237167413859740?= X-GMAIL-MSGID: =?utf-8?q?1760237167413859740?= 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. Signed-off-by: Komal Bajaj --- arch/arm64/boot/dts/qcom/qdu1000.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qdu1000.dtsi b/arch/arm64/boot/dts/qcom/qdu1000.dtsi index 801f090335a3..a4816a862344 100644 --- a/arch/arm64/boot/dts/qcom/qdu1000.dtsi +++ b/arch/arm64/boot/dts/qcom/qdu1000.dtsi @@ -1321,6 +1321,16 @@ 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"; + multi-ch-bit-off = <24 2>; + interrupts = ; + }; }; arch_timer: timer {