diff mbox series

[v2,12/18] ARM: dts: qcom: sdx55-mtp: Enable QPIC NAND

Message ID 20210105122649.13581-13-manivannan.sadhasivam@linaro.org
State Superseded
Headers show
Series Devicetree update for SDX55 platform | expand

Commit Message

Manivannan Sadhasivam Jan. 5, 2021, 12:26 p.m. UTC
Enable QPIC NAND on SDX55-MTP board.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

---
 arch/arm/boot/dts/qcom-sdx55-mtp.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)

-- 
2.25.1

Comments

Vinod Koul Jan. 5, 2021, 3:51 p.m. UTC | #1
On 05-01-21, 17:56, Manivannan Sadhasivam wrote:
> Enable QPIC NAND on SDX55-MTP board.


Reviewed-by: Vinod Koul <vkoul@kernel.org>


> 

> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>

> ---

>  arch/arm/boot/dts/qcom-sdx55-mtp.dts | 12 ++++++++++++

>  1 file changed, 12 insertions(+)

> 

> diff --git a/arch/arm/boot/dts/qcom-sdx55-mtp.dts b/arch/arm/boot/dts/qcom-sdx55-mtp.dts

> index 74ea6f425c77..b8d432a4324c 100644

> --- a/arch/arm/boot/dts/qcom-sdx55-mtp.dts

> +++ b/arch/arm/boot/dts/qcom-sdx55-mtp.dts

> @@ -29,3 +29,15 @@ &blsp1_uart3 {

>  &qpic_bam {

>  	status = "ok";

>  };

> +

> +&qpic_nand {

> +	status = "ok";

> +

> +	nand@0 {

> +		reg = <0>;

> +

> +		nand-ecc-strength = <8>;

> +		nand-ecc-step-size = <512>;

> +		nand-bus-width = <8>;

> +	};

> +};

> -- 

> 2.25.1


-- 
~Vinod
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/qcom-sdx55-mtp.dts b/arch/arm/boot/dts/qcom-sdx55-mtp.dts
index 74ea6f425c77..b8d432a4324c 100644
--- a/arch/arm/boot/dts/qcom-sdx55-mtp.dts
+++ b/arch/arm/boot/dts/qcom-sdx55-mtp.dts
@@ -29,3 +29,15 @@  &blsp1_uart3 {
 &qpic_bam {
 	status = "ok";
 };
+
+&qpic_nand {
+	status = "ok";
+
+	nand@0 {
+		reg = <0>;
+
+		nand-ecc-strength = <8>;
+		nand-ecc-step-size = <512>;
+		nand-bus-width = <8>;
+	};
+};