Skip to contentSkip to conversation

arm64: dts: socfpga: stratix10: fix i2c node for emmc and nand card

PATCH New Dinh Nguyen 1 participant 1 message Oct 29

Subsystems (3)
lore
Share & tools
lore

Dinh Nguyen

author maintainer
#0 lore raw

PATCH 1/1 arm64: dts: socfpga: stratix10: fix i2c node for emmc and nand card

The eMMC and NAND daughter card uses the I2C1 node and not the I2C2.

Fixes 4bc04eb90b7c ("arm64: dts: socfpga: stratix10: Add emmc support")
Fixes 3c0f3b8545e7 ("arm64: dts: add NAND board files for Stratix10 and Agilex")
---
 arch/arm64/boot/dts/altera/socfpga_stratix10_socdk_emmc.dts | 2 +-
 arch/arm64/boot/dts/altera/socfpga_stratix10_socdk_nand.dts | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
arch/arm64/boot/dts/altera/socfpga_stratix10_socdk_emmc.dts +1 -1
index b2a3449638dd3..bda2fe059beba 100644
@@ -51,7 +51,7 @@ &mmc {
 	clk-phase-sd-hs = <0>, <135>;
 };
 
-&i2c2 {
+&i2c1 {
 	status = "okay";
 	clock-frequency = <100000>;
 	i2c-sda-falling-time-ns = <890>;  /* hcnt */
arch/arm64/boot/dts/altera/socfpga_stratix10_socdk_nand.dts +1 -1
index 7951ce46ae1f6..a450c42a6b35f 100644
@@ -124,7 +124,7 @@ &watchdog0 {
 	status = "okay";
 };
 
-&i2c2 {
+&i2c1 {
 	status = "okay";
 	clock-frequency = <100000>;
 	i2c-sda-falling-time-ns = <890>;  /* hcnt */
Signature · 1 line
2.42.0.411.g813d9a9188