arm64: zynqmp: Fix address for tca6416_u97 chip on zcu104
authorMichal Simek <michal.simek@xilinx.com>
Tue, 29 May 2018 13:28:43 +0000 (15:28 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 31 May 2018 11:50:39 +0000 (13:50 +0200)
I2c address is not 0x21 but 0x20. This patch is fixing both revA and
revC boards.

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

index a0e13d8dc5b0de977042433e1b3684e5a1776695..6a4b701ab812cb2d20b4d636942a7c15b0fd4170 100644 (file)
                        #address-cells = <1>;
                        #size-cells = <0>;
                        reg = <4>;
-                       tca6416_u97: gpio@21 {
+                       tca6416_u97: gpio@20 {
                                compatible = "ti,tca6416";
-                               reg = <0x21>;
+                               reg = <0x20>;
                                gpio-controller;
                                #gpio-cells = <2>;
                                /*
index f3ab99abdc9cacca0c8200803870f9e3f6a09ea5..fe742b894b8993cd58ea759737a122d572ae6f0f 100644 (file)
@@ -74,9 +74,9 @@
        status = "okay";
        clock-frequency = <400000>;
 
-       tca6416_u97: gpio@21 {
+       tca6416_u97: gpio@20 {
                compatible = "ti,tca6416";
-               reg = <0x21>;
+               reg = <0x20>;
                gpio-controller;
                #gpio-cells = <2>;
                /*