Skip to content

Commit

Permalink
arm64: dts: ls1046a: fix eeprom entries
Browse files Browse the repository at this point in the history
[ 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>
  • Loading branch information
Raag Jadav authored and gregkh committed Sep 18, 2021
1 parent 853c592 commit 2225332
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
8 changes: 1 addition & 7 deletions arch/arm64/boot/dts/freescale/fsl-ls1046a-frwy.dts
Expand Up @@ -83,15 +83,9 @@
};

eeprom@52 {
compatible = "atmel,24c512";
compatible = "onnn,cat24c04", "atmel,24c04";
reg = <0x52>;
};

eeprom@53 {
compatible = "atmel,24c512";
reg = <0x53>;
};

};
};
};
Expand Down
7 changes: 1 addition & 6 deletions arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts
Expand Up @@ -59,14 +59,9 @@
};

eeprom@52 {
compatible = "atmel,24c512";
compatible = "onnn,cat24c05", "atmel,24c04";
reg = <0x52>;
};

eeprom@53 {
compatible = "atmel,24c512";
reg = <0x53>;
};
};

&i2c3 {
Expand Down

0 comments on commit 2225332

Please sign in to comment.