On 2018-01-29 10:41, Sricharan R wrote:
dk04.1-c5 has a spinand connected to spi bus0 chipselect 1.

Signed-off-by: Sricharan R <[email protected]>
---
 arch/arm/boot/dts/Makefile                      |  1 +
 arch/arm/boot/dts/qcom-ipq4019-ap.dk04.1-c5.dts | 23
+++++++++++++++++++++++
 2 files changed, 24 insertions(+)

 <snip>

+               spi_0: spi@78b5000 { /* BLSP1 QUP1 */
+                       status = "ok";
+                       cs-gpios = <&tlmm 12 0>, <&tlmm 45 0>;

 Same applies here also. We need to add pinumx
 for gpio45.

 Thanks,
 Abhishek

+                       num-cs = <2>;
+
+                       mt29f@1 {
+                               #address-cells = <1>;
+                               #size-cells = <1>;
+                               compatible = "spinand,mt29f";
+                               reg = <1>;
+                               spi-max-frequency = <24000000>;
+                       };
+               };
+       };
+};

Reply via email to