ARM: dts: at91: usb_a9g20: add SPI EEPROM

Schematics and board layout indicate that versions with a dataflash
instead of an EEPROM might exist. Let's handle that once we have
hardware to test.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/20250403064336.4846-2-wsa+renesas@sang-engineering.com
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
This commit is contained in:
Wolfram Sang 2025-04-03 08:43:37 +02:00 committed by Claudiu Beznea
parent 0af2f6be1b
commit 6f7549bdb9

View File

@ -11,3 +11,17 @@ / {
model = "Calao USB A9G20";
compatible = "calao,usb-a9g20", "atmel,at91sam9g20", "atmel,at91sam9";
};
&spi0 {
cs-gpios = <&pioC 11 GPIO_ACTIVE_LOW>;
status = "okay";
/* TODO: Some revisions might have a dataflash here instead of an EEPROM */
eeprom@0 {
compatible = "st,m95640", "atmel,at25";
reg = <0>;
spi-max-frequency = <2000000>;
size = <8192>;
pagesize = <32>;
address-width = <16>;
};
};