diff options
author | Josua Mayer <josua@solid-run.com> | 2024-02-02 16:13:32 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2024-03-05 08:27:59 +0100 |
commit | 52f7530e2d0f432d6978affc12732c756b522b85 (patch) | |
tree | 352bc9e37e1d2d5eea375c8139399ff28e219308 | |
parent | f56591d326f11b35321c19495bf97049fd26fd8c (diff) | |
download | u-boot-52f7530e2d0f432d6978affc12732c756b522b85.zip u-boot-52f7530e2d0f432d6978affc12732c756b522b85.tar.gz u-boot-52f7530e2d0f432d6978affc12732c756b522b85.tar.bz2 |
arm: dts: armada-38x-solidrun-microsom: configure i2c0 bus
SolidRun Armada-388 SoM has an i2c bus supporting on-som eeprom, and
peripherals on a carrier.
armada-38x.dtsi disables this bus by default, it should be enabled by
som or carrier dts.
Linux has moved i2c0 from helios-4 board dts to som dtsi, including
status, pinctrl and clock speed.
Copy these settings from mainline.
This fixes accessing i2c bus from u-boot commandline.
Signed-off-by: Josua Mayer <josua@solid-run.com>
-rw-r--r-- | arch/arm/dts/armada-38x-solidrun-microsom.dtsi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/dts/armada-38x-solidrun-microsom.dtsi b/arch/arm/dts/armada-38x-solidrun-microsom.dtsi index f6ae784..1540162 100644 --- a/arch/arm/dts/armada-38x-solidrun-microsom.dtsi +++ b/arch/arm/dts/armada-38x-solidrun-microsom.dtsi @@ -99,6 +99,11 @@ }; &i2c0 { + clock-frequency = <400000>; + pinctrl-0 = <&i2c0_pins>; + pinctrl-names = "default"; + status = "okay"; + eeprom@53 { compatible = "atmel,24c02"; reg = <0x53>; |