ARM: dts: qcom: sdx65-mtp: Enable QPIC NAND support
authorKaushal Kumar <quic_kaushalk@quicinc.com>
Mon, 2 May 2022 17:08:06 +0000 (10:08 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 27 Jun 2022 21:08:49 +0000 (16:08 -0500)
Enable QPIC NAND devicetree node for Qualcomm SDX65-MTP board.

Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Kaushal Kumar <quic_kaushalk@quicinc.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/1651511286-18690-5-git-send-email-quic_kaushalk@quicinc.com
arch/arm/boot/dts/qcom-sdx65-mtp.dts

index e9c8df9da9c3312f9d6563b7205fe7149cfc7ca5..e747ec0ccbf6421fac7e1a7cce009a8c810c4063 100644 (file)
        status = "okay";
 };
 
+&qpic_nand {
+       status = "okay";
+
+       nand@0 {
+               reg = <0>;
+
+               nand-ecc-strength = <4>;
+               nand-ecc-step-size = <512>;
+               nand-bus-width = <8>;
+               /* ico and efs2 partitions are secured */
+               secure-regions = /bits/ 64 <0x500000 0x500000
+                                           0xa00000 0xb00000>;
+       };
+};
+
 &usb {
        status = "okay";
 };