ARM: dts: rmobile: Activate I2C7 on Alt
PATCH 1/2 ARM: dts: rmobile: Activate I2C7 on Alt
Activate I2C7 on Alt to allow access to the PMIC.
Signed-off-by Marek Vasut <[email protected]>
Cc Nobuhiro Iwamatsu <[email protected]>
--- arch/arm/dts/r8a7794-alt-u-boot.dts | 5 +++++ 1 file changed, 5 insertions(+)
arch/arm/dts/r8a7794-alt-u-boot.dts +5 -0
@@ -8,6 +8,11 @@ #include "r8a7794-alt.dts" #include "r8a7794-u-boot.dtsi" +&i2c7 { + status = "okay"; + clock-frequency = <100000>; +}; + &scif2 { u-boot,dm-pre-reloc; };
Signature · 1 line
2.20.1
PATCH 2/2 ARM: rmobile: alt: Fix I2C bus number
The I2C bus number to access the PMIC is I2C 7, fix this.
Signed-off-by Marek Vasut <[email protected]>
Cc Nobuhiro Iwamatsu <[email protected]>
--- board/renesas/alt/alt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
board/renesas/alt/alt.c +1 -1
@@ -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;
Signature · 1 line
2.20.1