dt-bindings: qcom_nandc: fix the ipq806x device tree example
authorAbhishek Sahu <absahu@codeaurora.org>
Thu, 17 Aug 2017 12:07:50 +0000 (17:37 +0530)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Wed, 23 Aug 2017 14:49:29 +0000 (16:49 +0200)
1. Correct the compatible string for IPQ806x
2. Change the NAND controller and NAND chip nodes name
   for more clarity.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Abhishek Sahu <absahu@codeaurora.org>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Documentation/devicetree/bindings/mtd/qcom_nandc.txt

index 26360fe5166366832a6a7c05d21bf1ee4ca0cbfc..f475b652d9b8cfde013a541d24e9088ecc6a584c 100644 (file)
@@ -42,8 +42,8 @@ partition.txt for more detail.
 
 Example:
 
-nand@1ac00000 {
-       compatible = "qcom,ebi2-nandc";
+nand-controller@1ac00000 {
+       compatible = "qcom,ipq806x-nand";
        reg = <0x1ac00000 0x800>;
 
        clocks = <&gcc EBI2_CLK>,
@@ -58,7 +58,7 @@ nand@1ac00000 {
        #address-cells = <1>;
        #size-cells = <0>;
 
-       nandcs@0 {
+       nand@0 {
                reg = <0>;
 
                nand-ecc-strength = <4>;