From 98e126a3935a8b65d9a17bb7621d0670d4b5db75 Mon Sep 17 00:00:00 2001 From: Abhishek Shah Date: Tue, 8 Feb 2022 02:21:11 +0530 Subject: [PATCH] ARM: dts: msm: Add device node for llcc on sm8150 Add device node for last level cache controller on SM8150. Change-Id: Ice4c45e90db0a3c28ee6f4e1f7d43cd13ce18ede --- bindings/arm/msm/qcom,llcc.txt | 4 ++-- qcom/sm8150.dtsi | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/bindings/arm/msm/qcom,llcc.txt b/bindings/arm/msm/qcom,llcc.txt index b213ddbe..dbbd46d8 100644 --- a/bindings/arm/msm/qcom,llcc.txt +++ b/bindings/arm/msm/qcom,llcc.txt @@ -11,8 +11,8 @@ Properties: - compatible: Usage: required Value type: - Definition: must be "qcom,sdm845-llcc" or "qcom,lahaina-llcc" - or "qcom,shima-llcc" or "qcom,waipio-llcc" + Definition: must be "qcom,sdm845-llcc" or "qcom,sm8150-llcc" or + "qcom,lahaina-llcc" or "qcom,shima-llcc" or "qcom,waipio-llcc" or "qcom,sdxlemur-llcc" or "qcom,diwali-llcc" or "qcom,kalama-llcc" or "qcom,cinder-llcc". "qcom,llcc-v2" must be appended for V2 hardware or diff --git a/qcom/sm8150.dtsi b/qcom/sm8150.dtsi index 2de4f8a4..286c9cb3 100644 --- a/qcom/sm8150.dtsi +++ b/qcom/sm8150.dtsi @@ -870,6 +870,13 @@ qcom,vmid-cp-camera-preview-ro; }; + cache-controller@9200000 { + compatible = "qcom,sm8150-llcc"; + reg = <0x9200000 0x1d0000> , <0x9600000 0x50000>; + reg-names = "llcc_base", "llcc_broadcast_base"; + cap-based-alloc-and-pwr-collapse; + }; + qcom,mem-buf { compatible = "qcom,mem-buf"; qcom,mem-buf-capabilities = "supplier";