ARM: rmobile: alt: Fix I2C bus number
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sat, 30 Mar 2019 07:24:19 +0000 (08:24 +0100)
committerMarek Vasut <marex@denx.de>
Sat, 30 Mar 2019 07:28:25 +0000 (08:28 +0100)
The I2C bus number to access the PMIC is I2C 7, fix this.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
board/renesas/alt/alt.c

index 7b8500020314373f0cf1c035d73b9073669e09a9..0726776a573fe6beeb979124090f37aa84ed838b 100644 (file)
@@ -107,7 +107,7 @@ int board_phy_config(struct phy_device *phydev)
 void reset_cpu(ulong addr)
 {
        struct udevice *dev;
-       const u8 pmic_bus = 1;
+       const u8 pmic_bus = 7;
        const u8 pmic_addr = 0x58;
        u8 data;
        int ret;