Skip to content

Commit 27e8bc1

Browse files
raagjadavgregkh
authored andcommitted
arm64: dts: ls1046a: fix eeprom entries
[ Upstream commit c1a6018 ] ls1046afrwy and ls1046ardb boards have CAT24C04[1] and CAT24C05[2] eeproms respectively. Both are 4Kb (512 bytes) in size, and compatible with AT24C04[3]. Remove multi-address entries, as both the boards have a single chip each. [1] https://www.onsemi.com/pdf/datasheet/cat24c01-d.pdf [2] https://www.onsemi.com/pdf/datasheet/cat24c03-d.pdf [3] https://ww1.microchip.com/downloads/en/DeviceDoc/doc0180.pdf Signed-off-by: Raag Jadav <raagjadav@gmail.com> Acked-by: Li Yang <leoyang.li@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent aa06cfc commit 27e8bc1

2 files changed

Lines changed: 2 additions & 13 deletions

File tree

‎arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy.dts‎

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,9 @@
8383
};
8484

8585
eeprom@52 {
86-
compatible = "atmel,24c512";
86+
compatible = "onnn,cat24c04", "atmel,24c04";
8787
reg = <0x52>;
8888
};
89-
90-
eeprom@53 {
91-
compatible = "atmel,24c512";
92-
reg = <0x53>;
93-
};
94-
9589
};
9690
};
9791
};

‎arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,9 @@
5858
};
5959

6060
eeprom@52 {
61-
compatible = "atmel,24c512";
61+
compatible = "onnn,cat24c05", "atmel,24c04";
6262
reg = <0x52>;
6363
};
64-
65-
eeprom@53 {
66-
compatible = "atmel,24c512";
67-
reg = <0x53>;
68-
};
6964
};
7065

7166
&i2c3 {

0 commit comments

Comments
 (0)