dt-bindings: define little-endian property for QorIQ GPIO
authorLi Yang <leoli@freescale.com>
Fri, 4 Dec 2015 22:55:04 +0000 (16:55 -0600)
committerKevin Hilman <khilman@linaro.org>
Sat, 12 Dec 2015 00:13:02 +0000 (16:13 -0800)
The GPIO block on different QorIQ chips could have registers in different
endianess.  Define the property to specify which endian is used by the
hardware.

Signed-off-by: Liu Gang <Gang.Liu@freescale.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Kevin Hilman <khilman@linaro.org>
Documentation/devicetree/bindings/gpio/gpio-mpc8xxx.txt

index f2455c50533d6c7388ebfacbe572d164e5d11314..120bc4971cf3ed92cf9590af16643645e5c89234 100644 (file)
@@ -11,6 +11,10 @@ Required properties:
       0 = active high
       1 = active low
 
+Optional properties:
+- little-endian : GPIO registers are used as little endian. If not
+                  present registers are used as big endian by default.
+
 Example:
 
 gpio0: gpio@1100 {