]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm64: zynqmp: Fix i2c bus on zcu100-revB
authorMichal Simek <michal.simek@xilinx.com>
Fri, 27 Jan 2017 11:44:15 +0000 (12:44 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 27 Jan 2017 11:51:35 +0000 (12:51 +0100)
zcu100-revB is wiring i2c on i2c1 not on i2c0.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynqmp-zcu100.dts
include/configs/xilinx_zynqmp_zcu100.h

index 761a92586ba495ed2dfeab73a2e4e2046fa31abd..c63acb5f5782bb2b13920060258d44e3a3701d11 100644 (file)
@@ -23,7 +23,7 @@
 
        aliases {
                gpio0 = &gpio;
-               i2c0 = &i2c0;
+               i2c0 = &i2c1;
                rtc0 = &rtc;
                serial0 = &uart1;
                serial1 = &dcc;
        status = "okay";
 };
 
-&i2c0 {
+&i2c1 {
        status = "okay";
        clock-frequency = <100000>;
        i2cswitch@75 { /* u11 */
index 12976a915817190681051b927bde3e224501fa19..556f609f2fc33b6113e11a0460fc6bb3b1821007 100644 (file)
@@ -11,7 +11,7 @@
 #define __CONFIG_ZYNQMP_ZCU100_H
 
 /* FIXME Will go away soon */
-#define CONFIG_ZYNQ_I2C0
+#define CONFIG_ZYNQ_I2C1
 #define CONFIG_SYS_I2C_MAX_HOPS                1
 #define CONFIG_SYS_NUM_I2C_BUSES       9
 #define CONFIG_SYS_I2C_BUSES   { \