Hello Fabio,
Thank you for the very helpful answers.
My question is more of a general, not specific to a board or u-boot version.
I try to understand the rule for configuring device tree flash:
There are 2 fields :
"reg" - cs number
"cs-gpios" - gpio number
I try to understand how to set these numbers, and how they match reference manual, i.e. if reg is X, and gpio is Y, I try to find it in the reference manual and see that it shows that the gpios and cs number are pointing to the same pin (CS X and GPIO Y are the same according to table 4.1.1).
When checking the various *dts examples in mainline with imx, I did not find match with imx reference datasheet (4.1.1 pin assigenemnt) table.
Can you please provide a single example with reg, and cs-gpios, which shows that they match the reference manual.
Thank you very much for your time,
ran