arm64: dts: qcom: sm6350: Add QFPROM node
authorKonrad Dybcio <konrad.dybcio@somainline.org>
Wed, 14 Jun 2023 11:35:35 +0000 (13:35 +0200)
committerBjorn Andersson <andersson@kernel.org>
Mon, 10 Jul 2023 04:26:39 +0000 (21:26 -0700)
Add a node for the QFPROM NVMEM hw and define the GPU fuse.

Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Reviewed-by: Luca Weiss <luca.weiss@fairphone.com>
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230315-topic-lagoon_gpu-v2-4-afcdfb18bb13@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm6350.dtsi

index fd35810bcfb5cb0cc069688f48db0ce3e1d5e287..c0f34bc1d78c1c9cf121a460a28ade27196de91a 100644 (file)
                        #mbox-cells = <2>;
                };
 
+               qfprom: qfprom@784000 {
+                       compatible = "qcom,sm6350-qfprom", "qcom,qfprom";
+                       reg = <0 0x00784000 0 0x3000>;
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       gpu_speed_bin: gpu-speed-bin@2015 {
+                               reg = <0x2015 0x1>;
+                               bits = <0 8>;
+                       };
+               };
+
                rng: rng@793000 {
                        compatible = "qcom,prng-ee";
                        reg = <0 0x00793000 0 0x1000>;