]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
dt-bindings: ifc: Fix the unit address format in the examples
authorFabio Estevam <fabio.estevam@nxp.com>
Sat, 10 Mar 2018 17:06:21 +0000 (14:06 -0300)
committerShawn Guo <shawnguo@kernel.org>
Mon, 12 Mar 2018 07:38:49 +0000 (15:38 +0800)
DTC warnings will be seen if these examples are used in a real dts file
due to a mismatch in the unit address notation.

Align the unit address notation to what is done in the real dts files
as per commit f81d7af79575 ("arm64: dts: fsl: fix ifc simple-bus unit
address format warnings")

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