summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugen Hristev <eugen.hristev@microchip.com>2022-06-07 12:04:54 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-07-12 16:42:21 +0200
commitcd95a6e14e0bcc026956bba7fb6e7c9ef1753501 (patch)
tree6fe3996c0883a0715ebd95161ce0c7c955cd9eaa
parenta2c2989a100d71fa4128c9508688fc784332dd91 (diff)
downloadlinux-cd95a6e14e0bcc026956bba7fb6e7c9ef1753501.tar.gz
linux-cd95a6e14e0bcc026956bba7fb6e7c9ef1753501.tar.bz2
linux-cd95a6e14e0bcc026956bba7fb6e7c9ef1753501.zip
ARM: dts: at91: sam9x60ek: fix eeprom compatible and size
[ Upstream commit f2cbbc3f926316ccf8ef9363d8a60c1110afc1c7 ] The board has a microchip 24aa025e48 eeprom, which is a 2 Kbits memory, so it's compatible with at24c02 not at24c32. Also the size property is wrong, it's not 128 bytes, but 256 bytes. Thus removing and leaving it to the default (256). Fixes: 1e5f532c27371 ("ARM: dts: at91: sam9x60: add device tree for soc and board") Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com> Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com> Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Link: https://lore.kernel.org/r/20220607090455.80433-1-eugen.hristev@microchip.com Signed-off-by: Sasha Levin <sashal@kernel.org>
-rw-r--r--arch/arm/boot/dts/at91-sam9x60ek.dts3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/at91-sam9x60ek.dts b/arch/arm/boot/dts/at91-sam9x60ek.dts
index 7719ea3d4933..81ccb0636a00 100644
--- a/arch/arm/boot/dts/at91-sam9x60ek.dts
+++ b/arch/arm/boot/dts/at91-sam9x60ek.dts
@@ -233,10 +233,9 @@
status = "okay";
eeprom@53 {
- compatible = "atmel,24c32";
+ compatible = "atmel,24c02";
reg = <0x53>;
pagesize = <16>;
- size = <128>;
status = "okay";
};
};