aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaushal Kumar <[email protected]>2022-05-02 10:08:06 -0700
committerBjorn Andersson <[email protected]>2022-06-27 16:08:49 -0500
commit59e73f67e14b95eddbbff2f009c98a55cef47f8a (patch)
treeee90bbee22ad3cbaf4eace6fd416d04678411bf3
parenteae61fddd64861fc496a7786b02449abe8188145 (diff)
ARM: dts: qcom: sdx65-mtp: Enable QPIC NAND support
Enable QPIC NAND devicetree node for Qualcomm SDX65-MTP board. Reviewed-by: Manivannan Sadhasivam <[email protected]> Signed-off-by: Kaushal Kumar <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
-rw-r--r--arch/arm/boot/dts/qcom-sdx65-mtp.dts15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-sdx65-mtp.dts b/arch/arm/boot/dts/qcom-sdx65-mtp.dts
index e9c8df9da9c3..e747ec0ccbf6 100644
--- a/arch/arm/boot/dts/qcom-sdx65-mtp.dts
+++ b/arch/arm/boot/dts/qcom-sdx65-mtp.dts
@@ -249,6 +249,21 @@
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";
};