]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
microchipsw: lan969x: tactical-1000: fix SFP I2C buses 22389/head
authorRobert Marko <robert.marko@sartura.hr>
Thu, 12 Mar 2026 10:05:40 +0000 (11:05 +0100)
committerRobert Marko <robert.marko@sartura.hr>
Thu, 12 Mar 2026 10:05:40 +0000 (11:05 +0100)
SFP I2C buses for ports 1 and 3 were swapped as order changed on production
boards.

So, swap them around to fix SFP 1 and 3 failed to read EEPROM errors.

Fixes: 29b3d929a610 ("microchipsw: lan969x: add Novarq Tactical 1000")
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
target/linux/microchipsw/dts/lan9696-tactical-1000.dts

index 4aeadc7fd2262b0722c12bf572ec0794163d2b4b..6f70b3d5e1d7ea3a15ad9cb86fd55107d66e2867 100644 (file)
@@ -58,7 +58,7 @@
                            <&sgpio_out 0 3 GPIO_ACTIVE_HIGH>;
                settle-time-us = <100>;
 
-               i2c_sfp0: i2c@0 {
+               i2c_sfp2: i2c@0 {
                        reg = <0x0>;
                };
 
@@ -66,7 +66,7 @@
                        reg = <0x1>;
                };
 
-               i2c_sfp2: i2c@2 {
+               i2c_sfp0: i2c@2 {
                        reg = <0x2>;
                };