Browse Source

dt-bindings: define little-endian property for QorIQ GPIO

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>
Li Yang 9 years ago
parent
commit
edb70e29f3
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Documentation/devicetree/bindings/gpio/gpio-mpc8xxx.txt

+ 4 - 0
Documentation/devicetree/bindings/gpio/gpio-mpc8xxx.txt

@@ -11,6 +11,10 @@ Required properties:
       0 = active high
       0 = active high
       1 = active low
       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:
 Example:
 
 
 gpio0: gpio@1100 {
 gpio0: gpio@1100 {