]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
ARM64: zcu102: Fix i2c gpio GT muxes description
authorMichal Simek <michal.simek@xilinx.com>
Mon, 18 Jan 2016 15:39:33 +0000 (16:39 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 11 Feb 2016 15:39:41 +0000 (16:39 +0100)
Add simple u-boot i2c command to know how to setup GPIO gt outputs.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynqmp-zcu102.dts

index d5a17ba216ac2d6c714a8bb5a9b7c3b899ec7932..3bb291c3b77670b755ab8328003c9e95f9b3cee8 100644 (file)
        status = "okay";
        clock-frequency = <400000>;
 
-       tca6416_u97: gpio@20 { /* FIXME enable it by i2c mw 20 6 1 */
+       tca6416_u97: gpio@20 {
+               /*
+                * Enable all GTs to out from U-Boot
+                * i2c mw 20 6 0  - setup IO to output
+                * i2c mw 20 2 ef - setup output values on pins 0-7
+                * i2c mw 20 3 ff - setup output values on pins 10-17
+                */
                compatible = "ti,tca6416";
                reg = <0x20>;
                gpio-controller;