]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
ARM64: zynqmp: Fix tca6416 i2c device description
authorMichal Simek <michal.simek@xilinx.com>
Mon, 26 Oct 2015 12:51:51 +0000 (13:51 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 28 Oct 2015 07:13:16 +0000 (08:13 +0100)
Chip 0x20 was exchange by 0x21. Fix this and move it to appropriate
location based on i2c address. And extend description for 0x21.

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

index 9c00a3b79f96487ecef567721a073c8fa7a1588b..d0c6bbf1542dcd61a1d64847570302b61f13766e 100644 (file)
        status = "okay";
        clock-frequency = <400000>;
 
+       tca6416_u97: gpio@20 { /* FIXME enable it by i2c mw 20 6 1 */
+               compatible = "ti,tca6416";
+               reg = <0x20>;
+               gpio-controller;
+               #gpio-cells = <2>;
+               /*
+                * IRQ not connected
+                * Lines:
+                * 0 - PS_GTR_LAN_SEL0
+                * 1 - PS_GTR_LAN_SEL1
+                * 2 - PS_GTR_LAN_SEL2
+                * 3 - PS_GTR_LAN_SEL3
+                * 4 - PCI_CLK_DIR_SEL
+                * 5 - IIC_MUX_RESET_B
+                * 6 - GEM3_EXP_RESET_B
+                * 7, 10 - 17 - not connected
+                */
+       };
+
+       tca6416_u61: gpio@21 { /* FIXME enable it by i2c mw 21 6 0 */
+               compatible = "ti,tca6416";
+               reg = <0x21>;
+               gpio-controller;
+               #gpio-cells = <2>;
+               /*
+                * IRQ not connected
+                * Lines:
+                * 0 - VCCPSPLL_EN
+                * 1 - MGTRAVCC_EN
+                * 2 - MGTRAVTT_EN
+                * 3 - VCCPSDDRPLL_EN
+                * 4 - MIO26_PMU_INPUT_LS
+                * 5 - PL_PMBUS_ALERT
+                * 6 - PS_PMBUS_ALERT
+                * 7 - MAXIM_PMBUS_ALERT
+                * 10 - PL_DDR4_VTERM_EN
+                * 11 - PL_DDR4_VPP_2V5_EN
+                * 12 - PS_DIMM_VDDQ_TO_PSVCCO_ON
+                * 13 - PS_DIMM_SUSPEND_EN
+                * 14 - PS_DDR4_VTERM_EN
+                * 15 - PS_DDR4_VPP_2V5_EN
+                * 16 - 17 - not connected
+                */
+       };
+
        i2cswitch@75 { /* u60 */
                compatible = "nxp,pca9544";
                #address-cells = <1>;
@@ -271,32 +316,6 @@ drivers/hwmon/pmbus/Makefile:11:obj-$(CONFIG_SENSORS_MAX20751)  += max20751.o
                /* Bus 3 is not connected */
        };
 
-       tca6416_u61: gpio@20 {
-               compatible = "ti,tca6416";
-               reg = <0x20>;
-               gpio-controller;
-               #gpio-cells = <2>;
-               /* IRQ not connected */
-       };
-
-       tca6416_u97: gpio@21 {
-               compatible = "ti,tca6416";
-               reg = <0x21>;
-               gpio-controller;
-               #gpio-cells = <2>;
-               /*
-                * IRQ not connected
-                * Lines:
-                * 0 - PS_GTR_LAN_SEL0
-                * 1 - PS_GTR_LAN_SEL1
-                * 2 - PS_GTR_LAN_SEL2
-                * 3 - PS_GTR_LAN_SEL3
-                * 4 - PCI_CLK_DIR_SEL
-                * 5 - IIC_MUX_RESET_B
-                * 6 - GEM3_EXP_RESET_B
-                * 7 - 17 - not connected
-                */
-       };
        /* FIXME PL connection - u55 , PMOD - j160 */
        /* FIXME MSP430F - u41 - not detected */
 };