Hi I have nvram compatible = "everspin,mr25h40"; for imx6q board .In the uboot 2020 i have configured the pad setting in board file like below :-
So please help me to how to configure in uboot 2024 dts so that my mram probe happens and works, i have tried using gpio also as a chip select still faced same issue.
Hello,
Please try to change the compatible property with:
compatible = "everspin,mr25h40",
Regarding max frequency, please note that the SPI subsystem just can divide the clock in integers.
For example, in this case the clock used by SPI is 80MHz, so, dividing by:
80/1 = 80MHz
80/2 = 40MHz
80/3 = 26.66MHz
80/4 = 20MHz
The driver proximate the configured clock on the command with its divider and will not get exactly 30MHz but is under the 40MHz supported by your device.
Try to use GPIO as a chip select considering above.
Could you please share the kconfig options that you are using for U-boot?
Best regards.
Hello,
Thank you for the information, I do not see issues in your kconfig options.
If you do not need a custom driver, you can take a look in this device tree configuration:
Best regards.
Hi JorgeCas ,
I have attached the defconfig below please review and guide any changes needed