]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: qcom: qdu1000: Add secure qfprom node
authorKomal Bajaj <quic_kbajaj@quicinc.com>
Tue, 18 Jun 2024 09:27:11 +0000 (14:57 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 3 Aug 2024 06:59:22 +0000 (08:59 +0200)
[ Upstream commit 367fb3f0aaa6eac9101dc683dd27c268b4cc702e ]

Add secure qfprom node and also add properties for multi channel
DDR. This is required for LLCC driver to pick the correct LLCC
configuration.

Fixes: 6209038f131f ("arm64: dts: qcom: qdu1000: Add LLCC/system-cache-controller")
Signed-off-by: Komal Bajaj <quic_kbajaj@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Mukesh Ojha <quic_mojha@quicinc.com>
Link: https://lore.kernel.org/r/20240618092711.15037-1-quic_kbajaj@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm64/boot/dts/qcom/qdu1000.dtsi

index f90f03fa6a24fc0a8159c9b36635c32b7ef69495..1da40f4b4f8ac1e9f33c7bb382a567e0d67aca01 100644 (file)
                                    "llcc7_base",
                                    "llcc_broadcast_base";
                        interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>;
+
+                       nvmem-cells = <&multi_chan_ddr>;
+                       nvmem-cell-names = "multi-chan-ddr";
+               };
+
+               sec_qfprom: efuse@221c8000 {
+                       compatible = "qcom,qdu1000-sec-qfprom", "qcom,sec-qfprom";
+                       reg = <0 0x221c8000 0 0x1000>;
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       multi_chan_ddr: multi-chan-ddr@12b {
+                               reg = <0x12b 0x1>;
+                               bits = <0 2>;
+                       };
                };
        };