Revert "dt-bindings: ifc: Fix the unit address format in the examples"
authorFabio Estevam <fabio.estevam@nxp.com>
Mon, 26 Mar 2018 16:20:43 +0000 (13:20 -0300)
committerShawn Guo <shawnguo@kernel.org>
Tue, 27 Mar 2018 08:00:07 +0000 (16:00 +0800)
This reverts commit 4e017f1419397473cf3db6e9fa020013998b1aa4.

As explained by Rob Herring:

"This "fix" is wrong. Memory controllers with chip selects should have
the chip select in the unit-address. The correct fix here is you should drop
"simple-bus"."

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Documentation/devicetree/bindings/memory-controllers/fsl/ifc.txt

index a4d4b6a..89427b0 100644 (file)
@@ -43,7 +43,7 @@ Example:
                          0x1 0x0 0x0 0xffa00000 0x00010000
                          0x3 0x0 0x0 0xffb00000 0x00020000>;
 
-               flash@0 {
+               flash@0,0 {
                        #address-cells = <1>;
                        #size-cells = <1>;
                        compatible = "cfi-flash";
@@ -58,7 +58,7 @@ Example:
                        };
                };
 
-               flash@100000000 {
+               flash@1,0 {
                        #address-cells = <1>;
                        #size-cells = <1>;
                        compatible = "fsl,ifc-nand";
@@ -73,7 +73,7 @@ Example:
                        };
                };
 
-               cpld@@300000000 {
+               cpld@3,0 {
                        #address-cells = <1>;
                        #size-cells = <1>;
                        compatible = "fsl,p1010rdb-cpld";