arm64: dts: ls1028a: sl28: fix on-board EEPROMS
authorMichael Walle <michael@walle.cc>
Wed, 11 Mar 2020 07:49:27 +0000 (08:49 +0100)
committerShawn Guo <shawnguo@kernel.org>
Mon, 16 Mar 2020 08:16:00 +0000 (16:16 +0800)
The module itself has another EEPROM at 50h on I2C4. The EEPROM on the
carriers is located at 57h on I2C3. Fix that in the device trees.

Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-kbox-a-230-ls.dts
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts
arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts

index aaf3c04..32f6c80 100644 (file)
                     "kontron,sl28", "fsl,ls1028a";
 };
 
-&i2c4 {
-       eeprom@50 {
+&i2c3 {
+       eeprom@57 {
                compatible = "atmel,24c32";
-               reg = <0x50>;
+               reg = <0x57>;
                pagesize = <32>;
        };
 };
index 7aee141..0973a6a 100644 (file)
        };
 };
 
+&i2c3 {
+       eeprom@57 {
+               compatible = "atmel,24c64";
+               reg = <0x57>;
+               pagesize = <32>;
+       };
+};
+
 &i2c4 {
        status = "okay";
 
                assigned-clocks = <&mclk>;
                assigned-clock-rates = <1250000>;
        };
-
-       eeprom@50 {
-               compatible = "atmel,24c32";
-               reg = <0x50>;
-               pagesize = <32>;
-       };
 };
 
 &sai5 {
index 58603bc..1648a04 100644 (file)
 
 &i2c4 {
        status = "okay";
+
+       eeprom@50 {
+               compatible = "atmel,24c32";
+               reg = <0x50>;
+               pagesize = <32>;
+       };
 };